+ Reply to Thread
Results 1 to 5 of 5

Lookup matched string in ListA in a sentence (in a cell), Return result from ListB

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Kuching, SARAWAK
    MS-Off Ver
    Excel 2010
    Posts
    116

    Lookup matched string in ListA in a sentence (in a cell), Return result from ListB

    Hye Excel Experts,

    I have these namedranges : ListA and ListB

    PHRASE CATEGORY
    insufficient Insufficient Balance
    sufficient Insufficient Balance
    no balance Insufficient Balance
    missing Missing Profile
    not found Missing Profile
    not recognized Missing Profile
    login error System Error
    halt System Error
    corrupted System Error


    ListA is those data under header "PHRASE" while ListB is those data under header "CATEGORY".

    I am trying to categorize the below error descriptions, whereby in every cell, there is a bunch of strings. I need to find the phrase in ListA that matches (no case sensitive) in that bunch of strings and return me the CATEGORY from ListB. Is there any anyone can help me with the formula, pls?

    ERROR DESCRIPTIONS PHRASE (Expected) CATEGORY (Expected)
    Your account doesn't have insufficient balance. insufficient Insufficient Balance
    This account has no balance No balance Insufficient Balance
    Details of this are missing. missing Missing Profile
    System is facing login error. login error System Error
    Customer's balance is not sufficient. sufficient Insufficient Balance
    Red Alert! Halt Error! halt System Error
    The processed file is corrupted. corrupted System Error
    The corrupted config file will be deleted. corrupted System Error
    Cannot found customer's profile not found Missing Profile

    I have tried something like below formula but the result is wrong. Please help.

    =IF(SUMPRODUCT(--ISNUMBER(SEARCH(ListA,$E2)))>0,ListB,"Others")

    Thanks in advance.
    DZ

  2. #2
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Lookup matched string in ListA in a sentence (in a cell), Return result from ListB

    Please find.

    Sorry for sheet name

  3. #3
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Kuching, SARAWAK
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Lookup matched string in ListA in a sentence (in a cell), Return result from ListB

    Quote Originally Posted by shivya View Post
    Please find.

    Sorry for sheet name
    WoW!! You've done MAGIC! tqvm!!

    To utilize this in future, may I know what actually 2^15 represents, please?

    Again, thank you so much for the magic and fast formula!

    DZ

  4. #4
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Lookup matched string in ListA in a sentence (in a cell), Return result from ListB

    Quote Originally Posted by Dahlia View Post
    WoW!! You've done MAGIC! tqvm!!

    To utilize this in future, may I know what actually 2^15 represents, please?

    Again, thank you so much for the magic and fast formula!

    DZ
    2^15 is a random number, if you don't know what you are looking for then you can use this type of series

    Thanks for rept.
    Last edited by shivya; 10-22-2017 at 08:19 AM.

  5. #5
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Kuching, SARAWAK
    MS-Off Ver
    Excel 2010
    Posts
    116

    Re: Lookup matched string in ListA in a sentence (in a cell), Return result from ListB

    Quote Originally Posted by shivya View Post
    2^15 is a random number, if you don't know what you are looking for then you can use this type of series
    Awesome!! Thanks a bunch Shivya! You saved my day!

+ 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. [SOLVED] Counting ListB(records combination) in ListA by formula
    By sandy666 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-21-2015, 03:37 PM
  2. [SOLVED] Return a result for the appearance of a text string in any cell in a row (EXCEL 2010)
    By Jonathan68 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-30-2014, 02:34 PM
  3. Lookup cell value in separate worksheet and return multiple matched values
    By jwhite68 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2007, 12:17 PM
  4. Replies: 0
    Last Post: 11-28-2005, 03:53 AM
  5. proteger formula de una celda de lista creada sin bloquear lista
    By proteger formula de una celda de lista c in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  6. [SOLVED] proteger formula de una celda de lista creada sin bloquear lista
    By proteger formula de una celda de lista c in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. ISNA vlookup return matched result
    By shovelnose in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-09-2005, 08:20 AM

Tags for this Thread

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