+ Reply to Thread
Results 1 to 7 of 7

Compare text strings in two columns and return text from adjacent cell

  1. #1
    Registered User
    Join Date
    02-28-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Compare text strings in two columns and return text from adjacent cell

    how to Chk the text string in particular cell, compare it with a super set column and get the full from of the text string from another corresponsing column and the output will be corresponsing full form of the chked text string?

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Compare text strings in two columns and return text from adjacent cell

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    02-28-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Compare text strings in two columns and return text from adjacent cell

    Sample Work Sheet.xlsx sample work sheet Attachment 217304

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Compare text strings in two columns and return text from adjacent cell

    Try the VLOOKUP function

  5. #5
    Registered User
    Join Date
    02-28-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Compare text strings in two columns and return text from adjacent cell

    tried but not able to implement it properly. any suggestion

  6. #6
    Registered User
    Join Date
    02-28-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Compare text strings in two columns and return text from adjacent cell

    error, it is showing #N/A. =VLOOKUP($C1,$A$1:$B$250,2,FALSE)
    Sample Work Sheet.xlsx

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Compare text strings in two columns and return text from adjacent cell

    That is because some strings in col A have a space at the end ( use the LEN function to verify this f.i. with "JP"
    Try
    Please Login or Register  to view this content.

+ 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