XL: Calculating the Number of Days Between Two Dates

ID: Q27089


The information in this article applies to:

In Microsoft Excel, to find the number of days between two dates, you can use the following formula


   =Date2-Date1 


where "Date2" represents the later of the two dates and "Date1" represents the earlier of the two dates.

Format the cell that contains this formula as "General" so the cell displays the difference between the two dates in number of days.

Additional query words: 4.00a 5.00a 5.00c 7.00a 97 98 XL98 XL97 XL7 XL5 XL4 XL3


Keywords          : 
Version           : WINDOWS:3.0,4.0,4.0a,5.0,5.0c,7.0,7.0a,97; MACINTOSH: 3.0,4.0,5.0,5.0a,98
Platform          : MACINTOSH WINDOWS 
Issue type        : kbhowto 

Last Reviewed: March 11, 1999