Sum Product for does not match?

Daniellel

Board Regular
Joined
Jun 21, 2011
Messages
242
Hi,

I need a way of doing a sum product for a non match.

i.e.

=((SUMPRODUCT(--('Sheet1'!$N:$N="not Yes"),--('Sheet1'!$N:$N="not No"),--('Sheet1'!$N:$N="not Sometimes"))))

The cells in column "N" can say up to 25 different statements but i want to tell it what NOT to count.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Does this work for you?
Code:
=SUMPRODUCT(--('Sheet1'!$N:$N<>"Yes"),--('Sheet1'!$N:$N<>"No"),--('Sheet1'!$N:$N<>"Sometimes"))
Cindy
 
Upvote 0
This approach should work for you...
=SUMPRODUCT(--(ISERROR(MATCH($N:$N,{"Yes","No","Sometimes"},0))))
 
Upvote 0
Does this work for you?
Code:
=SUMPRODUCT(--('Sheet1'!$N:$N<>"Yes"),--('Sheet1'!$N:$N<>"No"),--('Sheet1'!$N:$N<>"Sometimes"))
Cindy


This works great, but if i want it to tell me how many 'Yes' 'No' and 'Sometimes' there are all together as a whole number???
 
Upvote 0
So...what do you want the result to look like? Do you want all 3 answers (not "Yes", Not "No", and Not "Sometimes") all in the same cell?
Cindy
 
Upvote 0

Forum statistics

Threads
1,224,612
Messages
6,179,890
Members
452,948
Latest member
Dupuhini

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