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.











 
I think it may be a case where seeing the actual workbook is necessary, yes.

Regards
 
Upvote 0

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Yes I checked that too, no unwanted spaces.

I don't understand - how did you do your checks? "Linda Brown" in cell C8 of the Total YTD2 tab, for example, contains a single preceding space, as is easily verified by simply clicking in the cell.

Regards
 
Upvote 0
That formula relies on a named range containing the sheet names, to work.

1. Did you create a list (somewhere) containing all your sheet names (make sure the names in the list are identical to your actual sheet names)
2. Give that list a range name (I called it BldgTabs)
3. The ranges in that formula are actually text, so you will need to adjust them by re-typing the range, rather than using the mouse
4. If you change the ranges, make sure they are all the same size (same numbwer of rows etc)

=SUMPRODUCT(SUMIF(INDIRECT("'"&BldgTabs&"'!T6:T1000"),C794,INDIRECT("'"&BldgTabs&"'!M6:M1000")))
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,937
Members
449,196
Latest member
Maxkapoor

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