Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2007

Tip: Looking for answers? Try searching our database.

Find 1st blank cell in column & sum to the same row in another col

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sharon - 07 Mar 2007 01:29 GMT
I am trying to come up with a formula that will accomplish the following.....

I have 2 columns that compare the current year weekly data to prior year's
weekly data.  I need a formula that will sum Column D to same week in Column
B.  Each week, the next row will be updated in Column B and the cells summed
in Column D need to  change to include the next week's data too.  So for the
table below, I would come up with the figure of 350 and the next week when B4
has data input, the total for Column D would be 500.  I am trying to compare
total inventory each week.  The cells in Column B with no data are blank.  
Any ideas?
        A                               B                        C          
           D  
1     week ending  1-6-07     150       wek ending  1-7-06         200  
2     week ending  1-13-07   100        week ending  1-14-06     100
3     week ending  1-20-07     75       week ending  1-21-06       50
4     week ending  1-27-07                week ending  1-28-06     150
5     week ending  2-3-07                  week ending 2-4-06        225
6              
Signature

Sharon

Duke Carey - 07 Mar 2007 01:41 GMT
Assuming your data starts in row 2, and that the only entries would be the
numbers you want to sum

=sum(offset(d2,0,0,count(b2:b20),1))

Change B2:B20 so that it includes all the rows of possible weekly data.  Do
not include the row with the sum formula

> I am trying to come up with a formula that will accomplish the following.....
>
[quoted text clipped - 14 lines]
> 5     week ending  2-3-07                  week ending 2-4-06        225
> 6              
T. Valko - 07 Mar 2007 03:00 GMT
Here's the non-volatile version:

=IF(COUNT(B1:B5),SUM(D1:INDEX(D1:D5,COUNT(B1:B5))),0)

Biff

>I am trying to come up with a formula that will accomplish the
>following.....
[quoted text clipped - 20 lines]
> 5     week ending  2-3-07                  week ending 2-4-06        225
> 6
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.