Using a sub string in a COUNTIF

  • Thread starter Thread starter PeteJ
  • Start date Start date
P

PeteJ

I currently use a COUNTIF to count how many times a name occurs in a range of
cells. That works fine if the cell contains only that string. But how can I
do the COUNTIF if the cell has other text in it as well? For instance, I'm
counting for "Nancy" in the cells, but if the cell contains "Bob and Nancy",
I want to count it as well. I assume I need to use the "SEARCH" or "FIND"
function, but can't figure out what argument to feed it:

=COUNTIF(A1:D15, FIND("Nancy, ?))

Other ideas?

Thanks,

Pete
 

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

Similar Threads

Excel Need Countifs Formula Help 0
Excel Use COUNTIF across a range of cells with formulas 0
Excel Countif cell has diagonal border 6
countifs criteria 4
Countif formula 2
Countif/Vlookup 2
countif when 2 values in a cell 9
COUNTIF Cells in Range? 4

Back
Top