Sub topic 7
TODAY and volatile recalculation
This chapter assumes you can enter and edit formulas, use cell references such as A2, and apply a number format to a cell. It also assumes you know that Excel stores a date as a serial number, which earlier chapters covered. Here you will learn what TODAY returns, why it changes without you touching it, and what that costs you in real workbooks.
What TODAY returns
TODAY takes no arguments. You still type the empty parentheses.
=TODAY()The function reads the date from your computer's clock and returns it as a whole serial number with no time portion. If the clock says 27 November 2026, the cell holds 46353. That is 330 days after 1 January 2026, which is serial 46023 in the 1900 date system.
If the cell is in General format when you enter the formula, Excel switches it to a date format automatically. The stored value is still 46353. Switch the cell back to General and you will see the number.
Three consequences follow from where the value comes from:
- The result uses the clock and time zone of the computer that is calculating. A wrong system date gives wrong results.
- The result is an integer, so it works cleanly in comparisons with other date-only values.
- The formula has no precedents, meaning no cells it reads. Nothing in the workbook can change its result. Only the clock can.
Why TODAY is volatile
Excel normally recalculates a formula only when a cell it depends on changes. This saves time in large workbooks. A volatile function is an exception. Excel marks the cell as needing recalculation every time the workbook calculates, whether or not any input changed.
TODAY has to work this way. It has no inputs to change, so ordinary dependency tracking would never refresh it. Making it volatile is how it stays current.
What triggers recalculation
Volatile does not mean "updates continuously". Excel does not watch the clock. A TODAY cell refreshes only when something causes a calculation. The usual triggers are:
- Opening the workbook.
- Editing any cell that causes a recalculation, including entering a formula elsewhere.
- Pressing F9 (calculate now) or Ctrl+Alt+F9 (recalculate everything).
- Running a macro or add-in that forces a calculation.
If you leave a workbook open overnight and touch nothing, the cell will still show yesterday's date in the morning. Press F9 and it updates.
The last two steps matter most. Volatility spreads downstream. If B2 holds =TODAY()-A2 and C2 holds =B2/7, both recalculate every time, even though only B2 contains a volatile function.
Using TODAY in formulas
Because dates are numbers, TODAY combines with ordinary arithmetic. These examples assume today is 27 November 2026.
The first formula counts days elapsed since the date in A2. If A2 holds 1 November 2026 (serial 46327), the result is 26:
=TODAY()-A2The result of a date subtraction is a count of days, not a date. Excel may copy a date format onto the result cell, so you can see 26 shown as 26 January 1900. Format the cell as General or Number to fix this.
The second formula counts days until a deadline. Suppose A2 holds an invoice date of 10 November 2026 and payment is due after 30 days. The due date is 10 December 2026. The days remaining are 13:
=A2+30-TODAY()A negative result means the deadline has passed. You can turn that into a label:
=IF(A2+30<TODAY(),"Overdue","Open")The third formula builds the first day of the current month from its parts. It uses DATE, which handles any month overflow for you:
=DATE(YEAR(TODAY()),MONTH(TODAY()),1)Conditional formatting and data validation also accept TODAY. For example, a conditional formatting rule with the formula =$A2<TODAY() shades every row whose date in column A is in the past. The shading updates whenever the sheet recalculates.
Comparing with TODAY
Comparing a date to TODAY() is safe when the date is a whole number. A cell holding DATE(2026,11,27) equals TODAY() on that day. A cell holding a timestamp such as 27 November 2026 14:30 does not, because its serial number is 46353.6042 and TODAY() is 46353. For timestamps, strip the time first:
=INT(A2)=TODAY()INT rounds down to the whole number, which removes the time fraction.
TODAY compared with NOW
NOW is the sibling function. It is also volatile and also takes no arguments, but it includes the time of day as a fraction.
| Function | Returns on 27 Nov 2026 at 14:30 | Has a time part | Volatile |
|---|---|---|---|
| `TODAY()` | 46353 | No | Yes |
| `NOW()` | 46353.6042 | Yes | Yes |
Use TODAY when you only need the date. Use NOW when the time matters, for example to show elapsed hours. Subtracting a start timestamp from NOW() and multiplying by 24 gives hours:
=(NOW()-A2)*24Costs and surprises
Volatility has practical side effects. Knowing them in advance saves confusion.
- Save prompts. Excel recalculates a volatile cell when you open the file. The file is then technically changed, so Excel may ask whether to save when you close it, even though you edited nothing.
- Slower large workbooks. A volatile cell forces its whole dependent chain to recalculate each time. A few
TODAYcells are harmless. Thousands of formulas that each callTODAY()and feed other formulas can make a big workbook sluggish. - Changing history. A report built on
TODAYshows different numbers each day. If you email a workbook on Friday and the recipient opens it on Monday, "days overdue" will have grown by three. This is correct behavior for a live tracker and wrong for a month-end report. - Manual calculation mode. If calculation is set to Manual,
TODAYdoes not refresh until you press F9. Check the Formulas tab if values look stale. - Other volatile functions.
NOW,RAND,RANDBETWEEN,OFFSET, andINDIRECTbehave the same way. A formula chain that includes any of them recalculates every time.
Reducing the number of TODAY calls
If many formulas need today's date, put TODAY() in one cell and have the others refer to it. Name the cell AsOf through the Name Box, then write:
=AsOf-A2This has two benefits. There is one place to find the clock dependency, and you can replace the formula with a typed date whenever you need to reproduce a past report. Formulas that refer to AsOf still recalculate whenever it changes, but only one function reads the clock.
Freezing a date
When you need a date that does not change, enter it as a value, not a formula. Select the cell and press Ctrl+; (semicolon) to insert today's date as a constant. Excel also accepts typing a date directly, such as 2026-11-27.
To freeze an existing TODAY formula, copy the cell, then use Paste Special and choose Values. The formula is replaced by the serial number it had at that moment.
Common errors with TODAY
| Symptom | Likely cause | Fix |
|---|---|---|
| Result looks like a date such as 26 January 1900 | The cell has a date format but holds a day count | Apply General or Number format |
| Value does not change overnight | No recalculation has happened, or calculation is Manual | Press F9 or switch to Automatic |
| `=A2=TODAY()` returns FALSE for today's timestamp | A2 contains a time fraction | Compare `INT(A2)` with `TODAY()` |
| `#NAME?` error | The function name is misspelled | Check the spelling `TODAY` |
| Formula shows `TODAY` as text | The cell is formatted as Text | Set to General and re-enter the formula |
Exercises
Exercise
A workbook is saved with =TODAY() in A1 on Monday. Someone opens it on Thursday with calculation set to Automatic. What does A1 show, and why?
Show answer
It shows Thursday's date. TODAY is volatile, so Excel recalculates it when the workbook opens, and it reads the clock at that moment. The saved Monday value is replaced.
Exercise
A2 holds the date 5 December 2026. Write a formula that returns the number of days from today until A2, and say what it returns if today is 27 November 2026.
Show answer
=A2-TODAY(). From 27 November to 5 December is 8 days, so the formula returns 8. Format the cell as General or Number to see 8 instead of a date.
Exercise
A cell holds =NOW() formatted to show the date only. A colleague writes =A1=TODAY() in another cell and gets FALSE. Why, and how do you fix it?
Show answer
The date-only format hides the time fraction, but the stored value still has one. NOW() is something like 46353.6042, while TODAY() is 46353, so they are not equal. Compare =INT(A1)=TODAY(), or use TODAY() in A1 in the first place.