+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    01-30-2010
    Location
    PH
    MS-Off Ver
    Excel 2003,2007
    Posts
    8

    Compare data in separate workbook or worksheet

    Hi
    I am new to this forum and in excel as well. Currently stuck to this problem, here how it goes : Im working with a huge amount of data in BOOK1.xls and once or twice a week I received an update of the list.

    1. I need to compare and find out from the new updated worksheet if there is a new revision, and if there are new documents added to the list. I have tried Vlookup..but it didnt work for me.

    Ex. Doc1 has revision 1, 2 in my BOOK1 that I am working on. Note that there is a repetition of the DocName, Doc Number except for the revision.

    DocName Doc Number Revision
    Spec Doc1 1
    Spec Doc1 2
    Spec Doc1 3??? <<--- New revision from BOOK2.XLS



    Thanks very much and appreciate your help.
    Attached Files Attached Files
    Last edited by SelC; 01-31-2010 at 04:22 AM.

  2. #2
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    5,813

    Re: Compare data in separate workbook or worksheet

    Hi,
    I'm assuming that there could be the same revision numbers for different document numbers. i.e. the revision numbers in col C may not be unique. Since you don't have Excel 2007 then you'll need to create a helper column D in both documents. This should concatenate the column B&C values. i.e.
    Code:
    =B2&C2
    and copied down.

    Now in your new revision book, and assuming the older book is called 'Book1' use in E2 and copied down:

    Code:
    =IF(ISERROR(MATCH(D2,'[Book1.xls]Sheet1'!$D:$D,FALSE)),"New","")
    HTH
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

  3. #3
    Registered User
    Join Date
    01-30-2010
    Location
    PH
    MS-Off Ver
    Excel 2003,2007
    Posts
    8

    Re: Compare data in separate workbook or worksheet

    Thanks Richard
    Care to share, if im going to apply this in Excel 2007.

    More power to Excel Forum!

  4. #4
    Forum Moderator Richard Buttrey's Avatar
    Join Date
    02-15-2008
    Location
    Grappenhall, UK
    MS-Off Ver
    Excel for Windows & Mac - all versions.
    Posts
    5,813

    Re: Compare data in separate workbook or worksheet

    Hi,

    In Excel 2007

    Code:
    =IF(COUNTIFS('[Book1.xls]Sheet1'!$B:$B,$B$4,'[Book1.xls]Sheet1'!$C:$C,C2)=0,"New","")
    Rgds
    Richard Buttrey

    If this was useful then please rate it appropriately.

    Click the small star icon at the bottom left of my post.

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.2.0