FormulaCraft

How to flag overdue dates in Excel and Google Sheets

Topic:Date arithmetic
Excel & Google Sheets
=IF(TODAY()>A2, "Overdue", "OK")

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1A2 holds the due date.
  2. 2TODAY() is always the current date, so the check stays live.
  3. 3IF returns "Overdue" when the date has passed and "OK" otherwise.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How do I flag dates due within the next 7 days?

Compare to TODAY()+7: =IF(A2<=TODAY()+7, "Due soon", "OK"), optionally nested with the overdue check.

More on Date arithmetic

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: