Results 1 to 3 of 3
  1. #1
    Eric@Gopher is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Location
    Minnesota
    Posts
    6

    Question Comparing Two years of Sales Data

    I have two years worth of sales data, 2011 and 2012 YTD. I would like to compare daily activity against each other for example August 1 against August 1 from different years. There will be as many as 500 orders in a day. The date fields have the year associated with each record, example, 1-JUL-2011. There is really no unique field associated in each table. Any suggestions would be greatly appreciated. I have tried a lot of things but nothing really "clean". Thanks.

  2. #2
    RayMilhon is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,071
    My Recommendation is create 2 queries 1 for 2011 and 1 for 2012 Include 2 additional columns 1 for the month of the year and 1 for the day of the month. Create a 3rd query using those 2 queries as the source tables. Link on the 2 additional columns. Include the approprate fields from each query use a sum, count, average whatever you're trying to compare and group by the rest of the columns you need.

  3. #3
    Eric@Gopher is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2012
    Location
    Minnesota
    Posts
    6

    Thanks Ray

    I'm thankful for the advice! It worked fine.

    Quote Originally Posted by RayMilhon View Post
    My Recommendation is create 2 queries 1 for 2011 and 1 for 2012 Include 2 additional columns 1 for the month of the year and 1 for the day of the month. Create a 3rd query using those 2 queries as the source tables. Link on the 2 additional columns. Include the approprate fields from each query use a sum, count, average whatever you're trying to compare and group by the rest of the columns you need.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Comparing sales for the last 2 years
    By Adele in forum Queries
    Replies: 6
    Last Post: 06-13-2016, 01:34 PM
  2. Month wise two years data comparison
    By waqas in forum Reports
    Replies: 2
    Last Post: 07-06-2012, 08:35 AM
  3. Compare data across years
    By lvh519 in forum Queries
    Replies: 4
    Last Post: 02-16-2012, 01:46 PM
  4. Replies: 11
    Last Post: 01-25-2012, 09:46 AM
  5. Replies: 5
    Last Post: 06-30-2011, 02:24 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums