DAYS function

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


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.


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.



About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and freelance consultant and trainer specializing in Excel, Power BI, Power Automate, Power Apps and SharePoint. You can find other interesting articles from John on his blog or YouTube channel.


Related Posts

NOW function

This function will return the current date and time. Syntax NOW() There are no...

read more

DATE function

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

read more



Get the Latest Microsoft Excel Tips

Follow Us

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