Count or Sumproduct If Meeting In-Cell Specific

jalifid11

Board Regular
Joined
Nov 17, 2006
Messages
168
I have a list

David July 11 Yes
Tony July 16 Yes-Issue
Bobby July 13 No
David July 11 Yes-Issue


What I am trying to do is count David, on July 11, with the "Yes", even the "Yes-Issue"...

I know I can do it by =Countif(c1:C4="Yes*") and that will count the Yes's even if it has "Yes-Issue" in the cell...

But I am trying to do it based on multiple Criteria (ie, David, on July 11, Yes)..

I've tried =Sumproduct(--(A1:A4="David),--(B1:B4="July 11"),--(C1:C4="Yes*")
but the sumproduct isn't look for anything that says "Yes".. it's looking for Yes*.. If I take off the (*) then it only finds 1 Yes...


HELP !!!!
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Maybe this

=SUMPRODUCT(--(A1:A4="David"),--(B1:B4="July 11"),--ISNUMBER(SEARCH("Yes",C1:C4)))

HTH

M.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,853
Members
452,948
Latest member
UsmanAli786

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