Sum across muiltiple sheets only when crieria met

Phil Payne

Board Regular
Joined
May 17, 2013
Messages
131
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I've tried if, sumif, sumproduct, indirect etc and cannot find a way to do this i hope someone can help me.

My Summary sheet contains a cell with the following formula =SUM(Abe:Wyn!I7) (where Abe:Wyn = 218 worksheets and identically formatted)

This has worked well but now I need to ignore certain of the sheets between Abe and Wyn and cannot remove or reorder them.

My chosen way of doing this was to look for the contents of a particular cell on my Summary sheet in the same cell on each of the 218 sheets and if found sum values of other cells (I7) to total.

I want to =SUM(Abe:Wyn!I7) but only if Abe:Wyn cells C7 equals C7 on my summary sheet.

Can anyone help please?

Thanks
 
Hello XOR,

Brilliant. Thanks

Very glad you mentioned the 'orthogonal' rule as it didn't work at first.

All the best.
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,216,182
Messages
6,129,357
Members
449,506
Latest member
nomvula

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