Closed Thread
Results 1 to 2 of 2

Comparing Data from two different workbooks

  1. #1
    Registered User
    Join Date
    07-08-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2007
    Posts
    11

    Comparing Data from two different workbooks

    Hi Everyone!

    I've posted a thread here a couple of months ago asking for a macro to compare two different workbooks and posting the result on a whole now workbook. Each workbook contains a list of servers along with the status of the agents installed on the server. The names of the reports are AgentReport1 and AgentReport2.

    The condition is basically like this:

    - If the server is in AgentReport1 but not in AgentReport2, server information will not be included in the new list
    - If the server is in AgentReport2 but not in AgentReport1, server information will be included in the new list
    - If the server is in both reports, server information to be posted will be from AgentReport2 from columns A to H but with the information from AgentReport1 at column I

    A code was already submitted by arlu1201 a few weeks ago. However, the problem with the code is that at the third condition, it only displays the information from AgentReport2 from columns A to I. Please see code below:

    Please Login or Register  to view this content.
    Hope you guys can help me out with my Project. Attaching the 2 AgentReport samples as well.

    Many Thanks and Regards,
    Aralei
    Attached Files Attached Files

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

    Re: Comparing Data from two different workbooks

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread. You can bump your other thread if you have not received a reply.

    Thread Closed.
    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]

Closed 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