+ Reply to Thread
Results 1 to 2 of 2

Need to look up cell and spit out specific words

  1. #1
    Registered User
    Join Date
    10-28-2011
    Location
    Glasgow
    MS-Off Ver
    Excel 2003
    Posts
    1

    Need to look up cell and spit out specific words

    Hello!
    I'm trying to look up a column of keywords looking for any term containing specific word e.g. 'suit' and display that keyword in another worksheet with the values for the keyword in the same row next to it.

    I've tried vlookups, match, index etc and they didn't work. I've got a feeling I need to add a couple of formulas together but I'm not sure how to do that.

    Thanks,
    Nick

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Need to look up cell and spit out specific words

    HI,

    in the example in G1 the substring you're asking to search.


    =IF(ISERROR(INDEX(B$2:B$20,SMALL(IF(ISNUMBER(SEARCH($G$1,A$2:A$20)),ROW($A$2:$A$20)-1),ROWS($A$1:$A1)))),"",INDEX(B$2:B$20,SMALL(IF(ISNUMBER(SEARCH($G$1,A$2:A$20)),ROW($A$2:$A$20)-1),ROWS($A$1:$A1))))

    or from Excel 2007

    =IFERROR(INDEX(B$2:B$20,SMALL(IF(ISNUMBER(SEARCH($G$1,A$2:A$20)),ROW($A$2:$A$20)-1),ROWS($A$1:$A1))),"")


    Both formulae are array to be confirmed with control+shift+enter.

    See the attempt attached.

    Regards
    Attached Files Attached Files
    Last edited by canapone; 10-28-2011 at 09:17 AM. Reason: Missed a ";" from Ita settings in traducing the formula

+ 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