Solved

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

Posted on 2016-10-02
4
40 Views
Last Modified: 2016-10-02
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
0
Comment
Question by:rkckjk
  • 2
4 Comments
 
LVL 50

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 41825866
Hi,

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

Open in new window

Regards
0
 
LVL 30

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41825886
Please refer to the attached and see if this is what you were trying to achieve.
test-v2.xlsm
0
 
LVL 2

Author Closing Comment

by:rkckjk
ID: 41825888
thanks
0
 
LVL 30

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41825892
@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

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question