Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=MAX(0,TODAY()-A2)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Wrap with IF: =IF(TODAY()>A2,TODAY()-A2&" days overdue","On time")
Yes — use =COUNTIF(B2:B6,">0") to count rows where the overdue days are positive.
Work with the current date and measure the gap between two dates.
How-toCalculate completed years at an explicit as-of date with DATEDIF and numeric DATE inputs, avoiding ambiguous date text and changing examples.
ReferenceCalculates the difference between two dates in years, months, or days using a unit code string.
How-toSubtract one date from another to get the number of days, or count working days with NETWORKDAYS. Works in both apps.
How-toShift a date forward or back by a number of months with EDATE — it handles month lengths correctly. Works in both apps.
How-toMark rows whose due date has passed by comparing it to TODAY() with IF. Works the same in Excel and Google Sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: