+ Reply to Thread
Results 1 to 4 of 4

search a column for multiple words

Hybrid View

  1. #1
    Registered User
    Join Date
    06-20-2014
    Location
    California, USA
    MS-Off Ver
    7
    Posts
    2

    search a column for multiple words

    I'm completely new to excel, so I apologize if this is a silly question, but I'm really stuck. I have to search for a list of street names in an excel document every week, and I've been doing it manually and its killing me. Basically there are 200 rows of data and I need to be able to find any row that contains a list of 50 or so street names and remove them. Is there any way for me to search the document and find the street names?

    Thank you!

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: search a column for multiple words

    With
    A1: containing a string...
    Examples:
    This is my baseball
    Those are your baseballs
    What is a base ball
    A frisbee is not a base ball

    and this list in C1:C2
    baseball
    frisbee

    These regular formulas return TRUE if the referenced cell contains any of the list words
    B1: =ISNUMBER(LOOKUP(10^10,SEARCH(" "&$C$1:$C$2&" "," "&A1&" ")))
    For the above example, these are the results:
    This is my baseball          TRUE
    Those are your baseballs     FALSE
    What is a base ball          FALSE
    A frisbee is not a base ball TRUE
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    06-20-2014
    Location
    California, USA
    MS-Off Ver
    7
    Posts
    2

    Re: search a column for multiple words

    Thank you Ron, that worked perfectly!

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: search a column for multiple words

    Glad you got something you can use!

    Please be sure to mark this thread as SOLVED (from the Thread Tools menu)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Search for multiple words
    By airbender in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-17-2013, 08:18 AM
  2. [SOLVED] Search box in Excel to search key words in sentences in multiple worksheets
    By fernandoii676 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-05-2012, 01:42 PM
  3. Replies: 2
    Last Post: 10-19-2012, 11:11 AM
  4. Search Multiple Words in a Column
    By homebuyinghq in forum Excel General
    Replies: 1
    Last Post: 09-24-2007, 01:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1