Try this SMART formula to calculate YTD in Excel (works for Financial Years too!)

Поділитися
Вставка
  • Опубліковано 26 сер 2024

КОМЕНТАРІ • 85

  • @sbabu353
    @sbabu353 2 роки тому +6

    Amazing I was using two tables to get YTD numbers... By your help it was so easy now... Thanks a lot ... Chandoo... 👌👍

  • @nayanrajgor9758
    @nayanrajgor9758 2 роки тому +3

    One of my my professor in the last semester of my MBA program recommended me to subscribe to your channel. I think that was a great recommendation.

  • @lalitkumar7759
    @lalitkumar7759 2 роки тому +5

    HI Chandoo, here is a Trick, We don't need offset function just Sum function is enough. Trick is that just hold the Ctrl key while selecting YTD(E4) and
    D5 Cell.....you will be glad it change the Table reference to Cell reference and then the formula works fine...... !!!Thanks a lot...Keep Teaching us.

    • @chandoo_
      @chandoo_  2 роки тому +3

      That is CRAZY!!!. I never knew it. Thank you so much for sharing it. Donut for you Lalit 🍩

    • @lalitkumar7759
      @lalitkumar7759 2 роки тому

      @@chandoo_ Thanks Chandoo!

    • @Nihahome
      @Nihahome Рік тому

      Hi lalit , this is Niha. I have a dowbt. I am trying to do YTD. But on % values.
      Example : I have sales data in %
      jan = 0.0%
      Feb=11.1%
      mar=0.0%
      Apr=100.0%
      Result/answer = 10.5% , this is in excel. I tried the CYTD formulas and getting the wrong result when validating it.
      Please let me know if you know anything about it. Thanks 🙏🏻

    • @Nihahome
      @Nihahome Рік тому

      Result = CYTD ( I am trying here for calendar year. Jan = 1st month).

  • @InvestigationTV009
    @InvestigationTV009 2 роки тому +5

    All dreamers out there don't lose hope this is temporary situations it will pass keep going you are on the way to success don't give up your success will, ✊ ✊ ✊

  • @shreyanshdangi4366
    @shreyanshdangi4366 2 місяці тому

    Thanks for this video....very helpful

  • @frenan82
    @frenan82 2 роки тому +4

    Hi! Thanks in advance. I use (Sumar.Si.Conjunto) SUMIFS to do it, with some criteria

    • @chandoo_
      @chandoo_  2 роки тому

      You are welcome Fernando :)

  • @InvestigationTV009
    @InvestigationTV009 2 роки тому +6

    When you believe in yourself you become unstoppable 💪

    • @chandoo_
      @chandoo_  2 роки тому

      That is awesome 😎

  • @sagarpatel4352
    @sagarpatel4352 2 роки тому +1

    you are truly AMAZING...sir. i have no words to admire you..thank you so so much for this kind of information.

    • @chandoo_
      @chandoo_  2 роки тому

      You are most welcome

  • @sumardjo
    @sumardjo 3 місяці тому

    thanks for knowledge
    and Sample File
    thanks very much
    I can follow to step by step

  • @gvinodnair
    @gvinodnair 2 роки тому +3

    Chandoo...I'm amazed 😮 to think how many of such cool tricks are in your Excel arsenal!

    • @9833525861
      @9833525861 2 роки тому +1

      Really Chandoo himself is a Google of Excel!!!

    • @chandoo_
      @chandoo_  2 роки тому

      Thanks Vinod. I enjoy learning new things and sharing them with you all 😀

  • @wayneedmondson1065
    @wayneedmondson1065 2 роки тому +1

    Hi Chandoo. Great tips! Thanks for sharing both techniques :)) Thumbs up!!

    • @chandoo_
      @chandoo_  2 роки тому +1

      My pleasure 😊

  • @ahsanbaig2959
    @ahsanbaig2959 2 роки тому +2

    This is absolutely gold!! Does anyone know how I can use this formula to calculate QTD?

    • @chandoo_
      @chandoo_  2 роки тому +1

      Thank you. Quarters start on months 1,4,7,10. All of these give remainder of 1 when divided by 3. So we can use =MOD(MONTH(date),3)=1 to check for the quarter start condition. The rest is as per what we did for YTD.

    • @ahsanbaig3848
      @ahsanbaig3848 2 роки тому

      Thanks for the quick reply Chandoo. This formula works but it doesn’t reset when Q2 starts. Thats the issue i was having earlier, please let me know if theres another function i can use. Thanks in advance

  • @FRANKWHITE1996
    @FRANKWHITE1996 2 роки тому +1

    Thanks for sharing! 👍

    • @chandoo_
      @chandoo_  2 роки тому

      My pleasure Frankwhite...

  • @manishayadav2013m
    @manishayadav2013m 6 місяців тому

    Hi, I want to know how we can calculate ytd if the table is in horizontal format and we want ytd sum in one cell only.

  • @johnborg5419
    @johnborg5419 2 роки тому

    Thanks Chandoo :)

    • @chandoo_
      @chandoo_  2 роки тому

      You are welcome John.

  • @HowToAnalyst
    @HowToAnalyst Рік тому

    Great video, thank you Chandoo!

  • @naurauthiyyaramadhani8899
    @naurauthiyyaramadhani8899 2 роки тому

    Thank you!! this really helped!

  • @MomsKitchenIndia143
    @MomsKitchenIndia143 11 місяців тому

    How can I use in power bi pls help

  • @JoseAntonioMorato
    @JoseAntonioMorato 2 роки тому +3

    Dear Chandoo,
    Using the SCAN function, the data spill is obtained:
    =SCAN(0,D5:D27,LAMBDA(x,y,IF(MONTH(OFFSET(y,,-1))1,x+y,0*x+y))) -> YTD (January Start)
    =SCAN(0,D5:D27,LAMBDA(x,y,IF(MONTH(OFFSET(y,,-1))4,x+y,0*x+y))) -> YTD (April Start)
    In the table, your calculation is better, because, if you want to use the SCAN function, the calculation would have to be done in an external column:
    =SCAN(0,data[Registrations],LAMBDA(x,y,IF(MONTH(OFFSET(y,,-1))I4,x+y,0*x+y))) -> YTD TABLE
    (Starts according to the month established in cell I4) 🤗

    • @chandoo_
      @chandoo_  2 роки тому +3

      That is a good use of SCAN & LAMDBA functions. I saw the video Leila did on this few days ago. As I don't yet have access to LAMBDA & SCAN, I prefer the easier options.

  • @gagansingh3481
    @gagansingh3481 2 роки тому

    Amazing chandoo thanks 😊

  • @ryanrust9142
    @ryanrust9142 4 місяці тому

    How do you calculate the YTD for payslips?

  • @sakshamdhiman565
    @sakshamdhiman565 4 місяці тому

    Sir this is like running total

  • @Reyesnes
    @Reyesnes 11 місяців тому

    Hi @Chandoo.
    Can you make a video please, about this same topic "YTD"? But making it dynamic. Having a dropdown list with the months-year?
    For example, we have this table:
    | Month | Amount |
    |--------|------------|
    | Jan-22 | $123.43 |
    | Feb-22 | $154.54 |
    | Mar-22 | $21.92 |
    | Apr-22 | $143.11 |
    | May-22 | $77.00 |
    | Jun-22 | $186.98 |
    | Jul-22 | $142.52 |
    | Aug-22 | $112.57 |
    | Sep-22 | $55.57 |
    | Oct-22 | $149.70 |
    | Nov-22 | $95.30 |
    | Dec-22 | $124.52 |
    | Jan-23 | $2.36 |
    | Feb-23 | $158.92 |
    | Mar-23 | $170.61 |
    | Apr-23 | $15.61 |
    | May-23 | $70.12 |
    | Jun-23 | $17.03 |
    | Jul-23 | $102.85 |
    | Aug-23 | $33.70 |
    | Sep-23 | $25.05 |
    | Oct-23 | $132.00 |
    | Nov-23 | $68.54 |
    | Dec-23 | $181.37 |
    Now, I want to see the comparative about YTD Aug-23 (from jan-23 to aug-23) vs YTD Aug-22 (from jan-22 to aug-22).
    But when I say Dynamic,
    But when I say "Dynamic" I mean that there is a cell containing the dropdown list with the end months.
    For example if the cell says "Aug-23", it means that it has to calculate the YTD from Jan-23 to Aug-23. If the cell says "Sept-23", then it should calculate the YTD from Jan-23 to Aug-23. That is, it also has to respect the year.

  • @Khathalu
    @Khathalu 2 роки тому

    Can you explain how to calculate WTD & MTD in the same way
    Thanks in advance

  • @9833525861
    @9833525861 2 роки тому

    Really very helpful formula!!

    • @chandoo_
      @chandoo_  2 роки тому

      Glad it was helpful!

  • @m.raedallulu4166
    @m.raedallulu4166 2 роки тому

    That was genius !

  • @ExcelWithChris
    @ExcelWithChris 2 роки тому +1

    Thanks!!!!!

  • @Seftehandle
    @Seftehandle 2 роки тому

    I am pleasantly surprised well done!

    • @chandoo_
      @chandoo_  2 роки тому

      You are welcome Tina...

  • @TSSC
    @TSSC 2 роки тому +1

    A possible problem in YTD calculations is when the data contains gaps. The methods presented works if periods with no registrations are included with a zero value. That is not always the case.

    • @chandoo_
      @chandoo_  2 роки тому

      Good catch. The method should be fine as long as you have data for the starting month. Otherwise you need more complex conditions

  • @finnpj
    @finnpj 2 роки тому +1

    Thank you, very usefull - but please turn down the background music :-)

    • @chandoo_
      @chandoo_  2 роки тому +1

      Noted! I will adjust the background volume in future vids.

  • @naveen27263
    @naveen27263 2 роки тому

    Hi chandoo PLZZ help replicate the same in Power BI

  • @bharatthadeshwar7550
    @bharatthadeshwar7550 11 місяців тому

    Hi Chandoo, how would you do the year to date (YTD Cals) if the monthly figures are in columns rather than rows?

    • @priyakatyal4511
      @priyakatyal4511 6 місяців тому

      I also need to know if you got your answer, pls share

  • @lisaa6755
    @lisaa6755 2 роки тому +1

    never used those first 2 elements in an offset before. i used offset often usually to defina a range that might not be in a table. we a plug-in to pull data into excel and it overrides the sheet. so i define range as offset(a1,0,0,counta(a:a),counta(1:1)).

    • @chandoo_
      @chandoo_  2 роки тому

      That is a cool approach.

  • @kaseox5436
    @kaseox5436 2 роки тому

    Really i don't know is that what i need. I have stock prices for each day from 1st day of January 2020 to current day 2022

  • @drkesavsarma_singer
    @drkesavsarma_singer Рік тому

    Need this video in Telugu anna...

  • @shirishgathemusic
    @shirishgathemusic 2 роки тому

    *good*

  • @bibekkoirala5294
    @bibekkoirala5294 2 роки тому

    When I select C5 I get @month instead of C5 and I am unable to do calculation. How to fix this problem?

  • @taizoondean689
    @taizoondean689 2 роки тому

    Thanks

  • @shoaibrehman9988
    @shoaibrehman9988 2 роки тому +1

    Awesome trick , please turn off or slow down background music.

    • @chandoo_
      @chandoo_  2 роки тому +1

      Thanks Shoaib. I will adjust the background volume in future videos :)

  • @raops6242
    @raops6242 2 роки тому

    Amazing Sir, can this be applied for Daily Revenue date as Daily and MTD

    • @chandoo_
      @chandoo_  2 роки тому +3

      You can. Instead of MONTH(date)=1, you can use DAY(date)=1 to check for first of the month and then calculate MTD values.

  • @benbranagan3607
    @benbranagan3607 2 роки тому

    Hi, loved this. how would you do this to get an average of the YTD?

    • @chandoo_
      @chandoo_  2 роки тому

      Instead of SUM, use AVERAGE.

    • @paulisialinka
      @paulisialinka 2 роки тому

      @@chandoo_ I do have a problem with that, cuz average you would need to use numbers from the begining of the year- how to do that?

  • @kranthireddy3392
    @kranthireddy3392 2 роки тому

    Bro.. కొన్ని videos on macros కూడా చెయ్యగలరా?

    • @chandoo_
      @chandoo_  2 роки тому +1

      Sure. I already have many VBA / Macro videos. Please see the playlist here - ua-cam.com/video/nerIcLV7a2s/v-deo.html

    • @kranthireddy3392
      @kranthireddy3392 2 роки тому

      @@chandoo_ bro మీరు ఏ application ise చేస్తారు for creating youtube videos

    • @chandoo_
      @chandoo_  2 роки тому

      Please see this. I recently explained my backend process - ua-cam.com/video/P0Wb615JVZw/v-deo.html

    • @kranthireddy3392
      @kranthireddy3392 2 роки тому

      @@chandoo_ Thanks Chandoo గారు.. I have a question, can we make thumbnail using ppt? If so ఎలాగో చెప్పగలరా..

  • @ashwinkumar1708
    @ashwinkumar1708 2 роки тому

    Can we use this in a pivot? via calculated field

    • @chandoo_
      @chandoo_  2 роки тому

      In pivots, you can use year to date as a calculation option (but only for calendar dates) or DAX for financial years.

  • @omprakashthakur4515
    @omprakashthakur4515 2 роки тому

    Could I sum all line break value in Excel

  • @primeoflight6674
    @primeoflight6674 11 місяців тому

    Scan formula

  • @VijayPawar-sz6gq
    @VijayPawar-sz6gq 2 роки тому

    👍

  • @user-lr3ry4vz2o
    @user-lr3ry4vz2o 9 місяців тому

    вообще не работающий совет,диз

  • @shreyanshdangi4366
    @shreyanshdangi4366 2 місяці тому

    Thanks for this video....very helpful