• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Lesson 131: How to use DateDif in Excel

AnonyViet by AnonyViet
January 25, 2023
in Office
0

To get the number of days, weeks or years between two dates in Excel, use the DATEDIF function. The DATEDIF function has three parameters that make it easy to use.

Join the channel Telegram of the AnonyViet 👉 Link 👈

How to use DateDif in Excel

1. Enter “d” for the third parameter to get the number of days between two different times.

Lesson 131: How to use DateDif in Excel 13

Note: =A2-A1 gives the same result.

2. Enter “m” for the third argument to get the number of months between two different dates.

Lesson 131: How to use DateDif in Excel 14

3. Enter “y” for the third parameter to get the number of years between two different dates.

Lesson 131: How to use DateDif in Excel 15

4. Enter “yd” for the third parameter to skip the year and get the number of days between the two dates.

Lesson 131: How to use DateDif in Excel 16

5. Enter “md” for the third parameter to skip the month and get the number of days between the two dates.

Lesson 131: How to use DateDif in Excel 17

6. Enter “ym” for the third parameter to skip the year and get the number of months between the two dates.

Lesson 131: How to use DateDif in Excel 18

Important note: the DATEDIF function returns the full number of days, months, or years. This may give unexpected results when the number of days/months of the second day is lower than the number of days/months of the first day. See the example below.

Lesson 131: How to use DateDif in Excel 19

The result we get is 6 years. We need to use the following formula to return 7 years.

Lesson 131: How to use DateDif in Excel 20

In addition, you can also view many other excel articles here.

The article achieved: 5/5 – (100 votes)

Tags: DateDifExcelLesson
Previous Post

TOP 4 alternative Chat applications when Zalo charges users

Next Post

Lesson 137: Calculate days to birthdays in Excel

AnonyViet

AnonyViet

Related Posts

Automatically check and correct spelling errors on Google Docs
Office

Automatically check and correct spelling errors on Google Docs

February 23, 2025
Instructions for downloading Google Docs files easily on any device
Office

Instructions for downloading Google Docs files easily on any device

December 18, 2024
Launching AI image creation feature on Google Docs
Office

Launching AI image creation feature on Google Docs

November 20, 2024
Instructions for using Google Docs without internet
Office

Instructions for using Google Docs without internet

November 2, 2024
Share the link to the sample file to create QR codes in Google Sheets
Office

Share the link to the sample file to create QR codes in Google Sheets

September 30, 2024
Proton Docs: Google Docs Alternative with End-to-End Encryption
Office

Proton Docs: Google Docs Alternative with End-to-End Encryption

September 21, 2024
Next Post
Lesson 137: Calculate days to birthdays in Excel

Lesson 137: Calculate days to birthdays in Excel

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
Wowhay.com – The door opens the world of modern knowledge and network culture

Wowhay.com – The door opens the world of modern knowledge and network culture

August 13, 2025
Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
How to add application to your favorite bar

How to add application to your favorite bar

August 14, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Instructions for receiving 80GB of free data from VinaPhone from August 15

Instructions for receiving 80GB of free data from VinaPhone from August 15

August 15, 2025
Online driving exam preparation: Support theory and practice

Online driving exam preparation: Support theory and practice

August 15, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí mm88 8XBET mm88 trang chủ new88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply