CMChalcraft
asked on
Is there a LIKE function in Excel
I have three thousand rows. In one column there is a field that in some instances contains the word "mattress". I want to see how many instances there are.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you. I have used =if(iserror(SEARCH("mattre ss",A1))," No","Yes") .
This is a spreadsheet a colleague has created and he wants to enter 1 or 0 for each matched instance. I have amended the formula to do this.
Very prompt!
Regards
Chris
This is a spreadsheet a colleague has created and he wants to enter 1 or 0 for each matched instance. I have amended the formula to do this.
Very prompt!
Regards
Chris
COUNTIF does the exact same thing, without having to resort to an array formula. Did you even try it?
^ Best solution (COUNTIF). No helper column needed; inserts the total in one cell; ultimately faster than having several thousand individual formulas returning 1 or 0.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
For example:
=COUNTIF(A1:A100,"mattress
=COUNTIF(A1:A100,"*mattres