# Sumproduct with more than 2 criteria

#### poolf01

##### Board Regular
Hi,

I have been looking at the message board and have come across some really useful tips. Great Stuff! I've managed to adapt a formula to search for multiple criteria, but the formula is not bring back the correct results. Formula looks like this :

=SUMPRODUCT((A3:A65536="1")*(E3:E65536="ISL")*(D3:D65536="ANOTHER")*(B3:B65536="2006")*(F3:F65536))

so,
If Column A contains 1 and Column E contains ISL and Column D contains ANOTHER and Column B contains 2006, bring back total number of hours (i.e. sum column F). The correct answer should be 63, but this formula brings back 0

Any ideas? Is it that you can't select so much search criteria in this particular formula structure?

Thanks

### Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Hi

If the numbers in column A and B are genuine numerics rather than text, then you don't need the "" around them ie

=SUMPRODUCT((A3:A65536=1)*(E3:E65536="ISL")*(D3:D65536="ANOTHER")*(B3:B65536=2006)*(F3:F65536))

Replies
12
Views
1K
Replies
9
Views
605
Replies
0
Views
404
Replies
1
Views
308
Replies
13
Views
2K

1,219,579
Messages
6,149,099
Members
450,859
Latest member
njaitley

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