+ Reply to Thread
Results 1 to 12 of 12

Compare data from two worksheets, highlight difference and/or display on 3rd worksheet

Hybrid View

  1. #1
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Compare data from two worksheets, highlight difference and/or display on 3rd worksheet

    If the 2 lists are in 1 dimensional arrays (single rows or single columns) then I can get the 3rd list using formulas. Just need to know the locations of the 2 lists and the exact destination for the 3rd list.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  2. #2
    Registered User
    Join Date
    07-22-2013
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Compare data from two worksheets, highlight difference and/or display on 3rd worksheet

    Quote Originally Posted by Tony Valko View Post
    If the 2 lists are in 1 dimensional arrays (single rows or single columns) then I can get the 3rd list using formulas. Just need to know the locations of the 2 lists and the exact destination for the 3rd list.
    I think I have it figured out using these steps...

    In the sheet OLD_DATA, type CalcCriteria in cell N1 and the following formula in cell N2 (or in two empty adjacent cells):

    N2-> =COUNTIFS(NEW_DATA!$C$2:$C$579,$C2)=0

    When the result is TRUE means that there is no find record in the sheet NEW_DATA.

    Now, in the sheet OLD_DATA, use Conditional Formatting with the formula =COUNTIFS(NEW_DATA!$C$2:$C$579,$C2)=0 to highlighted the 332 items.

    In the sheet OMITTED_DATA (source sheet), select a empty cell (A1, for example), have a click in Advanced, in the Sort & Filter group of the Data tab.


    In the dialog (Advanced Filter), do the following:

    Select the option Copy to Another Location

    In the List Range box, type OLD_DATA!$A$1:$L$911

    In the Criteria Range box, type OLD_DATA!$N$1:$N$2

    In the Copy To box, type OMITTED_DATA!A1


    Finally, press OK.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Compare data from two worksheets, highlight difference and/or display on 3rd worksheet

    Good deal. Thanks for the feedback!

+ 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: 2
    Last Post: 04-12-2013, 06:20 PM
  2. Compare and highlight column data across two worksheets
    By bgontarski in forum Excel General
    Replies: 1
    Last Post: 03-26-2012, 10:33 AM
  3. [SOLVED] Compare strings in cells and highlight difference
    By Odin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2006, 05:20 AM
  4. RE: How do you compare 2 list of numbers and highlight the difference
    By Tom Ogilvy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2006, 10:55 AM
  5. Compare two worksheets and highlight the one sheet’s difference from the other one
    By minrufeng in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2006, 06:28 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