Sum Across Worksheets

dwgnome

Active Member
Joined
Dec 18, 2005
Messages
441
Following up on a similar post regarding summing scores across multiple sheets, I need to modify the formula that Aladin was so kind to provide to fit a different summary sheet. This time I need to split out the different skill levels within a category. Aladin used a way to concatenate the category and name to come up with a condition for SUMPRODUCT(SUMIF construct. I tried to make it match to the new format but I keep getting #REF!


See the small example below.

Total YTD2

*ABCDE
7CategoryLevelNameHelper ColumnYTD Points
8CreativeAdvancedJames BrownCA|James Brown#REF!
9CreativeAdvancedBB KingCA|BB King*
10CreativeBasicJerry SeinfeldCB|Jerry Seinfeld*
11*****
12MonochromeMasterTiberias KirkMM|Tiberias Kirk*
13MonochromeMasterLeonard McCoyMM|Leonard McCoy*

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 96px;"><col style="width: 109px;"><col style="width: 113px;"><col style="width: 143px;"><col style="width: 75px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
D8=LEFT(A8,1)&LEFT(B8,1)&"|"&C8
E8=SUMPRODUCT(SUMIF(INDIRECT("'"&ShtList&"'!J9:J120"),D$8,INDIRECT("'"&ShtList&"'!H9:H120")))
D9=LEFT(A9,1)&LEFT(B9,1)&"|"&C9
D10=LEFT(A10,1)&LEFT(B10,1)&"|"&C10
D12=LEFT(A12,1)&LEFT(B12,1)&"|"&C12
D13=LEFT(A13,1)&LEFT(B13,1)&"|"&C13

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4


Feb 2014

*BCDEFGHIJ
8CatCBCreative Projected Basic Entry PointsPlace PointsBest in ShowTotal**
9CBJerry Seinfeld1st Place14*5*CB|Jerry Seinfeld
10*CACreative Projected Advanced*****|CA
11CAJames Brown1st Place14*5*CA|James Brown
12CABB King2nd Place13*4*CA|BB King
13*MMMonochrome Projected Masters*****|MM
14MMTiberias Kirk1st Place24*6*MM|Tiberias Kirk
15MMLeonard McCoy2nd Place13*4*MM|Leonard McCoy

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 32px;"><col style="width: 136px;"><col style="width: 215px;"><col style="width: 110px;"><col style="width: 110px;"><col style="width: 38px;"><col style="width: 89px;"><col style="width: 29px;"><col style="width: 170px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
J9=B9&"|"&C9
J10=B10&"|"&C10
J11=B11&"|"&C11
J12=B12&"|"&C12
J13=B13&"|"&C13
J14=B14&"|"&C14
J15=B15&"|"&C15

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4



ShtList refers to the Sheet names (Jan 2014, Feb 2014 etc.).

Would appreciate the help in modifying the formula. I still use Excel 2003.











 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
See if you can modify this formula for what you want...
=SUMPRODUCT(SUMIF(INDIRECT("'"&BldgTabs&"'!T6:T1000"),C794,INDIRECT("'"&BldgTabs&"'!M6:M1000")))

Create a list of all your sheet names, and give that list a range name (I called it BlgTabs)
 
Upvote 0
Thanks for your input, when I used yours and changed the named and ranges to fit my data and got the same error message. Your formula solution is essentially the same as mine, so I don't see what the difference was.
 
Upvote 0
Hi.

Have you double-checked to make sure that all of the tabs listed in ShtList actually exist?

You can't define it as e.g. {"Jan 2014","Feb 2014","Mar 2014","Apr 2014"} if only say 2 or 3 of those tabs actually exist.

Regards
 
Upvote 0
Thanks for responding. Yes all of the tabs exist. I did notice there is an unexplained difference between the concatenated fields as there seems to be an extra space after the vertical line delimiter.
 
Upvote 0
And you've checked for unwanted extra spacing in all of your data entries?

Regards
 
Upvote 0
Yes I checked that too, no unwanted spaces.
If you want I can post the file for access when I get home from work.
Or private message you the file for your inspection.
 
Upvote 0

Forum statistics

Threads
1,214,938
Messages
6,122,346
Members
449,080
Latest member
Armadillos

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