Formula help

Generate an Excel date formula.

Use this page for date arithmetic, overdue rules, age calculations, and date comparisons in Excel.

Formula helpExcelFormula-only ready

How to use it

Start with the same request, then adjust it to your sheet.

Use this page for date arithmetic, overdue rules, age calculations, and date comparisons in Excel.

Step by step

  • Describe the date rule in plain English.
  • Generate the Excel formula.
  • Check the worked example before copying the formula into your workbook.

Useful variations

  • Ask for age from date of birth, due-date labels, or rolling date windows.
  • Mention whether you want a label, a boolean result, or a day count.

Worked example

Example input and output

Due Date
2026-03-01
2026-04-25

Expected output

FormulaResult
=IF(A2<TODAY()-30,"Past due","Current")Past due
=IF(A3<TODAY()-30,"Past due","Current")Current

Try it now

Open the tool with this example already filled in.
Open this example

Related pages

Keep going from here.