countif text formula help

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")
 
D

duane

how about this?

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