+ Reply to Thread
Results 1 to 5 of 5

Comparing columns in different workbooks?

  1. #1
    Registered User
    Join Date
    12-16-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Comparing columns in different workbooks?

    Hi all,

    I need an application that will look at the names column B of workbook 1 and compare them with the names in column B of workbook 2. If there are any entries in workbook 1 that are NOT in workbook 2, they will be highlighted in yellow in workbook 1. Is this possible?

    Thank you.

  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 columns in different workbooks?

    Yes its possible. Please attach a sample workbook so we can understand what kind of data you are looking at.
    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
    12-16-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Comparing columns in different workbooks?

    Here are some small sample workbooks. In this example, it should look at the ID number column in workbook 1 and highlight any that aren't found in the ID number column in workbook 2. In this case, row 4 should be highlighted. Thank you very much for the help.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    11-04-2011
    Location
    pak
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: Comparing columns in different workbooks?

    hello and welcome to the forum, this code might help you.Assumed that only workbook 1 has unique entries. and other entries are arranged in one to one order in both workbooks except unique entries
    Please Login or Register  to view this content.
    Last edited by shaukat; 12-17-2011 at 09:07 AM. Reason: expalanation

  5. #5
    Forum Contributor
    Join Date
    11-04-2011
    Location
    pak
    MS-Off Ver
    Excel 2007
    Posts
    132

    Re: Comparing columns in different workbooks?

    Hi this script will overcome the problem explained before.Now numbers in any order will be dealt with:
    Please Login or Register  to view this content.
    Last edited by shaukat; 12-17-2011 at 09:32 AM.

+ 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