Module 9 · Dates and Times · Invoice due dates

Wei Chen owns Spark & Shine Cleaning

Wei sends invoices. His clients pay at the end of the next month. Wei used to count the days on a paper calendar, in all three of his date formats. His contracts also renew after some months. Excel can find both dates for him.

Loading the spreadsheet…

Module 9 · Dates and Times

Invoice due dates

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

Wei sends invoices. His clients pay at the end of the next month. Wei used to count the days on a paper calendar, in all three of his date formats. His contracts also renew after some months. Excel can find both dates for him.

Steps

  1. Find the end of a month with EOMONTH

    EOMONTH gives the last day of a month. The second value moves the month: 0 is the same month, 1 is the next month.

    How to do it

    1. Select the cell for the result.
    2. Type =EOMONTH(
    3. Type the cell with the date, a comma, the number of months and a closing bracket.
    4. Press Enter.
    5. EOMONTH gives a number. Format the cell as a date to see the date. In this sheet, the cells already have a date format.
    6. EOMONTH(C5,0) gives the end of the same month.

    =EOMONTH(C5,1)

    Task: Find the due date of the Pine Hotel invoice. Put the result in cell D7.

  2. Add months with EDATE

    EDATE adds a number of months to a date. The day stays the same if the month has it.

    How to do it

    1. Click cell H5.
    2. Type =EDATE( and the cell with the date. Type a comma, the number of months and a closing bracket.
    3. Press Enter.
    4. A negative number goes back: EDATE(F5,-1) is one month before.

    =EDATE(F5,G5)

    Task: Find the renewal date of the Pine Hotel contract. Put the result in cell H7.