Module 9 · Dates and Times
Days until the deadline

Wei runs a cleaning company. He writes dates in three formats: 3/6, March 6th and 6.3. His crew is never sure which day he means. Now his jobs are in Excel. Each job has a deadline. Wei wants to know how many days are left.
Steps
Subtract two dates
Excel keeps a date as a number of days. When you subtract two dates, you get the number of days between them.
How to do it
- Select the cell for the result.
- Type = and the cell with the later date.
- Type a minus sign and the cell with the earlier date.
- Press Enter.
- To copy the formula down, write =C5-$I$4. The $ keeps today in I4.
- If the result shows a date, format the cell as a number.
=C5-I4Task: Calculate the days left for Pine Hotel. Put the result in cell D7.
Subtract days from a date
A date minus a number of days gives a new date. Excel shows the result as a date.
How to do it
- Click cell F5.
- Type = and the date. Then type a minus sign and the number of days.
- Press Enter.
- A date plus a number works the same way: =C5+14 is two weeks after the date in C5.
=C5-E5Task: Find the last start day for Pine Hotel. Put the result in cell F7.