+ Reply to Thread
Results 1 to 5 of 5

Need help comparing same time period different years

  1. #1
    Registered User
    Join Date
    11-07-2014
    Location
    Ottawa, Canada
    MS-Off Ver
    2010
    Posts
    62

    Need help comparing same time period different years

    Hi All, So I have 4 queries that return the following info..
    Customer Name
    Total Sale
    Posted Period(month and year of sale)
    Sale #

    So, these are part sales to customers. Customers can have multiple sales per period / per year.

    Each query is for 1 year.

    What I am trying to do is compare purchases from 1 year to the next for the same customers according to whatever time frame I want to see (these would be the parameters)
    I want to be able to see the difference PER customer to see which ones are up and which ones are down, again according tot he time frame I have
    I have attached an example the tab called WHAT I WANT is what I am looking for. Thanks
    Attached Files Attached Files
    Last edited by FernTurpin; 05-09-2019 at 12:44 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help comparing same time period different years

    Does the attached help

    I've put all your data on single sheet 'Data' so that a Pivot Table can be applied.

    If you wish to keep a separate sheet for each year then ou could use a Power Query or a Power Pivot Add In.

    I suspect you'll will probably still need to add the helper columns
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Need help comparing same time period different years

    I suggested you, If you add data validation in "D1"
    In "B9"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    change 2016 to respective year for other column.
    See attachment.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  4. #4
    Registered User
    Join Date
    11-07-2014
    Location
    Ottawa, Canada
    MS-Off Ver
    2010
    Posts
    62

    Re: Need help comparing same time period different years

    Ok, I can work with that for sure, thank you

  5. #5
    Registered User
    Join Date
    11-07-2014
    Location
    Ottawa, Canada
    MS-Off Ver
    2010
    Posts
    62

    Re: Need help comparing same time period different years

    Thank you, never used SUMPRODUCT before.

+ 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. [SOLVED] Slice and dice data
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-12-2018, 07:55 AM
  2. [SOLVED] Organizing 'slice and dice'
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-23-2017, 08:19 AM
  3. [SOLVED] Multiple Data lablels for one slice of the pie chart
    By ImranBhatti in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 10-03-2017, 09:18 PM
  4. Seems simple but... no dice. Looking for duplicate data in a column.
    By TDellaPorta in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-30-2014, 09:04 AM
  5. VBA Slice Setting "Show Items Delete from the Data source"
    By milobc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2012, 08:37 PM
  6. Random numbers of a dice
    By Robins in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-03-2010, 08:03 AM

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