Nested countif,or

  • Thread starter Thread starter letsrolldog
  • Start date Start date
L

letsrolldog

I am having trouble writing a nested function. I want a range of cells (A1 to
D1) to be counted if they contain the letter X or C.

Thank you.
 
How about:

=countif(a1:d1,"X")+countif(a1:d1,"C")

Regards,
Fred.
 
One more:

=SUM(COUNTIF(A1:D1,{"X","C"}))

I am having trouble writing a nested function. I want a range of cells (A1 to
D1) to be counted if they contain the letter X or C.

Thank you.
 

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