+ Reply to Thread
Results 1 to 8 of 8

Compare columns in different worksheets nad highlight differences

  1. #1
    Registered User
    Join Date
    10-02-2012
    Location
    JK
    MS-Off Ver
    Excel 2010
    Posts
    17

    Compare columns in different worksheets nad highlight differences

    i have been searching for a while on how to do that, and there is indeed pretty much information available online, but nothing in particular helps my case.

    So this is what i am trying to do:
    i recieve on a daily basis two different excel workbooks - one is about 300 rows, and the other 100, with different number of columns .i copy/paste them in a brand new workbook as different sheets.
    The only thing that may make a match is a column with email address. It is present in a column in both spreadsheets. What i need is to highlight the rows in the big spreadsheet that do NOT match the rows in the small one by email. Basically, highlught all rows that do not have a duplicate email in the other sheet. The email in the first sheet is column C and in the second one - F.
    I could not make Vlookup to work as i do not have anything else to match except the email. No ther column is the same in both sheets.

    Hope i was clear enough. Appreciate any assistance.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Compare columns in different worksheets nad highlight differences

    Untested, give this a try

    Please Login or Register  to view this content.
    Last edited by mike7952; 10-10-2012 at 04:13 PM.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Compare columns in different worksheets nad highlight differences

    Mike!
    Please Login or Register  to view this content.
    I could not see where the word "result" comes from. Was meant to be "c"?

  4. #4
    Registered User
    Join Date
    09-14-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Compare columns in different worksheets nad highlight differences

    Enter this equation =IF(ISERROR(MATCH(A1,Sheet2!B$1:B$3000,0)),TRUE) in a new column in the first cell of the big sheet then copy it down. Use a filter to show just the values that say true. Select them, change the color. Show All.
    A1 is the big sheets email column (note, column. use 1 for the row). No $ signs.
    B$1:B$3000 is the small sheet's email. (change 3000 to whatever the last row is. Need the $ for this field)

  5. #5
    Registered User
    Join Date
    09-14-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Compare columns in different worksheets nad highlight differences

    "c" appears to be the column that contains the email address on the large sheet.
    "F" is the column for the small sheet (other).
    Looks like he already fixed the "Result" part

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Compare columns in different worksheets nad highlight differences

    Yes,he did

  7. #7
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Compare columns in different worksheets nad highlight differences

    Yea I did, like I posted Untested. i just copied some code I already had and modifed it.

  8. #8
    Registered User
    Join Date
    10-02-2012
    Location
    JK
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Compare columns in different worksheets nad highlight differences

    Works like a charm Many thanks, Mike!!!!

+ 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