+ Reply to Thread
Results 1 to 18 of 18

Year to Date Sales Computation Assistance Request

  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Year to Date Sales Computation Assistance Request

    Dear All,

    I am trying to compute YTD Sales A2021 (Actual 2021) vs T2021 (Target 2021), the target is for 1 whole year already but the sales is only until September. How do I auto compute the formula that it will only add and compare same period of Actual Sales vs Same Period target?

    What happens is when I sum, Target is Blotted because it sums the entire 2021 Target making our sales poor because it captures YTD Actual Sales only.

    Please see attached excel sheet.

    For your kind assistance please.

    Francis
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Year to Date Sales Computation Assistance Request

    Administrative Note

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Re: Year to Date Sales Computation Assistance Request

    thank you for your reminder, I update my profile and changed it to Excel 2016 already. Keep safe and God bless

  4. #4
    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,193

    Re: Year to Date Sales Computation Assistance Request

    YTD

    in CJ5

    =SUMIFS($C$5:$CH$5,$C4:$CH4,"A2021")

    in CK5

    =SUMIFS($C$5:$CH$5,$C$4:$CH$4,"T2021")*(MONTH(TODAY())-1)/12

    Proportioned according to months elapsed as monthly targets are the same value


    Better to change dates in row 3 to Excel dates (01/01/2021 etc) and format as "mmmm"
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    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,193

    Re: Year to Date Sales Computation Assistance Request

    Format in Sheet2 better and easier for computations.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Re: Year to Date Sales Computation Assistance Request

    Hi John,

    Appreciate the help, I downloaded the excel and tried the formula you shared but the T2021 does not change in total even if I put value to A2021 November.

    Can I request for further help?

    Thank you.

    Francis

  7. #7
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Re: Year to Date Sales Computation Assistance Request

    Quote Originally Posted by JohnTopley View Post
    Format in Sheet2 better and easier for computations.
    I originally though of the template you sent me on sheet 2, but unfortunately there are other accounts (row) in the sheet, I only sent the top most part of the sheet as not to complicate the question. Thanks again

  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,193

    Re: Year to Date Sales Computation Assistance Request

    So how do you want target calculated: you have the same values values in the target months so changing A2021 has no effect on the formula I provided (which could be (is probably) an incorrect one)

    Typical target calculation is initially divide YEAR target by 12 (so each month is the same) and in subsequent months subtract ACTUALS and divide by remaining months to get new monthly targets.

    I see no initial YEAR target

  9. #9
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Re: Year to Date Sales Computation Assistance Request

    Hi John, again my thanks for your assistance. What I meant was I wanted the YTD Target (T2021) be the same with Actual Sales (A2021), which means if the available Actual Sales is only until September (YTD Sales = Jan-September) the Target should also sum only until September (YTD Target = Jan-September), at least I am reading performance apple to apple which is YTD Sales and YTD Target automatically without having the sum them every month manually as I do now because the account list goes all the way to 2000 plus accounts.

    By having it automated (auto computed) I dont need to manually change the formula monthly 2000++ times, but i will only put Sales on the current month and it will compare YTD Sales vs YTD Target.

    YTD is Year to Date.

    Thanks.

    Francis
    Last edited by AliGW; 10-11-2021 at 08:55 AM. Reason: PLEASE don't quote unnecessarily!

  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,193

    Re: Year to Date Sales Computation Assistance Request

    The formula I gave summed the data in columns headed T202! until September.

    The attached has the merged cells removed (should be avoided like the plague) and this formula in YTD T2021

    in CK5

    =SUMIFS($C$5:$CH$5,$C$4:$CH$4,"T2021",C3:CH3,"<" & EOMONTH(TODAY(),-1))

    If you want actual sales

    =SUMIFS($C$5:$CH$5,$C$4:$CH$4,"A2021",C3:CH3,"<" & EOMONTH(TODAY(),-1))
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Re: Year to Date Sales Computation Assistance Request

    Hi John,
    thank you your help is much appreciated. try putting sales under October A2021, you will see that column CK5 (YTD T2021) doesnt increase which is suppose to add the target under October (colum BP 5 - A2020).

    I manually checked by adding it manually, YTD Target adding October should be 1,450,386 but it remained the same at 1,111,104. Please see attached sheet with manual computation.

    Apologies as I cant also figure out, I tried using sumproduct(isblank formula but it was limited to 2 columns I think or it be range. Im such a newbie in excel.

    thanks

    Francis
    Attached Files Attached Files
    Last edited by AliGW; 10-12-2021 at 04:10 AM. Reason: PLEASE stop quoting unnecessarily!

  12. #12
    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,193

    Re: Year to Date Sales Computation Assistance Request

    Try

    =SUMIFS($C$5:$CH$5,$C$4:$CH$4,"T2021",$C5:$CH5,"<>")

    which assumes cells are empty until required month is entered (rather than check against date).

    You own figures in incorrect: for example, you include C5 rather than D5.

  13. #13
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Re: Year to Date Sales Computation Assistance Request

    Hi John,

    May bad on the error, I edited it and simplied everything simply using number 1 as place holder so that total sales end of year is 12, total target end of years is 12 as well as shown in the attached sheet. I edited and used the formula you shared its giving me the entire year target instead of the YTD Target.

    Thank you.

    Francis
    Attached Files Attached Files
    Last edited by AliGW; 10-12-2021 at 04:10 AM. Reason: PLEASE don't quote unnecessarily!

  14. #14
    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,193

    Re: Year to Date Sales Computation Assistance Request

    Did you look at reply in post #12???

  15. #15
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Re: Year to Date Sales Computation Assistance Request

    Quote Originally Posted by JohnTopley View Post
    Did you look at reply in post #12???
    Hi John,

    Yes I did and applied it is column CK5. It summed up the entire target even if YTD Sales is only until October or September. Thanks.

    Francis

  16. #16
    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,193

    Re: Year to Date Sales Computation Assistance Request

    You have two options: you either sum based on a date (my first option where i used EOMONTH function)

    or

    sum based on all cells but leave (for example) November/December blank if you want to sum until October.

    Both these options work.

  17. #17
    Registered User
    Join Date
    02-17-2011
    Location
    Philippines
    MS-Off Ver
    Microsoft Office Professional Plus 2021
    Posts
    69

    Re: Year to Date Sales Computation Assistance Request

    Quote Originally Posted by JohnTopley View Post
    You have two options: you either sum based on a date (my first option where i used EOMONTH function)

    or

    sum based on all cells but leave (for example) November/December blank if you want to sum until October.

    Both these options work.
    Hi John,

    I tried all the formula you shared, it either sums up the entire year target or it gets stuck with YTD September sales. What I mean is that when I put a number in BN5 (October A2021) CJ5 increases (YTD Sales) but CK5 remains at either 12 or 9 (YTD Target).

    Thank you.

    Francis

  18. #18
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,556

    Re: Year to Date Sales Computation Assistance Request

    Not sure that I totally understand, however the following formula in cell CK5 will display 10 when a number is typed into cell BN5:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 1
    Last Post: 02-08-2020, 10:32 PM
  2. Year To Date Sales Summary
    By TC-Fireman in forum Excel General
    Replies: 1
    Last Post: 06-26-2017, 06:19 AM
  3. [SOLVED] Assistance request to filter data by date
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2017, 07:33 AM
  4. [SOLVED] VBA Code assistance to populate textbox with lookup sales total via date pickers
    By sintek in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-11-2016, 09:30 AM
  5. Replies: 4
    Last Post: 08-05-2015, 06:39 PM
  6. Replies: 0
    Last Post: 04-18-2006, 02:10 AM
  7. [SOLVED] Multi-State Sales Tax Computation
    By CraigR53 in forum Excel General
    Replies: 3
    Last Post: 01-23-2006, 03:25 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