+ Reply to Thread
Results 1 to 3 of 3

Search for strings within a column of cells

  1. #1
    Registered User
    Join Date
    06-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question Search for strings within a column of cells

    I'm trying to determine a way to take a column of data, and search for matching strings within another column of data.

    For example:

    A : B
    Hostname1 : AppX on Hostname4
    Hostname2 : AppX on Hostname3
    Hostname3 : AppX on Hostname1
    Hostname4 : AppX on Hostname2

    So, I want to determine which cells in Column B contain the text in Column A.

    Thanks!

    -Casey

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Search for strings within a column of cells

    Perhaps something like:

    =ISTEXT(LOOKUP(9.9999E+307,SEARCH(" "&$A$1:$A$10&" "," "&B1&" "),$A$1:$A$10))

    adjust ranges to suit...

    This should give TRUE if match found...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-14-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Search for strings within a column of cells

    Beautiful - thank you so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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