double formula in single cell

I want to add two formulas in an OR type situation.

If a cell contains “New” or “Re”

I use this formula to detect one of the words……

=IF(ISNUMBER(FIND("NEW",C10)),"ok", "Not OK")

I guess what I am looking for is something along the lines of…..

=IF(ISNUMBER(FIND("New" or “Re” ,C10)),"ok", "Not OK")
Who is Participating?
barry houdiniCommented:

=IF(COUNT(FIND({"New","Re"},C10)),"OK","Not OK")

Not that FIND is case-sensitive so if you don't want case sensitivity change to SEARCH, i.e.

=IF(COUNT(SEARCH({"New","Re"},C10)),"OK","Not OK")

regards, barry
Rory ArchibaldCommented:

for example. I changed it to SEARCH in case you didn't want it to be case-sensitive (since you used both upper and lower case in the question!)

GordonMassonAuthor Commented:

Thanks for getting back to me so soon.

Both work for me but since the solution Barry gave me is neater, i have used that.

Thanks again
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.