Counting conditionally

  • Thread starter Thread starter Slim Slender
  • Start date Start date
S

Slim Slender

I have a table with a column that has data like this:
Gov
Br
SAP
Br, SAP
Comp
Br, Gov
Br, SAP
Comp
Br,
SAP

Is there a formula I can put in a cell at the bottom that will count
the occurences of "Br" and return 5 rather than 2? Thanks in advance.
 
=SUMPRODUCT(--ISERROR(SEARCH("br",A1:A10)))

Regards,
Stefi

„Slim Slender†ezt írta:
 
Sorry, this is the right one:
=SUMPRODUCT(--NOT(ISERROR(SEARCH("br",A1:A10))))
stefi


„Slim Slender†ezt írta:
 
Back
Top