+ Reply to Thread
Results 1 to 9 of 9

Identifying Differences in Monthly Reports

  1. #1
    Registered User
    Join Date
    06-09-2014
    Posts
    16

    Identifying Differences in Monthly Reports

    Hi there! So this is a pretty complicated problem and I was wondering if I could get help here.

    I get sales forecast schedules every month, but I need to identify the changes that were made from the previous month so I can focus on those items. Changes I need to be aware of include new amounts of items, new items added to the report, and items that were in the old report but were removed from this month's report. Normally, I go through the new report with the old one open and manually highlight lines of data that were changed. Obviously this takes a long time having over 500 lines of data.

    My excel version is 2010, so I cannot use the built in spreadsheet comparison tool that comes with 2013, nor can I download third party applications because of IT settings on my work computer. I can download excel files though.

    I want to be able to easily identify changes in data via highlighting lines of data, but any other way of indicating change is acceptable.

    I'll include a small sample size of my data, with one June's report in one tab and July's in the other.

    I'm probably missing vital information so feel free to ask. The sample data is attached.

    Thank you!

    Forum Help.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Identifying Differences in Monthly Reports

    nadrojylloh, good evening.

    I did an example for you with:
    Rule 2: new items added to the report
    Rule 3: items that were in the old report but were removed from this month's report
    23-07-2014_ExcelForum_Identifying_Differences.xlsx

    Sorry, but what means Rule 1: Changes I need to be aware of include new amounts of items.

    Is it what you want?
    I hope it helps.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  3. #3
    Registered User
    Join Date
    06-15-2014
    Location
    Cuthbert, Ga
    MS-Off Ver
    Office 2013
    Posts
    64

    Re: Identifying Differences in Monthly Reports

    Hey, I know I'm pretty new here, so my solution may not be as trusted as the senior members, but here's a go at a solution for you.

    Create a new macro and name it compare. Copy and paste this into the VBA editor screen. You'll have to resave your file as a macro enable document. Now, this code gave me an odd error on Excel 2013 but seemed to be okay on 2010. If it does throw you an error, just insert a blank row following the last row of data.

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    06-09-2014
    Posts
    16

    Re: Identifying Differences in Monthly Reports

    Mazzaropi,

    What I mean by new amounts of items is that sometimes the values in the months columns and the grand total column change from the old report to the new report. I would like to be able to identify these as well.

    I really like what you did with rules 2 and 3 though, and these should help a lot. Thanks!

  5. #5
    Registered User
    Join Date
    06-09-2014
    Posts
    16

    Re: Identifying Differences in Monthly Reports

    drsadistic,

    Thanks for the code, I tried running it and it returned an error. When I debugged, it highlighted this line:

    ws2.Cells(i, c).Select

    which is about 12 rows from the bottom. I don't know much vba. Thanks.

  6. #6
    Registered User
    Join Date
    06-15-2014
    Location
    Cuthbert, Ga
    MS-Off Ver
    Office 2013
    Posts
    64

    Re: Identifying Differences in Monthly Reports

    Just add an extra line under your last live of data. That will fix it.

  7. #7
    Registered User
    Join Date
    06-09-2014
    Posts
    16

    Re: Identifying Differences in Monthly Reports

    Quote Originally Posted by drsadistic View Post
    Just add an extra line under your last live of data. That will fix it.
    Add an extra line under my data? What should this line contain? Or do you mean in the vba code?

  8. #8
    Registered User
    Join Date
    06-15-2014
    Location
    Cuthbert, Ga
    MS-Off Ver
    Office 2013
    Posts
    64

    Re: Identifying Differences in Monthly Reports

    Just a blank empty line with nothing in it.

  9. #9
    Registered User
    Join Date
    06-09-2014
    Posts
    16

    Re: Identifying Differences in Monthly Reports

    Quote Originally Posted by drsadistic View Post
    Just a blank empty line with nothing in it.
    I got it to work on the July sheet! When I run it on the June sheet, it returns error: "Run time error '1004': Select method of Range class failed".

    Thanks!
    Last edited by nadrojylloh; 07-28-2014 at 07:00 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Monthly Reports
    By shadey4 in forum Excel General
    Replies: 5
    Last Post: 05-02-2014, 12:49 PM
  2. Conditional formating two reports for differences
    By WandererNL in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-22-2013, 05:41 AM
  3. Monthly reports
    By BRIZZLE101 in forum Excel General
    Replies: 1
    Last Post: 03-22-2013, 09:42 AM
  4. Comparing two worksheets and identifying differences
    By sarahrose20 in forum Excel General
    Replies: 4
    Last Post: 07-24-2012, 08:26 AM
  5. Turning Daily Reports into Monthly Reports
    By jambezi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-19-2009, 05:31 PM

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