TODAY and date math in Excel: examples and practice
TODAY gives back the date of today, and Excel stores every date as a number of days. For example, =C2-B2 gives the number of days between the sent date and the due date.
Syntax
=TODAY()=end_date - start_date=date + days
TODAY()- No arguments. The brackets stay empty. The date changes every day when the file calculates.
date + days- Add a number to a date to move it forward. Subtract to move it back.
end_date - start_date- Subtract two dates to get the number of days between them.
Examples
Example data
| A | B | C | |
|---|---|---|---|
| 1 | Invoice | Sent | Due |
| 2 | INV-1 | 11/2/2026 | 12/2/2026 |
| 3 | INV-2 | 11/10/2026 | 12/24/2026 |
| 4 | INV-3 | 11/22/2026 | 12/22/2026 |
| Formula | Result | What it does |
|---|---|---|
=TODAY() | 11/22/2026 | Gives the date of today. On November 22, 2026, it shows 11/22/2026. Tomorrow it shows a new date. |
=C2-B2 | 30 | Due date minus sent date: INV-1 has 30 days to pay. |
=B4+14 | 12/6/2026 | Adds 14 days to the sent date of INV-3. Format the cell as a date to see a date. |
Try it
In cell E3, calculate the days between the sent date and the due date of INV-2.
Show the solution
=C3-B3 → 44
Common mistakes
The wrong format on the result
=B4+14 can show 46362, and =C2-B2 can show 1/30/1900. The value is correct, only the format is wrong. Use Short Date for dates and General for days.
Dates stored as text
A date from another system can be text. Then =C2-B2 gives #VALUE!. Type the date again or use DATEVALUE.
TODAY in a report that must not change
TODAY changes every day. To keep the date, press Ctrl+;. It types the date of today as a fixed value. Ctrl+Shift+; (Mac: Cmd+;) types the time.

Practice this in a story
This lesson does not use TODAY. It practices the same date math with a fixed date in a cell, so the result stays the same every day.
Days until the deadline · Module 9 · Dates and Times · 4 min
Wei runs a cleaning company. He writes dates in three formats: 3/6, March 6th and 6.3. His crew is never sure which day he means. Now his jobs are in Excel. Each job has a deadline. Wei wants to know how many days are left.
Practice this in a storyMore lessons with TODAY and date math
- Build and split dates · Module 9 · DATE, YEAR, MONTH, DAY
- Rentals in May · Module 6 · COUNTIFS, dates