+ Reply to Thread
Results 1 to 5 of 5

Match Two MisMatched Reports and Find Variance

  1. #1
    Registered User
    Join Date
    06-25-2013
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    6

    Match Two MisMatched Reports and Find Variance

    Hello - I have two sets of data that I have been manually matching up in order to find their variance. It takes forever since I do this multiple times a day! Is there a Macro or Formula that will match up these two sets of data?

    Sometimes the data doesn't repeat so the formula/macro would need to shift the cells down to line everything up.

    I attached the raw data and the report I create as an example. Thanks for the help!
    Attached Files Attached Files
    Last edited by qualk23; 06-25-2013 at 12:43 PM. Reason: simplified

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Match Two MisMatched Reports and Find Variance

    Hi qualk23,
    try it
    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-25-2013
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Match Two MisMatched Reports and Find Variance

    Thank you sooo much. This just saved me hours of work daily!!

  4. #4
    Registered User
    Join Date
    06-25-2013
    Location
    Chicago, IL
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Match Two MisMatched Reports and Find Variance

    Hi Nilem,

    I need to adjust the macro you created for me slightly. It is not calculating some of the data correctly.

    The Daily AVG needs to be the Total Room Revenue Divided by total Room Nights. The Total ADR Variance would need to be the Daily AVG's subtracted from one another.

    In the Macro I found the correct section to adjust, but I can't figure out how to get them to reference the different cells:

    r(j, 4) = "=SUM(R[" & i & "]C:R[-1]C)"
    r(j, 9) = "=SUM(R[" & i & "]C:R[-1]C)"
    r(j, 13) = "=SUM(R[" & i & "]C:R[-1]C)"

    I attached the sheet with highlighted cells.

    Thank you!
    Attached Files Attached Files

  5. #5
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Match Two MisMatched Reports and Find Variance

    Hi qualk23,
    change this part of the code
    Please Login or Register  to view this content.

+ 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