Corey,
Try:
=SUMPRODUCT(ISNUMBER(SEARCH("john smith",A3:A40))+0)
Aladin
=========
Worked like a charm, Thanks.
Hi Aladin,
(Long time, no see.) I tried your formula suggestion and it didn't work per required specs:
A1 contains your formula
A3: john smith john smith john smith
Based on what I read, the answer should be 3. It was only 1.
Hi Kevin,
Happy to see you back.
I read the specs intendedly involving data like
{"John Smith Kevin James John Doe";
"Kevin James Aladin Akyurek";
"John Doe John Smith"}
I thought Corey has one or more names per cell, but never the same name more than once in a single cell.
Applying SEARCH would not do the job if the way you read it would be the case for it can only return a result about the first occurrence of the item of interest, just like the lookup functions.
Aladin