Summary Sheet Problem

cwallace70

Board Regular
Joined
Mar 7, 2011
Messages
172
I have an excel workbook that have 12 monthly tabs and on summary sheet. I need to get a summary for the following:
1. a summary of each agency (1R) in column C of each monthly tab
2. that have a line of business (UL & L99 & L121) in column D ofeach monthly tab
3. That have an amount next to each of theline of business in column E.
Is this possible with Sumproduct without making the formula take a very long time to calculate?
Would it be better to do this as another function such as pivot table or VBA? which I am not to familiar with setting up.

Thanks for your help
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
where SheetList refers to a range that lists the relevant sheet names

you will need to create a list of sheet names
 
Upvote 0
1) on an empty sheet type in the names of your worksheets
2) select the cells you just created
3) select the named box (found next to the formula bar) and type "SheetList"
 
Upvote 0
=SUMPRODUCT(SUMIF(INDIRECT("'"&SheetList&"'!C2:C50"),A10,INDIRECT("'"&SheetList&"'!D2:D50")))

Above isthe formula I am using and I am getting a #NAME? error message.

C2:C50 is the agency I need to calculate the data for (1R) and D2:D50 is the line of business (UL), then I need to add another piece to this formula to pull the dollar amounts in column E.
And If I wanted to include morethan one line of business in a fromula how do I go about doing that. For example if I wanted a sum for UL and L99 in the same formula?

Thanks
 
Upvote 0
1) on an empty sheet type in the names of your worksheets
2) select the cells you just created
3) select the named box (found next to the formula bar) and type "SheetList"

I followed the steps above and All I am getting is zeros. I assume this is because I have not referenced a cell with the actual dollar amount to sum up
 
Upvote 0
#NAME tells me it did not find the "SheetList". If you click on the drop-down of the named range do you see it?
 
Upvote 0
Yes I do see the sheet list names, and I no longer have the #name? error.
I am just getting zeros as the results.

=SUMPRODUCT(SUMIF(INDIRECT("'"&SheetList&"'!C2:C50"),A10,INDIRECT("'"&SheetList&"'!D2:D50")))

Above isthe formula I am using and I am getting all zeros.
C2:C50 is the agency I need to calculate the data for (1R) and D2:D50 is the line of business (UL), then I need to add another piece to this formula to pull the dollar amounts from column E.
And If I wanted to include more than one line of business in a fromula how do I go about doing that. For example if I wanted a sum for UL and L99 in the same formula?
 
Upvote 0

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,949
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top