+ Reply to Thread
Results 1 to 8 of 8

Comparing Two Columns

  1. #1
    Registered User
    Join Date
    10-26-2010
    Location
    Sacramento California
    MS-Off Ver
    Excel 2003
    Posts
    8

    Comparing Two Columns

    Is there a way I can have excel search for a cell from column a and search to see if it is anywhere in column b? For example, column a has a listing of files that were missing from an export, column b has a listing of newly exported items. Is there a way I can search to see if items from column a are somewhere in column b?

  2. #2
    Registered User
    Join Date
    10-26-2010
    Location
    Sacramento California
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Comparing Two Columns

    Oh and possibly print a list of the ones that arent there

  3. #3
    Registered User
    Join Date
    04-16-2007
    Posts
    46

    Re: Comparing Two Columns

    If I understand correctly...
    You can use conditional formatting - Highlight cell rules - duplicate value...

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Comparing Two Columns

    Try

    =ISNUMBER(MATCH(A2,B:B,0))

    this returns TRUE if A2 is found in column B.

    If you need position remove the ISNUMBER() part and the number returned is the position within column B that the item is found, if at all.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Registered User
    Join Date
    10-26-2010
    Location
    Sacramento California
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Comparing Two Columns

    Cant get this to work

  6. #6
    Registered User
    Join Date
    10-26-2010
    Location
    Sacramento California
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Comparing Two Columns

    For instance one file name is 02900001 in cell 1A and i see it in Column B, but that brings back a false

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Comparing Two Columns

    Assuming your first item in column A is in A2 and you want to check column B for a match.

    Enter: =ISNUMBER(MATCH(A2,B:B,0)) in C2 (it should return TRUE/FALSE depending on if match is found or not)... then copy down.

    What isn't working?

  8. #8
    Registered User
    Join Date
    10-26-2010
    Location
    Sacramento California
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: Comparing Two Columns

    You got it right, i had the wrong column! Thank you!!!!

+ 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