Solved

Search cell for multi strings

Posted on 2016-08-18
3
19 Views
Last Modified: 2016-08-18
I need to search cell a2 for the following text

POBO
ROBO
VA
Virtual Accounts

If the cell contains any of those four texts, return "Found"

Many thanks
0
Comment
Question by:Seamus2626
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 500 total points
ID: 41760996
assuming the cell you are looking into is A1 then use the following formula.   it is case sensitive , if you do not want case sensitive then replace FIND with SEARCH

=IF(SUMPRODUCT(--ISNUMBER(FIND({"POBO","ROBO","VA","Virtual","Accounts"},A1)))>0,"Found","Not Found")

not case sensitive then
=IF(SUMPRODUCT(--ISNUMBER(SEARCH({"POBO","ROBO","VA","Virtual","Accounts"},A1)))>0,"Found","Not Found")
0
 

Author Closing Comment

by:Seamus2626
ID: 41761168
Thanks Professor!
0
 
LVL 25

Expert Comment

by:ProfessorJimJam
ID: 41761191
you are welcome seasmus2626. i am glad i was able to help
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now