+ Reply to Thread
Results 1 to 12 of 12

Match text values between two tables

  1. #1
    Registered User
    Join Date
    09-19-2011
    Location
    londen, engeland
    MS-Off Ver
    Excel 2003
    Posts
    20

    Match text values between two tables

    Hello all!

    I would appreciate your help in the following:

    - I have 2 sheets, each sheet has a number of cells with destination names (cities).
    - 1 sheet has more/other destinations than the second one
    - I want to make a third sheet which compares the 2 sheets, and checks which destinations are the same, and which differ. So basically if I know for example which destinations are not matching in the two sheets. Is this possible?

    Thank you for all your ideas and contributions. Have a great day!

    - Hans

  2. #2
    Forum Contributor
    Join Date
    06-26-2013
    Location
    Makati
    MS-Off Ver
    Excel 2010
    Posts
    138

    Re: Match text values between two tables

    Hi awsz,

    You can use vlookup function to know what are the cities that do not show up in the list with lesser city names from the other sheet.
    If you need help with creating the formula maybe u can attach an workbook with before and the outcome sheet that u want so it will be easier for people to help you.

    Jul

  3. #3
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: Match text values between two tables

    Agreed with Jul Stev. Please attached a sample workbook.

    Post a WORKBOOK
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  4. #4
    Registered User
    Join Date
    09-19-2011
    Location
    londen, engeland
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Match text values between two tables

    Attached, thank you guys.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    06-26-2013
    Location
    LAX
    MS-Off Ver
    Excel 2007,Excel 2010
    Posts
    363

    Re: Match text values between two tables

    As Jul Stev said, vlookup should work.

    type this formula in b2 and drag or just double click the small square in the down right of cell highlight black box

    =IFERROR(IF(VLOOKUP(A2,$C$2:$C$1178,1,FALSE)>0,"YES","NO"),"NO")

    You can definitely simplify this.. But need to know whether this works for you.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Match text values between two tables

    =countif($c$2:$c$1178,a2)>0 ????
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Registered User
    Join Date
    09-19-2011
    Location
    londen, engeland
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Match text values between two tables

    Quote Originally Posted by elayaz View Post
    As Jul Stev said, vlookup should work.

    type this formula in b2 and drag or just double click the small square in the down right of cell highlight black box

    =IFERROR(IF(VLOOKUP(A2,$C$2:$C$1178,1,FALSE)>0,"YES","NO"),"NO")

    You can definitely simplify this.. But need to know whether this works for you.
    Thanks. I tried it (with ; instead of ,) but I'm getting an #NAME? error

  8. #8
    Registered User
    Join Date
    09-19-2011
    Location
    londen, engeland
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Match text values between two tables

    Quote Originally Posted by Fotis1991 View Post
    =countif($c$2:$c$1178,a2)>0 ????
    What do you mean with the question marks?

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Match text values between two tables

    i just ask if my formula works for you!

  10. #10
    Registered User
    Join Date
    09-19-2011
    Location
    londen, engeland
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Match text values between two tables

    Quote Originally Posted by Fotis1991 View Post
    i just ask if my formula works for you!
    Oeps, haha, I copied it along the formula earlier. Looks like you solved both of my questions today, repped for sure. Thanks again Fotis!

  11. #11
    Forum Contributor
    Join Date
    06-26-2013
    Location
    LAX
    MS-Off Ver
    Excel 2007,Excel 2010
    Posts
    363

    Re: Match text values between two tables

    Are you using a non-English excel version?. It works perfect in the attached file.

    See if this helps..
    Attached Files Attached Files

  12. #12
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Match text values between two tables

    ........................

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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