DAYS function

This function will allow you to find the number of days between two dates.

Syntax

DAYS(Start Date, End Date)

  • Start Date (required) – This is the starting date of the period.
  • End Date (required) – This is the ending date of the period.

Example

In this example we find the number of days between two dates. Notice that if the end date is older than the start date the result is a negative number. The same result can be obtained by subtracting the start date from the end date.

=DAYS(A2,B2)

DAYS

About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and qualified actuary with over 15 years of experience. He has worked in a variety of industries, including insurance, ad tech, and most recently Power Platform consulting. He is a keen problem solver and has a passion for using technology to make businesses more efficient.

Related Posts

DATE function

This function will convert a day, month and year to a serial number that Excel...

read more

DAY function

This function will take a date in any format and return the day as an integer...

read more

Comments

0 Comments

Get the Latest Microsoft Excel Tips

Follow Us

Follow us to stay up to date with the latest in Microsoft Excel!

Subscribe for awesome Microsoft Excel videos 😃