Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Summing multiple departments

Hi there,

I have a problem where I have to report from a central database the
department and cost centres of each. the reporting format that I require is
like this:


Head Office
Actual Budget Varience
Accounts
Legal
HR

Basingstoke
Actual Budget
Varience
Accounts
Legal
HR

Plymouth
Actual Budget
Varience
Accounts
Legal
HR

etc etc

the Budget and Varences are already filled from existing information.
However I need to draw from a database the seperate Cost Centre costs by
Department and the database looks like:

DATE, DEPARTMENT,COSTCENTRE,ACTUAL e.g.
12/10/08, Basingstoke, Accounts, 1200
13/10/08, Head Office, Accounts, 500
14/10/08, Basingstoke, HR, 250

And I need to sum the "Actuals" into the relevant Dept Cost centres as
above. I can do it with a Pivot table but then it doesn't match to the
Budgets already there.

Does anyone have an idea what I am talking about :) and if so can you help?

Cheers

Cam



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default Summing multiple departments

Sounds like you want a SUMPRODUCT

So, for Basingstoke Accounts, let's assume the name Basingstoke is in cell
A7 and Accounts is in A10.
Let's also assume your data is in Sheet2 and values are in A - D

you can do..

=SUMPRODUCT(--(Sheet2!B2:B10000=A7),--(Sheet2!C2:C10000=A10),D2:D10000)

Which will sum all actuals where Center is Basingstoke and CostCentre is
accounts.

Should be able to get all your other actuals by just tweaking the above
formula to fit your actual cells.

"Campbell" wrote:

Hi there,

I have a problem where I have to report from a central database the
department and cost centres of each. the reporting format that I require is
like this:


Head Office
Actual Budget Varience
Accounts
Legal
HR

Basingstoke
Actual Budget
Varience
Accounts
Legal
HR

Plymouth
Actual Budget
Varience
Accounts
Legal
HR

etc etc

the Budget and Varences are already filled from existing information.
However I need to draw from a database the seperate Cost Centre costs by
Department and the database looks like:

DATE, DEPARTMENT,COSTCENTRE,ACTUAL e.g.
12/10/08, Basingstoke, Accounts, 1200
13/10/08, Head Office, Accounts, 500
14/10/08, Basingstoke, HR, 250

And I need to sum the "Actuals" into the relevant Dept Cost centres as
above. I can do it with a Pivot table but then it doesn't match to the
Budgets already there.

Does anyone have an idea what I am talking about :) and if so can you help?

Cheers

Cam



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summing across multiple worksheets HL Excel Worksheet Functions 3 July 7th 08 09:41 PM
About IF and summing IF over multiple spreadsheets Jane Excel Discussion (Misc queries) 3 February 12th 08 04:56 PM
Departments in one cell jai Excel Discussion (Misc queries) 0 January 25th 08 07:16 PM
Would like a Template to conduct process review for departments David Excel Discussion (Misc queries) 2 May 24th 07 08:31 PM
How to monitor productivity within departments using Microsoft Exc Vicki Excel Worksheet Functions 0 January 26th 05 03:03 PM


All times are GMT +1. The time now is 07:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"