+ Reply to Thread
Results 1 to 5 of 5

Search keyword in description and return value

  1. #1
    Registered User
    Join Date
    12-14-2021
    Location
    Borneo
    MS-Off Ver
    365
    Posts
    3

    Search keyword in description and return value

    Hi,
    I need a formula fix and review, to lookup a value (description) and then return a grouped up value.
    I tried using vlookup & xlookup with wildcard, but the result not what I wanted.

    Based on keyword in G or J, it will return H or K after find it from B.
    It seems able to return a value if the B is 1 word. My sample excel as attached.

    sample.xlsx

    Capture.PNG

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,465

    Re: Search keyword in description and return value

    Welcome to the forum.

    We may need more details, but let us know how much this helps - in D2 copied down:

    =IFERROR(LOOKUP(99999,SEARCH(issue[Keywords],incident[@[Short Desc]]),issue[Grouped Issue]),"Others")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-14-2021
    Location
    Borneo
    MS-Off Ver
    365
    Posts
    3

    Re: Search keyword in description and return value

    It works!
    I'm more curious what the 99999 actually stand for, if you won't mind explaining. If this is something I can trial and error later on.

    Thanks.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,465

    Re: Search keyword in description and return value

    It's a trick I've known for a long time, but I am sorry, I cannot explain the mechanics behind it. What I can tell you is this: if you want to make it case-sensitive, then replace SEARCH with FIND. Also, it's a good idea to sort the lookup list alphabetically.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  5. #5
    Registered User
    Join Date
    12-14-2021
    Location
    Borneo
    MS-Off Ver
    365
    Posts
    3

    Re: Search keyword in description and return value

    Thank you for explaining.
    Will do so.

+ 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 a cell for a keyword & return a value
    By Danish Jasnaik in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-19-2019, 07:59 AM
  2. Return values based on keyword search
    By nowilson0818 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-15-2018, 01:00 PM
  3. Replies: 11
    Last Post: 11-02-2017, 11:02 AM
  4. [SOLVED] Search for the keyword with and condition and return to the different sheet within excel
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-18-2014, 11:05 AM
  5. Replies: 6
    Last Post: 03-18-2014, 11:16 AM
  6. Compare description to a set of keyword lists and return a 3 value
    By smschneid in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2012, 03:28 PM
  7. [SOLVED] Help text keyword search return category type
    By frisbie17 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-27-2012, 06:44 PM

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