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 / June 2006

Tip: Looking for answers? Try searching our database.

summing columns if there is data

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 22 Jun 2006 18:07 GMT
For each month of the year, I have a budget column with sales and cost data
(e.g. in column B) and then next to that I have a column where the actual
data goes when the data is available.

                    Col B                 Col C               Col D            
 Col E
                          1m Budget        1m Actual       2m Budget     2m
Actual
               
Row7 Sales    $100           $110                  $105       
               
Row9 Labor Cost    $40             $55                   $60       

I want to be set up a formulae to be able to sum the data for all 12 months
for each row using the budget data, but as the actual data gets filled in and
becomes available I want the actual data to be used instead of the budget
data for that month so the total year forecast becomes a combination of
actual data and budget.

For example the original forecast for sales would have been 100 (month 1
budget) + 105 (month 2 budget) = 205 but now the revised sales forecast is
110 (actual month1) + 105 (month 2 budget) = 215. The data runs from column B
through to Y.

Do I use a sumif if a value is in the actual columns and how does this get
set up to check the actuals automatically and sum them instead of the budget
columns to the left if they exist.

Many Thanks!
 
Franz Verga - 22 Jun 2006 19:05 GMT
Nel post news:A4980AFF-275A-41EA-AE04-F484BA4120C5@microsoft.com
*Dave* ha scritto:

> For each month of the year, I have a budget column with sales and
> cost data (e.g. in column B) and then next to that I have a column
[quoted text clipped - 25 lines]
>
> Many Thanks!

Hi Dave,

Try with this formula (I used just 3 months, but you can extend to 12
months):

=SUM(IF(C4,C4,B4),IF(E4,E4,D4),IF(G4,G4,F4))

where columns B, D and F are for budget data while C, E and G are fo actual
data.

Signature

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy

Dave - 22 Jun 2006 20:04 GMT
Franz, it works like a charm. thanks!

> Nel post news:A4980AFF-275A-41EA-AE04-F484BA4120C5@microsoft.com
>  *Dave* ha scritto:
[quoted text clipped - 38 lines]
> where columns B, D and F are for budget data while C, E and G are fo actual
> data.
 
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.