Search for different strings in column with many rows...follow up to previous EE question

I have an Excel spreadsheet with over 23500+ rows that I would like to search column "B" for certain strings.

If one of the strings are found that I'm looking for,  then the word "present' would be put in the next column "C" in the same row.

These are the strings I need to look for.
They can either be lower or higher case letters:

restart
Email
IM
call
N/A


When a string is found  in a cell I would like insert  the name of the string in the next column(C).

Example:

Col. A         Col. B                                                           Col. C
any text    Can I call you?                                               call
any text    Send me your email address.                    email

Thanks
LVL 2
Richard KreidlSoftware DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Rgonzo1971Connect With a Mentor Commented:
Hi,

pls try
=INDEX({"call","email","restart","IM"},MATCH(TRUE,ISNUMBER(SEARCH({"call","email","restart","IM"},B2)),0))

Open in new window

Regards
0
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
Please refer to the attached and see if this is what you were trying to achieve.
test-v2.xlsm
0
 
Richard KreidlSoftware DeveloperAuthor Commented:
thanks
0
 
Subodh Tiwari (Neeraj)Excel & VBA ExpertCommented:
@rkckjk
I don't think that the solution offered by Rgonzo will address all your issues you discussed in your previous question.
e.g. the function will return call if the string in B2 contains calling or recall or called which I don't think you want as per the discussion in your previous question.
0
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.