# Sumif multiple criteria from different sheets.

#### klatlap

##### Well-known Member
I am following instructions from this website Summing data across multiple criteria on multiple worksheets - Microsoft 365 Blog but i am coming up with an error here is my formula.

=IFERROR(SUMPRODUCT(SUMIFS(INDIRECT(“‘”&Code[System]&”‘!Y:Y"),INDIRECT(“‘”&Code[System]&”‘!V:V”),\$h3,INDIRECT(“‘”&Code[System]&”‘!w:w”),\$l3,INDIRECT(“‘”&Code[System]&”‘!x:x”),\$m3)),)

I have indicated in red where the error is

Here is another code that works fine with a single criteria.
=SUMPRODUCT(SUMIF(INDIRECT("'" & Code & "'!v:v"),H2,INDIRECT("'" & Code & "'!y:y")))

I am using office 2013 if that makes a difference

### Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},\$Z\$1:\$Z\$99,\$Y\$1:\$Y\$99),2,False) to lookup Y values to left of Z values.

#### GlennUK

##### Well-known Member
Why is it Code[System] in one example, and just Code in the other?

Replies
3
Views
603
Replies
4
Views
357
Replies
1
Views
374
Replies
3
Views
280
Replies
2
Views
185

1,127,566
Messages
5,625,535
Members
416,116
Latest member
Joemamasuka

### 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.

### Which adblocker are you using?

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

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