Sumproduct with more than 2 criteria

poolf01

Board Regular
Joined
Apr 24, 2007
Messages
212
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

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
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))
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,423
Members
448,961
Latest member
nzskater

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