+ Reply to Thread
Results 1 to 11 of 11

Sales Comparison Help

  1. #1
    Registered User
    Join Date
    01-07-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5

    Sales Comparison Help

    I am having trouble with one of my sheets to compare sales & transactions year over year. The formula I can not figure out is how to put one in so on each month as we move throughout the year it does a YTD comparison vs LYTD some were on the sheet that I have attached. Any suggestions would help.

    As a scenario this years sales and transactions would go in column J & M and I would like to have a year to date comparison for year to date 2015 Columns E & G.

    Any help would be great.

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,151

    Re: Sales Comparison Help

    Try

    =(SUM($E$3:E3)-SUM($B$3:B3))/SUM($B$3:B3)

  3. #3
    Registered User
    Join Date
    01-07-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5

    Re: Sales Comparison Help

    That is what column K is calculating, what I am looking for is a cell that for example : when January, February and Marchs sales are entered it will compare to those same three months from last year.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Sales Comparison Help

    If you want a YTD comparison, shou.dnt the formula progessively include months?
    =(SUM(E$3:E3)-SUM(B$3:B3))/SUM(B$3:B3)
    instead of just...
    =(E3-B3)/B3

    then...
    K3=IF(J3="","",(SUM(J$3:J3)-SUM(E$3:E3))/SUM(E$3:E3))
    L3=IF(J3="","",(SUM(J$3:J3)-SUM(B$3:B3))/SUM(B$3:B3))
    N3=IF(M3="","",(SUM(M$3:M3)-SUM(G$3:G3))/SUM(G$3:G3))
    O3=IF(M3="","",(SUM(M$3:M3)-SUM(C$3:C3))/SUM(C$3:C3))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Sales Comparison Help

    Quote Originally Posted by Daveom View Post
    That is what column K is calculating,
    No, that - and the other formulas going down - are only doing a month-on-month test, not YTD

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,151

    Re: Sales Comparison Help

    ... that's what my formula does: January, then January+February, ...

    (as per Ford's post)

  7. #7
    Registered User
    Join Date
    01-07-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5

    Re: Sales Comparison Help

    I still need to have the formula as shown =(j3-e3)/e3 this will allow to see a month vs month comparison. I am looking for something to add so I can see one with a rolling YTD comparison that will recognize when data is enetered into a 2016 column then compare that column to the same previous data set from 2015, 2014. Does that make sense ?

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,151

    Re: Sales Comparison Help

    That's what the SUM formulae supplied do: try them!

  9. #9
    Registered User
    Join Date
    01-07-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5

    Re: Sales Comparison Help

    Which column should they be entered into

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,151

    Re: Sales Comparison Help

    My formula in F3 if that's is where you want the comparison.

    Ford's reply gives some of the other options.


    K3=IF(J3="","",(SUM(J$3:J3)-SUM(E$3:E3))/SUM(E$3:E3))
    L3=IF(J3="","",(SUM(J$3:J3)-SUM(B$3:B3))/SUM(B$3:B3))
    N3=IF(M3="","",(SUM(M$3:M3)-SUM(G$3:G3))/SUM(G$3:G3))
    O3=IF(M3="","",(SUM(M$3:M3)-SUM(C$3:C3))/SUM(C$3:C3))

  11. #11
    Registered User
    Join Date
    01-07-2016
    Location
    Canada
    MS-Off Ver
    2010
    Posts
    5

    Re: Sales Comparison Help

    Thanks that did work, I wasn't reading it correctly the first time. Thanks for the help , sorry for the confusion.

+ 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. Excel 2007 - Comparison of monthly sales year on year
    By djr1970 in forum Excel General
    Replies: 7
    Last Post: 08-12-2014, 01:56 PM
  2. Replies: 4
    Last Post: 03-05-2014, 01:15 PM
  3. Replies: 6
    Last Post: 10-19-2013, 04:53 PM
  4. Pivot table Sales comparison over years
    By Holymoly in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 03-25-2013, 11:21 AM
  5. 2011 and 2010 YTD Monthly Sales Comparison
    By franztupaz in forum Excel General
    Replies: 10
    Last Post: 06-08-2011, 03:23 AM
  6. Conditional Formula for YTD Sales comparison
    By franztupaz in forum Excel General
    Replies: 1
    Last Post: 04-18-2011, 04:09 AM
  7. Customer Sales Comparison
    By ugzruben in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-06-2010, 11:29 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