+ Reply to Thread
Results 1 to 3 of 3

Find and return a word, in a list of words, that is in a single cell.

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    Cape Town
    MS-Off Ver
    Excel 2010
    Posts
    13

    Find and return a word, in a list of words, that is in a single cell.

    Hey there.

    I have found similar posts regarding this, but I am struggling with the ending. I have a Cell which contains a full location (Rondebosh Western Cape South Africa). I then have a list of regions (Western Cape)(Northern Cape) etc. I want to look for the regions in the full location and then not return a true or false, but the actual region itself (Western Cape). I hope someone can help me. Thanks so much!!

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Find and return a word, in a list of words, that is in a single cell.

    With your full location in cell A1, and the regions in cells H1:H2 you could use this formula:

    =IFERROR(INDEX(H1:H2,MATCH(TRUE,INDEX(ISNUMBER(FIND(H1:H2,A1)),0),0)),"No match")

    The range H1:H2 can be expanded to however many regions you have.

  3. #3
    Registered User
    Join Date
    03-07-2012
    Location
    Cape Town
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Find and return a word, in a list of words, that is in a single cell.

    Thanks soooo much Andrew!!!! Big help my man!

+ 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