In Excel, if you need to calculate the difference between two dates in years, month, or days, the DATEDIF function will handle it. DATEDIF is "Date & Dif". It is an interesting function since it does not show up in the Date & Time function in Excel. DATEDIF has three arguments - start date, end date, and date unit (year/month/ or date).
Reason to use DATEDIF
Get days, months, or years between two dates
HR could use this to see how long employees have worked. We could track how long customers have been in the system.
Syntax
=DATEDIF (start_date, end_date, unit)
File download for DateDif - two worksheets
[ Ссылка ]
Chapters:
0:00 Intro
0:45 DateDif - Year Y
2:36 DateDif - Month M
2:47 DateDif - Day D
3:45 DateDif - YM
4:37 DateDif - MD
5:00 absolute & relative
6:02 asbolute & mixed
7:35 important note about file
Unit Result
Screenshot with examples [ Ссылка ]
"y" Difference in complete years
"m" Difference in complete months
"d" Difference in days
"md" Difference in days, ignoring months and years
"ym" Difference in months, ignoring years
"yd" Difference in days, ignoring years
#msexcel #microsoftexcel #chrismenardtraining
Warning: Excel provides the DATEDIF function in order to support older workbooks from Lotus 1-2-3. The DATEDIF function may calculate incorrect results under certain scenarios. Please see the known issues section of this article for further details.
Chris Menard's website: [ Ссылка ]
Cristian's YouTube Channel: [ Ссылка ]
And make sure you subscribe to my channel!
-- EQUIPMENT USED ---------------------------------
○ My camera – [ Ссылка ]
○ Microphone - [ Ссылка ]
○ Camera tripod – [ Ссылка ]
○ Studio lights - [ Ссылка ]
○ Dual monitor mount stand - [ Ссылка ]
○ Web camera – [ Ссылка ]
○ Shock mount - [ Ссылка ]
○ Boom Arm - [ Ссылка ]
-- SOFTWARE USED ---------------------------------
○ Screen recording – Camtasia – [ Ссылка ]
○ Screenshots – Snagit – [ Ссылка ]
○ YouTube keyword search – TubeBuddy – [ Ссылка ]
DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links I provide, I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel, so I can continue to provide you with free content each week!
Ещё видео!