+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Compare two worksheets based on multiple columns

  1. #1
    Registered User
    Join Date
    10-12-2010
    Location
    San Diego
    MS-Off Ver
    Excel 2003
    Posts
    9

    Compare two worksheets based on multiple columns

    Hello,
    I was wondering if it was possible either via VB or formula to compare data against two worksheets on a separate worksheet based on unique data columns that are identical on both worksheets. I am particularly looking to see if it can be done if all of the columns match on both worksheets

    For example:

    1st worksheet - Raw Data
    Column1 Column2 Column3 Column4 Column5 Column6
    Dave Dave Don Darrell Jim 1236
    Dan Dan Gina Bill Todd 3214
    Brandon Brandon Sara Sara Alma 4789

    2nd Worksheet - Raw Data
    Column1 Column2 Column3 Column4 Column5 Column6
    Dave Dave Don Darrell Jim 1236
    Dan Dan Gina Eric Todd 3214
    Scottie Brandon Sara Sara Alma 4789

    3rd worksheet - Results
    Column1 Column2 Column3 Column4 Column5 Column6 Column7
    Dave Ray Don Darrell Jim 1236 TRUE
    Dan Dan Gina Eric Todd 3214 FALSE
    Scottie Brandon Sara Sara Alma 4789 FALSE

    This would be on a greater scale and my thoughts are of using a VLookup or some formula using SumIf but not sure.

    If someone has a suggestion that would be great. It would be cool do to this via VB but anything will help.

    Thanks

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Compare two worksheets based on multiple columns

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    10-12-2010
    Location
    San Diego
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Compare two worksheets based on multiple columns

    Ok, will do. Dummy files are attached.
    Attached Files Attached Files
    Last edited by infiltraitor; 12-09-2010 at 02:36 PM.

  4. #4
    Registered User
    Join Date
    10-12-2010
    Location
    San Diego
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Compare two worksheets based on multiple columns

    Hello,
    It's been a couple of days and just wanted to see if anyone had any suggestions.

+ 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