Solved

Search cell for multi strings

Posted on 2016-08-18
3
30 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
[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
3 Comments
 
LVL 26

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 26

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

763 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