Sumproduct #value error with more than two search terms

TMCINNIS

New Member
Joined
Aug 26, 2015
Messages
29
This formula works fine when I have two search terms. But when I add a third search term, I get a #value error. Any help is much appreciated.

Good one:
=SUMPRODUCT(('REPORT'!$C$67:$C$100000="MICROSITE")*(MMULT(0+ISNUMBER(SEARCH({"air-conditioning","cooling"},'REPORT'!$E$67:E$100000)),{1;1})>0),'REPORT'!$F$67:F$100000)

Returns #value error
=SUMPRODUCT(('REPORT'!$C$67:$C$100000="MICROSITE")*(MMULT(0+ISNUMBER(SEARCH({"air-conditioning","cooling","heating"},'REPORT'!$E$67:E$100000)),{1;1})>0),'REPORT'!$F$67:F$100000)

Returns #value error
=SUMPRODUCT(('REPORT'!$C$67:$C$100000="MICROSITE")*(MMULT(0+ISNUMBER(SEARCH({"air-conditioning","cooling","heating" ,"heat-pump"},'REPORT'!$E$67:E$100000)),{1;1})>0),'REPORT'!$F$67:F$100000)
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
=SUMPRODUCT(('REPORT'!$C$67:$C$100000="MICROSITE")*(MMULT(0+ISNUMBER(SEARCH({"air-conditioning","cooling","heating"},'REPORT'!$E$67:E$100000)),{1;1;1})>0),'REPORT'!$F$67:F$100000)

do anything?

Not sure you need mmult and this might also work with sumifs
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,561
Messages
6,125,538
Members
449,236
Latest member
Afua

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