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 / May 2008

Tip: Looking for answers? Try searching our database.

Summarizing data into different worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Liztd - 20 May 2008 18:01 GMT
I need to report figures from different worksheets into a summary tab within
the same workbook (i.e.  data from Jan, Feb, Mar tabs into 1 'Summary' tab).

The figures need to be summed and are dependent on product codes from a
spreadsheet for each month containing data of expenses:

E.g.
Code | Amount
P01   | 100
P02   | 200
P01   | 300

I need to summarise all the P01, P02, amounts into their relevant cells on a
summary worksheet.

E.g.  
PO1  | Jan Amount  | Feb Amount
PO2  | Jan Amount  | Feb Amount

Could anyone please let me know how I can do this?

I've tried SUMIF and populating from a pivot table although the pivot table
contents may change month by month but both of these methods have failed.

With SUMIF it hasn't picked up the Amount column to summarise.
E.g.  SUMIF(Jan_data, "P01", Jan Expenses!D$D)
..where D is the column containing the amounts.

Eventually I might like to add additional conditions to fulfill but for the
moment any sums would be good!

Any ideas would be gratefully appreciated.

Thanks
Liz
vezerid - 20 May 2008 18:39 GMT
Say your summary sheet, B1:M1 contain the names Jan, Feb etc, in
exactly the same manner they appear as sheet names. A2:A101 contain
P01 etc. The amounts to be summed are in column D:D of each sheet. In
B2:

=SUMPRODUCT(INDIRECT("'"&B$1&"'!D2:D101")*(INDIRECT("'"&B$1&"'!
A2:A101")=$A2))

Adjust the A2:A101, D2:D101 to suit.
If your sheets are not called 'Jan' etc but rather 'Jan Expenses' then
modify the formula to:

=SUMPRODUCT(INDIRECT("'"&B$1&" Expenses'!D2:D101")*(INDIRECT("'"&B$1&"
Expenses'!A2:A101")=$A2))

Does this help?
Kostis Vezerides

> I need to report figures from different worksheets into a summary tab within
> the same workbook (i.e.  data from Jan, Feb, Mar tabs into 1 'Summary' tab).
[quoted text clipped - 31 lines]
> Thanks
> Liz
 
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.