sumif across sheets sans MoreFunc

Corticus

Well-known Member
Joined
Apr 30, 2002
Messages
1,579
Hi all,

Any suggestion on how to do a SumIf() on multiple sheets (same range). I don't want to use Threed() because it requires MoreFunc which my users will most likely not have.

Here's what the formula should do:
=SUMIF(July:Final!$C$63:$GT$63,"=" & D2,July:Final!$C65:$GT65)

Thanks!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
my formula includes sheets named 1,2,3,etc

=SUMPRODUCT(SUMIF(INDIRECT("'"&ROW(INDIRECT("1:2"))&"'!C63:GT63"),"="&D2,INDIRECT("'"&ROW(INDIRECT("1:2"))&"'!C65:GT65")))

- not tested

Please advise if the formula works in your situation.
 
Upvote 0
Thanks for the reply Dave,

I couldn't get it to work, though. I'm not sure what you're trying to do with the indirect("1:2"). I got a #REF for the formula.

My sheets are name July-June, Pre-Final, Final.

Thanks!
 
Upvote 0
Book2
ABCDEF
1
2July2
3Final345
4
Sheet1


B2:B3 houses the relevant sheet names.

D2 houses the criterion for summing.

D3 houses the formula (sans morefunc) that you need:

=SUMPRODUCT(SUMIF(INDIRECT("'"&$B$2:$B$3&"'!C63:GT63"),D2,INDIRECT("'"&$B$2:$B$3&"'!C65:GT65")))
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,814
Members
452,945
Latest member
Bib195

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