Calculate the Number of Days Between Dates in Excel

Hi again,

There is a really useful undocumented function in Excel called Datedif().  It calculates the differences between two given dates in the unit of time specified:

= DATEDIF ( start_date , end_date , unit )

The function has three arguments that need to be entered as part of the function:

  • start_date – the first or starting date.
  • end_date – the second or last date.
  • unit – tells the function to find the number of days (“D”), complete months (“M”), or complete years (“Y”) between the two dates.

The unit parameter MUST be enclosed in quotes and start_date MUST be less than end_date otherwise an error will occur.

More at these links below:

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s