+ Reply to Thread
Results 1 to 3 of 3

Find Differences between columns sheets

  1. #1
    Registered User
    Join Date
    09-25-2012
    Location
    toronto
    MS-Off Ver
    Excel 2003
    Posts
    35

    Find Differences between columns sheets

    I have this script which finds the same text data in one sheet column to another and msgBox the titles that are the same each time.
    I want to adapt it to select the data that does not match and paste it into Sheet 1.
    Below is the script and attached is the excel file, thanks for any help.
    Dale
    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Find Differences between columns sheets

    Can you use formula? If you are only looking to find unmatched item, enter and drag it down

    =IF(ISERROR(VLOOKUP(Sheet3!A1,Sheet2!$A$1:$A$60,1,0)),Sheet3!A1,"")

  3. #3
    Forum Expert OllieB's Avatar
    Join Date
    12-20-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2007 (home) & 2010 (office)
    Posts
    1,542

    Re: Find Differences between columns sheets

    JieJenn has a valid point, this can be resolved without any coding. However if you like using VBA code then you may use the appended code (note to add the Microsoft Scripting Runtime to your project references)

    Please Login or Register  to view this content.
    If you like my contribution click the star icon!

  4. #4
    Registered User
    Join Date
    09-25-2012
    Location
    toronto
    MS-Off Ver
    Excel 2003
    Posts
    35

    Re: Find Differences between columns sheets

    Hi
    When I run the script above I am getting an "Compile error: User-defined type not defined" it points to the
    Dim pvt_dct_Sheet2 As Scripting.Dictionary
    line

+ 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