Conditional COUNTIF

  • Thread starter Thread starter Sara
  • Start date Start date
S

Sara

What is wrong with this formula

IF(COUNTIF($AQ2:$BB2,OR("ABC","DEF")),"T","F")
 
Try it like this:

=IF(SUM(COUNTIF($AQ2:$BB2,{"ABC","DEF"})),"T","F")
 
Try it like this:

=IF(SUM(COUNTIF($AQ2:$BB2,{"ABC","DEF"})),"T","F")
 
Here's one alternative which serves your underlying intents:
=IF(SUMPRODUCT(--ISNUMBER(MATCH($AQ2:$BB2,{"ABC","DEF"},0))),"T","F")
Success? Pl click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
 
Here's one alternative which serves your underlying intents:
=IF(SUMPRODUCT(--ISNUMBER(MATCH($AQ2:$BB2,{"ABC","DEF"},0))),"T","F")
Success? Pl click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:370 Subscribers:68
xdemechanik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top