Module 9 · Dates and Times · Days until the deadline

Wei Chen owns Spark & Shine Cleaning

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.

Loading the spreadsheet…

Module 9 · Dates and Times

Days until the deadline

Wei Chen, owns Spark & Shine Cleaning
Wei Chen owns Spark & Shine Cleaning

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

  1. 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

    1. Select the cell for the result.
    2. Type = and the cell with the later date.
    3. Type a minus sign and the cell with the earlier date.
    4. Press Enter.
    5. To copy the formula down, write =C5-$I$4. The $ keeps today in I4.
    6. If the result shows a date, format the cell as a number.

    =C5-I4

    Task: Calculate the days left for Pine Hotel. Put the result in cell D7.

  2. 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

    1. Click cell F5.
    2. Type = and the date. Then type a minus sign and the number of days.
    3. Press Enter.
    4. A date plus a number works the same way: =C5+14 is two weeks after the date in C5.

    =C5-E5

    Task: Find the last start day for Pine Hotel. Put the result in cell F7.