Sumifs across multiple sheets

cogswel__cogs

Board Regular
Joined
Jan 3, 2018
Messages
168
Hi,

Need to develop new summary page using sumif or sumifs over multiple sheets.

I have already set up sumif with list of sheets to calculate. (example below)
=SUMPRODUCT(SUMIF(INDIRECT("'"&Z2:Z4&"'!B3:b1000"),A9,INDIRECT("'"&Z2:Z4&"'!G3:G1000")))

This works fine
I could concatenate the 2 columns and use sumif again for the other calculation I was going to do as its only two columns.

I was just wondering can sumifs do similar across tab calculations or is only available for SUMIF?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I wrote a Sumifs fomula using same sumproduct technique and it worked so I guess it is no problem.

Still wondering if processing time wise if since it was only two columns if concatenated sumif would work faster than sumifs statemnet.
 
Upvote 0
I wrote a Sumifs fomula using same sumproduct technique and it worked so I guess it is no problem.


There shouldn't be a problem with that...


=SUMIF(B3:B1000,A9,G3:G1000)

and

=SUMIFS(G3:G1000,B3:B1000,A9)

are identical, expectedly also performancewise.

Still wondering if processing time wise if since it was only two columns if concatenated sumif would work faster than sumifs statemnet.

Sometimes it's a good practice to trade off memory against speed. Concatenated ranges have this effect.
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,552
Members
449,088
Latest member
davidcom

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