SUMPRODUCT with OR function

The_Rock

Board Regular
Joined
Jul 2, 2007
Messages
174
Hi Guys
I've got a sumproduct formula, and saw from another post how to add in an OR function.
Its working but what I need it to do is to exclude if it meets the OR function:

=SUMPRODUCT((rABReseller="Non-AB Reseller")*(EPP_Rev_Strm="New Lic")*(EPP_PA="PA")*(ISNUMBER(MATCH(N10:N54,{"Unassigned","To Be Assigned"})))*EM_PP)

So in the above, if it is "Unassigned" or "To Be Assigned", it should be excluded from the calculation.

Ta
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
What OR function?

I don't see one in the formula you've posted.:)
 
Upvote 0
I suppose you could say that's a sort of OR but not quite.

I think the best thing might be to tell us what you want to do in words.

You've posted rather a complicated, for me anyway, formula but not much explanation.:)
 
Upvote 0
No worries, basically, I want to total the revenue based on 4 criteria.

Criteria 1 is where the range: rABReseller="Non-AB Reseller"
Criteria 2 is where the range: EPP_Rev_Strm="New Lic"
Criteria 3 is where the range: EPP_PA="PA"
Criteria 4 is where the range: N10:N54 <> "Unassigned" OR "To Be Assigned"

Sums up the values in the range: EM_PP

Hope that helps.
 
Upvote 0
Do the {} mean not contained in? When testing this formula with my data it seems that it counts any instance of the text within the brackets...
 
Upvote 0
Exactly, at the moment it counts that text. I want it to exclude that text from the calculation.

I'm not sure what it means. I've posted a link in the email history from where I got the {}.
 
Upvote 0
You forgot to put the ,0 fomula should read =SUMPRODUCT((rABReseller="Non-AB Reseller")*(EPP_Rev_Strm="New Lic")*(EPP_PA="PA")*(ISNUMBER(MATCH(N10:N54,{"Unassigned","To Be Assigned"},0)))*EM_PP)
 
Last edited:
Upvote 0
I presume you're refering to the link - I know thats what he wanted. I want to modify my formula to exclude based on an 'OR' function.
The formula I used was for guidance. If it can be re-written another way, please amend as necessary.

Thanks
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,434
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