Solved

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

Posted on 2016-10-02
4
44 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:Richard Kreidl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 52

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 31

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:Richard Kreidl
ID: 41825888
thanks
0
 
LVL 31

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
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 use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

636 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