+ Reply to Thread
Results 1 to 2 of 2

Macro to Compare two sets of Data

Hybrid View

  1. #1
    Registered User
    Join Date
    08-28-2012
    Location
    London
    MS-Off Ver
    Excel 2011
    Posts
    3

    Macro to Compare two sets of Data

    Hi All,

    I've had some fantastic help from members of this forum so I thought I'd post my latest problem!

    Trying to keep it simple so here goes!:

    My Workbook has two sheets; 1 called "Audit Before Restore" and 2 called "Audit After Restore"
    For quick background and to understand the issue my Sage Accounting software failed so I generated these two sheets before the fix and after the fix (i.e. the Restore). The data in each sheet should be identical, but it is not.
    I want to create a macro or some other automated feature to contrast the two reports. The BEFORE sheet contains all the data, but the AFTER sheet is missing entries.
    To make it a bit trickier when SAGE was reloaded and the AFTER sheet created I can see that some entries correctly appear in both sheets, however SAGE generated different No References(Column B), so my thought was that the cross check would need to be the Gross Value (Column A) with perhaps a double check against another cell say for example the Net entries.

    I thought the logic would be the BEFORE sheet checks each row or some key cell in the AFTER sheet and marks as red all those entries in the BEFORE sheet that do not appear in the AFTER one.

    I've attached the workbook to help you!

    Thanks so much in advance.

    Ian





    AUDIts BEFORE and AFTER.xls

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: Macro to Compare two sets of Data

    What you want to do is not clear to me.
    Let us take first sheet (“before”) no. 11333(column B actually B2)
    This line is
    67684.55 11333 1 JC 1289 17/08/2012 TRANS Bank Transfer 67684.55 0.00 67684.55
    The corresponding no. in second sheet is
    11227.00 11333 1 JD 2301 18/08/2012 J00188 11227.00 0.00 11227.00
    Nothing seem to agree. What column cells should agree. So please rephrase your question giving atleast two examples
    I am not an expert. better solutions may be available
    $$$$venkat1926$$$$@gmail.com

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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