+ Reply to Thread
Results 1 to 6 of 6

Comparing 2 worksheets

  1. #1
    Registered User
    Join Date
    07-03-2012
    Location
    Cebu, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    10

    Comparing 2 worksheets

    Hi everyone,

    Couple of months ago, I asked help here and was able to solve my problem. This is the link: http://www.excelforum.com/excel-form...96#post2847496

    Sample of working file using Arlette's code: "Sept Sample 1.xlsx"

    Anyway, everything was working fine until last week, I found a few duplicates in the data that was being compared and with thousands of rows, it's hard to do it manually. So my question is, is there a way to compare 2 columns instead? It would probably have to use Arlette's code since that one has the "first six, last 4" thingy (as shown on sample 1 above) and then additional code to counter-match it with another column.

    Sample file with new columns: "Sept Sample 2.xlsx" with columns H and I from sheet 1 to be compared to E and F from sheet 2.

    As always, any help is greatly appreciated
    Attached Files Attached Files
    Last edited by KristieKMD; 09-13-2012 at 02:06 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Comparing 2 worksheets

    So which columns do you need to be matched?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    07-03-2012
    Location
    Cebu, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Comparing 2 worksheets

    Hi again Arlette

    It's H and I from sheet 1 to be matched to E and F from sheet 2 on the Sample 2 file.
    Last edited by KristieKMD; 09-12-2012 at 09:10 PM.

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

    Re: Comparing 2 worksheets

    Give this a try

    Please Login or Register  to view this content.
    Thanks,
    Mike

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

  5. #5
    Registered User
    Join Date
    07-03-2012
    Location
    Cebu, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Comparing 2 worksheets

    Works like a charm!

    Thank you sir, thank you!

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

+ 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