Compare More Than Two Worksheets and Reconcile Differences

  • I need to compare more than two worksheets and reconcile differences for Charge amounts.


    Each sheet corresponds to a unique Company, e.g. Company1, Company2, Company3, etc.
    The data columns are the same in all sheets - Name, Product, ID Number and Charge.

    It needs to produce a “Reconciliation” sheet with the comparison results from each of the multiple sheets.
    Also, it needs to create a “Differences” sheet with only those having Charge amount differences.

    I found some excellent VBA code written by Jindon here: http://www.ozgrid.com/forum/showthread.php?t=174992 and have modified it in my attempt to produce the above.
    I have attached my example which uses 4 Company worksheets. You will see it generates the Reconciliation and the Differences sheets, but results only show for Company1 and Company4. It does not list results of Company2 and Company3. Finally, there’s an issue with the results. “Allen GHI 111111” with a Charge amount of $250 is in the first three Company sheets, but not in Company4. However, in the results it shows $250 under Company4 when it should be blank.


    If you can help me with this it will greatly be appreciated!

  • Re: Compare More Than Two Worksheets and Reconcile Differences


    See if this is how you wanted.

  • Re: Compare More Than Two Worksheets and Reconcile Differences


    Yes! Jindon you are amazing. It works perfectly to generate the “Differences” sheet. Would you be able to do similar for the “Reconciliation” sheet? So it will show data under each Company column and in column H to show their differences in Charge amount (if any).
    Thank you!

  • Re: Compare More Than Two Worksheets and Reconcile Differences


    Jindon, please disregard my previous message about the Reconciliation sheet.
    Your VBA solution accomplishes what I need.


    Many thanks!! …for your quick response and expert help.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!