Due date countdown in Google Sheets

Show how many days are left until each due date, turn overdue rows red, and, if you want, get an email before the day comes.

1. The days-left formula

If your due date is in column E, put this in the next column and copy it down:

=IF(E2="", "", E2 - TODAY())

It shows 5 five days before, 0 on the day, and a negative number once it's overdue. If you see a date instead of a number, select the column and choose Format → Number → Number.

Prefer a function? =DAYS(E2, TODAY()) gives the same result.

2. A status label

=IF(F2="", "", IF(F2 < 0, "Overdue", IF(F2 <= 3, "Due soon", "Upcoming")))

3. Highlight overdue in red

  1. Select the status column.
  2. Format → Conditional formatting.
  3. Format cells if: Text is exactly → Overdue, and pick red.
  4. Click Add another rule for Due soon in yellow.

Want this done for you? Our free Rent Tracker already has the countdown, status and colours set up.

Get an email instead of checking

A countdown only helps if you open the sheet. The free Email Reminders add-on emails you (or the person in each row) a set number of days before each date, once, monthly or yearly, even when the sheet is closed. See how automatic emails from a Google Sheet work.

Install Email Reminders (free)

FAQ

Why does my countdown show a date?

The cell is formatted as a date. Change it with Format → Number → Number.

How do I count business days only?

Use =NETWORKDAYS(TODAY(), E2) instead.