+ Reply to Thread
Results 1 to 6 of 6

Lookup for text and return text from the same row

  1. #1
    Registered User
    Join Date
    03-09-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    77

    Lookup for text and return text from the same row

    Seemed simple, thought I could find a solution googling. But couldn't so here I am asking for your help.

    Attached sample document.

    Need to lookup for text in Column B and return it's matching row's Column A text.

    For eg: in Col. C I need the formula.
    Looking for XYZ in Col. B and return ABC from Col. A
    Attached Files Attached Files
    Last edited by TK2013; 11-29-2022 at 12:45 AM. Reason: SOLVED

  2. #2
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,997

    Re: Lookup for text and return text from the same row

    C2=IFERROR(INDEX($A$2:$A$100,MATCH(B2,$B$2:$B$100,0)),"")

    Copy down

  3. #3
    Registered User
    Join Date
    03-09-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Lookup for text and return text from the same row

    I moved the column B to Column A and used VLOOKUP and it works. I guess for now, I am good.

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Lookup for text and return text from the same row

    use index match combination like this

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Happy with my advice? Click on the * reputation button below

  5. #5
    Registered User
    Join Date
    03-09-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Lookup for text and return text from the same row

    Quote Originally Posted by CARACALLA View Post
    C2=IFERROR(INDEX($A$2:$A$100,MATCH(B2,$B$2:$B$100,0)),"")

    Copy down
    Wow! Thank you. It works. Now I don't have to move the column.

  6. #6
    Registered User
    Join Date
    03-09-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Lookup for text and return text from the same row

    Quote Originally Posted by Crooza View Post
    use index match combination like this

    Please Login or Register  to view this content.
    Thank you.

+ 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. Replies: 6
    Last Post: 05-31-2019, 12:39 AM
  2. [SOLVED] 2 cell text lookup in text string to return data from separate column
    By Zivhodiva in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-08-2019, 03:03 PM
  3. Partial lookup from text string, return value from lookup list
    By TotallyLost in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-13-2016, 12:14 PM
  4. Lookup text, return a value
    By cristian.ene in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-06-2016, 08:39 PM
  5. Lookup Text in Table and Return Specified Text Value
    By mlukich in forum Excel General
    Replies: 3
    Last Post: 08-26-2011, 02:26 PM
  6. [SOLVED] lookup a text cell and return text
    By Cristi R in forum Excel General
    Replies: 1
    Last Post: 08-01-2006, 03:15 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