+ Reply to Thread
Results 1 to 4 of 4

Ensuring Data included acroos two Workbooks

  1. #1
    Registered User
    Join Date
    03-04-2011
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    19

    Ensuring Data included acroos two Workbooks

    I have two workbooks and i have to ensure that i have included all the people from Workbook1 are included in workbook 2.

    In column A of both workbooks is the current employer.
    In column B of both workbooks is the unique reference number.

    In workbook 1 i want to indicate whether the data is present in Workbook 2.

    One thing to note is the unique reference may be duplicated as a different employer may have used it for thier staff thus only unique to that employer.

    I need workbook 1 to look at the columns A & B in workbook 2 and indicate somehow that is included.

    I would upload the sheets but the information is sensitive.

    Thanks in advanced.

  2. #2
    Forum Contributor
    Join Date
    04-16-2009
    Location
    Dorset, UK
    MS-Off Ver
    Office 2003, Office 2007
    Posts
    131

    Re: Ensuring Data included acroos two Workbooks

    OK, having done my own search and testing I've found you can use this formula:
    Please Login or Register  to view this content.
    This returns a 1 if there's a match, or a #N/A if there's not a match. Alternatively, to not show an error, use this:
    Please Login or Register  to view this content.
    If you want it to show blank or the word MISSING, change the final 1 to "" and the final 0 to "MISSING".

    The downside with this approach is that you can't just search on a whole column (e.g. B:B), yu have to use a set range. If you know you have a max number of rows (I've used 2000 in my example), or you're happy to set it to the max possible number of rows, then this isn't a problem.

    There are also a number of approaches using SUMPRODUCT, this site has some examples, but be sure to read the comments at the bottom to get the right version of the formula.
    Last edited by Kafrin; 04-04-2011 at 08:17 AM.

  3. #3
    Registered User
    Join Date
    03-04-2011
    Location
    Sheffield
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Ensuring Data included acroos two Workbooks

    Worked a treat what you suggested.

    Many thanks.

  4. #4
    Forum Contributor
    Join Date
    04-16-2009
    Location
    Dorset, UK
    MS-Off Ver
    Office 2003, Office 2007
    Posts
    131

    Re: Ensuring Data included acroos two Workbooks

    You're 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