How to Calculate Difference Between Two Dates in Excel

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • This video tutorial shows how to calculate the difference between two dates in Excel. At the end, you’ll be able to conveniently use Excel formulas to figure out the exact number of years, months and days passed between two dates. Out of several possibilities, we’ll have a look at the easiest and quickest one to learn how to calculate the difference between two dates. The most suitable function to do this kind of calculation is the function ‘DATE-DIF’. We’ll go through how it works right away.
    Don’t miss out a great opportunity to learn more:
    Time Calculation In Excel
    ► • How to Insert and Form...
    How to Calculate Hours Worked in Excel
    ► • How to Calculate Hours...
    Date Calculations in Excel
    ► • How to Use the TODAY F...
    ================
    ❤️ Become a Patron:
    Do you find our tutorials useful? Join this channel and become a patron
    RUclips ► www.youtube.com/@ExcelTutoria...
    ================
    ⏱️Timestamps⏱️
    0:00 How to Use Color Scales in Excel (Conditional Formatting)
    0:55 Calculate Difference Between Two Dates in Excel Using the Function ‘DATE-DIF’
    1:29 How to Copy the Function ‘DATE-DIF’ in Other Data Table Rows
    2:06 How to Calculate How Many Months and Days Passed between the Two Dates
    2:40 How to Calculate How Many Days Passed between the Two Dates
    ================
    Is this your first time on EasyClick? We’ll be more than happy to welcome you in our online community. Hit that Subscribe button and join the EasyClickers! :)
    ► ruclips.net/user/ExcelTutori...
    Transcription How to Sort Alphabetically in Excel here
    ► www.easyclickacademy.com/how-...
    Got Microsoft Office 365? Get it here
    ► www.easyclickacademy.com/buy-...
    Become a Patron:
    Do you find our tutorials useful? Chip in to keep us going. You can make a one-off donation with PayPal or support us regularly on RUclips. Thank you!
    PayPal ► www.paypal.com/cgi-bin/webscr...
    RUclips ► / @exceltutorialseasycli...
    Connect:
    LinkedIn ► / easyclickacademy
    Facebook ► / easyclickacademy
    Screen Recorder & Video Editor:
    Camtasia ► techsmith.pxf.io/c/1266206/34...
    Voice over artist ► seanantonyvo.com
    #ExcelQuickAndEasy #EasyClickAcademy #MicrosoftExcelTutorial
  • ХоббиХобби

Комментарии • 155

  • @stewarttaylor5522
    @stewarttaylor5522 11 месяцев назад +3

    Brilliant video. Straight to the point and no faffing around 😀 Thanks a million 👍

  • @captainkeyboard1007
    @captainkeyboard1007 3 года назад

    Thank you, Frank. You are a friend indeed.

  • @susanakaneshige661
    @susanakaneshige661 4 года назад +3

    This is what I needed to subtract dates. I was trying format cells first so I could manually subtract cells. This was a much more efficient option. Thanks!

  • @tracyl3015
    @tracyl3015 2 года назад +2

    Super easy to follow along with :) Thank you!

  • @balveerkumar9686
    @balveerkumar9686 3 года назад

    Thank you so much sir. This formula is very important for me. Lot's of love ❤️❤️

  • @Zer0ShOt007
    @Zer0ShOt007 3 года назад +2

    THANK YOU GREAT JOB STRAIGHT TO THE POINT SUBBED

  • @melissascholfield1162
    @melissascholfield1162 3 года назад +3

    I need to do a report. You are a life saver!!!

  • @nurmohammed504
    @nurmohammed504 3 года назад

    Many thanks boss its helpful to me specially when I am calculating termination date for staffs

  • @phanikumar5262
    @phanikumar5262 3 года назад +1

    Thank you so much.

  • @selder_7
    @selder_7 10 месяцев назад

    Ah this works so well, I had one coloumn with date and time in one and just date in the other and it knew to just ignore the times in the calculation.
    Got stuck for a minute until I realised the column I was outputting the formula into was also set to a date format, I set it to General format and the gap in number of days showed up.
    Thanks so much

  • @myansis4047
    @myansis4047 9 месяцев назад

    Graet video dude.... Very simply you have explained the stuff....
    Thanks....

  • @pranavsheth888
    @pranavsheth888 3 года назад

    Thanks Sir.
    Very Useful Formula.

  • @rizwanshahzad2054
    @rizwanshahzad2054 3 года назад

    Thanks alot for sharing this useful method

  • @playersden7071
    @playersden7071 2 года назад

    Splendid! brilliantly done👍👍✔✔

  • @ENGSchool
    @ENGSchool Месяц назад

    great video

  • @akhtarji2470
    @akhtarji2470 2 года назад

    Many many thanks to you. This video is going to save my alot time.

  • @palobar9974
    @palobar9974 2 года назад

    Thank you for making this video. Assuming the start and end dates include AM/PM time as well, I am struggling to calculate the difference in the following format (eg 36d,12h,15m). Any suggestions?

  • @pmomalley
    @pmomalley 3 года назад

    AWESOME. Thanks!

  • @shashikantsalvi5025
    @shashikantsalvi5025 2 месяца назад

    THANKS BRO, NICE AND TO THE POINT INFORMATION🙏

  • @dhanamlakshmi35
    @dhanamlakshmi35 4 месяца назад

    Thanks very much, very helpful this video

  • @breaddepot5794
    @breaddepot5794 2 года назад

    great turtorial

  • @AlexMTV14
    @AlexMTV14 2 года назад +3

    Hi- Great video. Question- Is there a way to calculate the number of months within a year in a range? For example, if you are looking at 6/1/21 to 10/1/22, this formula would give you 16- but is there a way to show just the months hitting 2022? In this example, the output would be 10 months.

  • @nazruddinmi9393
    @nazruddinmi9393 3 года назад

    Thank you so much sir

  • @prasannakrishnamurthy4687
    @prasannakrishnamurthy4687 3 года назад

    Thank you sir ,very useful

  • @soniya.ssoniya.s2856
    @soniya.ssoniya.s2856 3 года назад

    Very helpful for us thank you so much sir

  • @nazishschughtai5712
    @nazishschughtai5712 2 года назад

    TYSM Respected Sir.. it helps me alot.

  • @New_moon305
    @New_moon305 3 года назад

    Excellent ❤️🙏👍

  • @William67
    @William67 3 года назад +2

    Very helpful, thank you! How can i make it to add one day to the final count? EX 10-15 is really 6 days but it only counts 5 days. I was able to ADD a +1 to my day addition but I cant figure out how to do it to this one.

  • @kamranbk
    @kamranbk 2 года назад

    Excellent explanation

  • @MdShohebUddin
    @MdShohebUddin 2 года назад

    Excellent tutorial.....

  • @shaogg9626
    @shaogg9626 3 года назад

    Thank you!

  • @shireenshaikh2668
    @shireenshaikh2668 3 года назад

    Thanx for this helpful video

  • @christellelafrance3706
    @christellelafrance3706 3 года назад

    Thank very much very interesting.

  • @krantikumarrajole4466
    @krantikumarrajole4466 Год назад

    Thank you so much sir.

  • @calvin_siro
    @calvin_siro 4 года назад

    Good job, I like it

  • @TheNamonama
    @TheNamonama 9 месяцев назад

    thank you so much..grt effort

  • @shanutarak82
    @shanutarak82 3 года назад

    Tq mate ... It helped me today to do a report 👍

  • @subhakarbojja4068
    @subhakarbojja4068 3 года назад

    Very useful sir...

  • @manojithalder75
    @manojithalder75 3 года назад

    Thank you sir

  • @karthikd8093
    @karthikd8093 3 года назад

    Very useful

  • @KiranKumar-ok2cx
    @KiranKumar-ok2cx 2 года назад

    Good information

  • @buddhikawickramasinha1401
    @buddhikawickramasinha1401 2 года назад

    thanks sir

  • @joeym.3555
    @joeym.3555 2 года назад

    Thank you

  • @powerstarpawankalyan5533
    @powerstarpawankalyan5533 3 года назад

    Very good 👍

  • @AliAbbas-uh4oy
    @AliAbbas-uh4oy 3 года назад +3

    Thanks, sir, very informative video.

  • @maheshpattanashetti961
    @maheshpattanashetti961 2 года назад

    Super and Simple

  • @rajkumarsoni7683
    @rajkumarsoni7683 Год назад

    Thanks

  • @MrMalintent
    @MrMalintent 3 года назад +10

    If you get results that look similar to something like "1/0/1900" change the format to "General."

  • @rabihelias1324
    @rabihelias1324 3 года назад +1

    Hello Frank and others, that was helpful, but what if I wanted my amswer to be for example: 2 years 3 months and 16 days?
    Is that would be possible??

  • @DSureshKumar
    @DSureshKumar 3 года назад

    I will be happy to see if you can make a videos in VBA

  • @Mack-O.Lambert-JR.Mississippi
    @Mack-O.Lambert-JR.Mississippi Год назад

    You have helped me so much with my job I feel as though I owe you a paycheck.

  • @lawrencekarow
    @lawrencekarow 3 года назад +1

    This is great. But I need to calculate the first and the las tdate. So 11/1 to 11/3 needs to come up with "3" instead of 2. Don't want to leave out weekends and holidays

  • @harshchoksi8471
    @harshchoksi8471 3 года назад

    Awesome

  • @khalida599
    @khalida599 4 года назад +3

    Hi, it did not work with me. I am using Mac workbook. Any suggestions ?

  • @yibongemdalane4000
    @yibongemdalane4000 3 года назад

    You
    Good sir
    Made me rely on a formula
    That didn't even exist
    I looked every where for this on excel and i did not find and anything close to this

  • @ranajaysengupta899
    @ranajaysengupta899 3 года назад

    One query, when Today minus the cell which contains date, returns the number of days, how the datediff is better or different for calculating number of days.

  • @davidlc8508
    @davidlc8508 Год назад

    Can you explain how you would work out the range between dates if the start date was after the end date? Datedif only seems to work if the dates are in order. I need a formula to determine the range between dates, can you help?

  • @meghanandnayak4324
    @meghanandnayak4324 3 года назад +6

    Thank you so much... But how to calculate year, month, and days between two date ranges. For eg., 10-01-2000 to 15-06-2010 as 10 years 5 months and 5 days

    • @mianusman9139
      @mianusman9139 2 года назад

      (simple)first of all Calculate days between two dates and then convert days in to a months or years

  • @melisasontillano1871
    @melisasontillano1871 3 года назад

    How about if you want to calculate the end date, given the completed days??

  • @yashhsood
    @yashhsood 4 года назад

    what if i want to include end month also, jan also.... I need 13 months as result.

  • @molliestolzer
    @molliestolzer 17 дней назад

    Is there a way to make it express the date in the format of years and months? such as 8 years, 4 months old

  • @farhankhan3994
    @farhankhan3994 2 года назад

    Thanks, could you please help me get total number of hour in same sheet?

  • @EmpyreanLightASMR
    @EmpyreanLightASMR 2 года назад

    I love how the difference between 2/11/1956 to 11/10/1999 is 43 years, 524 months, and 15,978 days. This is my life.

  • @venugopalantp6041
    @venugopalantp6041 Год назад

    Super

  • @wilidi4108
    @wilidi4108 4 года назад +1

    The function "DATEDIF" can't be found in the 2016 version (360) version on my computer. Where do I get it? Please me with this very useful function. Please help. Thanks A LOT.

  • @minamishail_Tech2024
    @minamishail_Tech2024 2 года назад

    This function is available in all office versions or only 365 ?

  • @Nononautchy
    @Nononautchy 4 года назад +1

    Hey! I really like your videos. 🥰
    I'd like if you made a video on how to change
    "Delhi" to "delhi" in a string "Delhi to Mumbai" using lowercase. I tried doing it but it is not showing results.
    Thank you..
    Best,
    Shreya

    • @martinsger
      @martinsger 3 года назад

      try : =lower("Delhi to Mumbai"), other: =proper("delhi")

  • @zkgconnect7624
    @zkgconnect7624 3 года назад

    in case we have 1 date availabe and other not yet how to calculate without showing eror???

  • @EnjoyFunnyVideo
    @EnjoyFunnyVideo 3 года назад

    Thanks a lot this is very helpful

  • @ibnea.shakurshaikh5689
    @ibnea.shakurshaikh5689 3 года назад

    If we want calculate for leap year???

  • @mugilannagooran9521
    @mugilannagooran9521 2 года назад

    How to multiply timings in excel pls explain

  • @tamiboliveira
    @tamiboliveira Год назад

    Hi! Thank you for the informations. Can you help me calculate difference between more than 2 dates? For example, I have some hire with more than one date admission and I need sum those difference, to know when my employee complete work anniversary:
    First admission: 02-02-2000 to 06-29-2004,
    Second admission: 03-17-2006 to 04-10-2007
    and third admission: 09-14-2008 to now
    Thank You!!

  • @jessehung5072
    @jessehung5072 4 года назад +1

    Is it possible to to show years+months? For example in your column 3 it would be 6.2years

    • @indiakarthikscout
      @indiakarthikscout 4 года назад +2

      Yes formula will be =ROUNDUP((DATEDIF(B3,C3,"M"))/12,2)

    • @martinsger
      @martinsger 3 года назад

      6 year, 0,2 of the year = 0,2*12 = 2 m 6 y, 2 m

  • @MohammedSaeedAwad
    @MohammedSaeedAwad 6 месяцев назад

    why i can't find (datedif) equation in my excel, even i changed my excel version ?

  • @piyushkumar-vn5nv
    @piyushkumar-vn5nv 2 года назад

    can u apply formula at this date , 16/11/1995 to 30/09/2018, its showing error

  • @prasadjadhav4487
    @prasadjadhav4487 Год назад

    I am getting value error for this excel operation...what would be solution.......my date formats are correct

  • @preetamsingh5792
    @preetamsingh5792 3 года назад

    Excellent
    is it possible to calculate days from a date till today and it should change everyay

  • @Kevin-xd2yv
    @Kevin-xd2yv 3 года назад

    #VALUE!

  • @Mack-O.Lambert-JR.Mississippi
    @Mack-O.Lambert-JR.Mississippi Год назад

    I had a ex boss who made a template and I would just click on it and my new sheet and it would highlight it a certain color for times breaker opened another for closed and so on. I would like to see one on how he did that.

  • @KpopR9
    @KpopR9 2 года назад

    How can I calculate the year difference between a year and today's date?

  • @rootaficationism
    @rootaficationism 3 года назад +1

    I think they replaces this command with DAYS(end date cell, start date cell)

  • @rameshmenon1069
    @rameshmenon1069 3 года назад

    calcualting date diffrenec is very consuming before, this formula has made it easy,,,, what about hours and minutes...suppose start date and end dates have hours and minutes will the same formula work or we need to modify ..and we need the final answer expressed in years , months and days,,, say as an example 3 yrs, 7 months 45 days..

  • @shubhamkishor3464
    @shubhamkishor3464 Год назад

    Thanks 😊

  • @Mack-O.Lambert-JR.Mississippi
    @Mack-O.Lambert-JR.Mississippi Год назад

    I work for a power company and the time a alarm came in from the time a breaker tripped or closed gets lost in the large amount of data we collect.

  • @mdsahil8776
    @mdsahil8776 3 года назад

    Thanks you,,,,,But
    I don't have that function in excel

  • @akakarun8
    @akakarun8 3 года назад

    How to calculate business days between 2 date considering Sat and Sun is non business days?

  • @3n433
    @3n433 3 года назад

    If start date is 1Jan20 to 31Dec20 then it isnot showing 366 days.. pla help

  • @VijayPawar-sz6gq
    @VijayPawar-sz6gq Месяц назад

    ❤ly

  • @rosanneschoech8739
    @rosanneschoech8739 3 года назад

    I am using Month and it works but if there is no difference in months i get an error

  • @biybig3662
    @biybig3662 2 года назад

    You have done a BiG thing. 😎

  • @srinivas270786
    @srinivas270786 3 года назад

    Explained well - But how to check >1 yr and how it will be visible
    example from 01/01/2020 to 01/05/2021 is 1.5 yrs in general
    how to calculate the same

  • @jaggubulla
    @jaggubulla 2 года назад

    "if i want to calculate completed year for common date for all" PLEASE INFORM PLEASE INFORM FORMULA

  • @HeaDShotHNb
    @HeaDShotHNb 2 года назад

    What if there is no datedif function available in my excel

  • @MyDaiju
    @MyDaiju 3 года назад

    I am using excel 2010 , this is not working in my excel sheet. Why any idea?

  • @MizterD-05
    @MizterD-05 4 года назад

    can you please help me..
    I received a Document on 23-Jul-20.
    Then I want to count the day I received the Document til today but excluding the holidays and day-off (Rest Day-Fri. and Sat.)
    How can I formula it in Today Function.?
    This is the Sample.
    In Column Width A1 - 23-Jul-20 (I received the Document)
    In Column Width B1 - 1 (starting counting days of the received documents excluding day off/rest day and holidays)

    • @ExcelTutorialsEasyClickAcademy
      @ExcelTutorialsEasyClickAcademy  4 года назад

      Edward thank you for your comment. Excellent question and a great tip for a new video :)

    • @MizterD-05
      @MizterD-05 4 года назад

      @@ExcelTutorialsEasyClickAcademy would u please upload a video in regards to my concern.?
      and once uploaded, can you please mention me in your tags or can u message me or it depends on how u will info me.. hehehehe

  • @sannaprasanna35
    @sannaprasanna35 4 года назад

    Total days how to convert each month

  • @finntv4280
    @finntv4280 3 года назад

    Should the date be in number form?

  • @mdwaseem5217
    @mdwaseem5217 4 года назад

    Find the difference between the dates separated by . Plse

  • @wendymaher2530
    @wendymaher2530 2 года назад

    This did not work for me, do not have the function datedif result is #num?

  • @user-cr5hu9id3v
    @user-cr5hu9id3v 7 месяцев назад

    Ticket create date : 05/01/2024 09:30 AM, Ticket closing date: 07/01/2024 12:30 PM, I want the total duration but after 09 pm to 09 am i dont want to count the hours, whats the excel formula. please help.