Sumproduct Query with "{ }"

mart_mrexcel

Active Member
Joined
Aug 23, 2008
Messages
310
Office Version
  1. 365
Platform
  1. Windows
Why iam getting #N/A error in my formula IF I put more than 2 criteria in "{}"?

SUMPRODUCT((WageReporter_CC=A5)*(WageReporter_EmpType={"A","C"})*(WageReporter_ManpowerCateg={"A1","A2","C1"})*(WageReporter_Code={1007,1006})*(WageReporter_Amount)
 

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
Try replacing this:
WageReporter_ManpowerCateg={"A1","A2","C1"}
with this:
ISNUMBER(MATCH(WageReporter_ManpowerCateg,={"A1","A2","C1"},0))
 
Upvote 0
Try replacing this:
WageReporter_ManpowerCateg={"A1","A2","C1"}
with this:
ISNUMBER(MATCH(WageReporter_ManpowerCateg,={"A1","A2","C1"},0))

I'm getting an error might because of the "," before the "=", but when I removed it, its still giving me #N/A
 
Upvote 0

Forum statistics

Threads
1,224,830
Messages
6,181,227
Members
453,025
Latest member
Hannah_Pham93

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