Just subtract one date from the other. For example if cell A2 has an invoice date in it of 1/1/2015 and cell B2 has a date paid of 1/30/2015, then you could enter use the formula =B2-A2 to get the number of days between the two dates, or 29.
How do I subtract two dates in Excel?
Heres how:Type a start time and end time. In this example, the start time is in cell D80 and the end time is in E80. Set the h:mm AM/PM format. Select both dates and press CTRL + 1 (or. Subtract the two times. In another cell, subtract the start time cell from the end time cell.Set the h:mm format. Press CTRL + 1 (or.
Can you add and subtract dates in Excel?
You can add or subtract a number of days to or from a date by using a simple formula, or you can use worksheet functions that are designed to work specifically with dates in Excel.
What is date and time function in Excel?
Advertisements. Excel Date and Time functions can be used to extract information from, and perform operations on, Excel Dates and Times. Some of the Excel Date & Time functions are new to Excel 2010 or Excel 2013, so are not available in earlier versions of Excel.