countif text formula help

  • Thread starter Thread starter JCH
  • Start date Start date
J

JCH

How can count the number of times part of person's name (either first or
last) in cell C84 appears in the range C84:D99? The following formula
doesn't do the trick. Any suggestions?

=COUNTIF(C84:D99,"C65")
 
Hi!

Try this:

=SUMPRODUCT((C84:C99={"John","Smith"})+(D84:D99={"John","Smith"}))

Biff
 
how about this?

=COUNTA($c84:$d$99)-SUMPRODUCT((ISERROR(SEARCH(C65,$c$84:$d$99,1)))*1)+COUNTBLANK($C$84:$D$99)
 

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