# Excel volatile functions: find, test and replace them

> Excel volatile functions recalculate every time Excel does. See the list, why INDIRECT and OFFSET hide links from an audit, and what to use instead.

Page: https://formulaudit.com/blog/excel-volatile-functions

Published 2026-11-23

Tags: Model review, Auditing

Excel volatile functions recalculate every time Excel does, even when nothing they read has changed. The usual complaint is speed. For a reviewer, speed is the smaller problem. Two of these functions, `INDIRECT` and `OFFSET`, also break the trail from a result to its inputs. A third, `TODAY`, changes the answer after sign-off.

The steps below suit analysts who build models and reviewers who inherit them. They cover the list of functions, the slow recalculation and the hidden links. Then come the search and the replacements.

## Which Excel functions are volatile

Microsoft's page on [Excel recalculation](https://learn.microsoft.com/en-us/office/client-developer/excel/excel-recalculation) defines the term. Excel cannot assume that the value of a volatile function stays the same, even if its arguments have not changed. It therefore recalculates the cell, and everything that depends on it, at every recalculation.

Microsoft's page on [Evaluate Formula](https://support.microsoft.com/en-us/office/evaluate-a-nested-formula-one-step-at-a-time-59a201ae-d1dc-4b15-8586-a70aa409b8a7) gives a short list of functions that recalculate at each change. In groups, they are:

- **Dates and times:** `NOW` and `TODAY`.
- **Random numbers:** `RAND` and `RANDBETWEEN`. Decision Models (below) adds `RANDARRAY`.
- **References built on the fly:** `INDIRECT` and `OFFSET`.
- **Information:** `CELL` and `INFO`. The recalculation page says these depend on the arguments. Decision Models adds `SHEET` and `SHEETS`.
- **A special case:** `SUMIF`, in some scenarios. Charles Williams at [Decision Models](https://www.decisionmodels.com/calcsecretsi.htm) gives the case: the two ranges have different sizes. His example is `=SUMIF(A1:A4,">0",B1)`.

A VBA function is not volatile by default. It becomes volatile if its code calls `Application.Volatile`.

`INDEX` is not on the list. Microsoft's page on [calculation performance](https://learn.microsoft.com/en-us/office/vba/excel/concepts/excel-performance/excel-improving-calculation-performance) says that `INDEX`, `ROWS`, `COLUMNS` and `AREAS` are not volatile. Some older documentation said they were.

## Why they slow a model down

Excel normally recalculates only the cells that a change affects. A volatile cell skips that rule. It is always on the list, and so is every cell downstream of it.

The chain matters more than the count. One `TODAY()` in a title that nothing reads costs almost nothing. One `TODAY()` in a start date that drives every column of a 10-year model recalculates the whole model. It does that after every entry.

The function does not have to run to count. Decision Models shows that `=IF(1<2,99,NOW())` is volatile, although `NOW` is never reached. A volatile function anywhere in the formula is enough.

### What triggers an Excel recalculation

Typing a value is not the only trigger. In Automatic mode, the recalculation page lists these actions among others:

- You insert or delete a row or a column.
- You rename a sheet.
- You add, change or delete a defined name.
- You use some AutoFilter actions.
- You hide or unhide rows.

So a model full of volatile cells can stall when you only filter a list. `F9` recalculates what is marked as changed, plus the volatile cells. `Ctrl` + `Alt` + `F9` recalculates every formula in all open workbooks.

## Why INDIRECT and OFFSET hide links

This is the audit problem. The trace arrows follow the references that are written in a formula. `INDIRECT` and `OFFSET` build their reference during the calculation, so the real source is not written there.

Simon Hurst's ICAEW article on [the OFFSET function](https://www.icaew.com/technical/technology/excel-community/excel-community-articles/2022/the-offset-function-can-it-survive-in-the-era-of-dynamic-arrays) calls this possibly the more serious issue. Excel's auditing tools cannot correctly trace the precedents of an `OFFSET` cell. They also do not show that cell as a dependent of the cells it reads.

`INDIRECT` is harder still, because its argument is text. Run this test on a blank workbook:

1. Name a sheet `Inputs` and type 100 in cell `B2`.
2. On another sheet, enter `=INDIRECT("Inputs!B2")`. It returns 100.
3. Select `Inputs!B2` and choose **Formulas → Trace Dependents**. Excel does not list the formula.
4. Rename the sheet to `Assumptions`. The formula now returns `#REF!`.

Step 3 is the danger. A reviewer who sees no dependents may decide that the input is unused and delete it. Step 4 shows the second cost. Excel updates a normal reference when a sheet is renamed, but it does not update text inside quotes.

Closed files add a third. Microsoft's page on the [INDIRECT function](https://support.microsoft.com/en-us/office/indirect-function-474b3a3a-8a26-4f44-b491-92b6306fa261) says it returns `#REF!` when the source is a workbook that is not open.

The guide to [tracing dependents](https://formulaudit.com/guides/trace-dependents-excel/) covers the arrows and their other limits.

## Why TODAY changes a signed-off result

`TODAY` is easy to trace, but it makes a model impossible to reproduce. Microsoft's page on the [TODAY function](https://support.microsoft.com/en-us/office/today-function-5eb3078d-a82c-4736-8930-2f51a028fdd9) says the function keeps the current date on display, whenever you open the workbook. A valuation that discounts from `TODAY()` gives one number on Monday and another on Friday. No input changed, and no change log will show a reason.

`RAND` and `RANDBETWEEN` have the same effect. Every recalculation draws new numbers.

## How to find Excel volatile functions in a workbook

Search the formula text first.

1. Press `Ctrl` + `F` and click **Options**.
2. Set **Within** to **Workbook** and **Look in** to **Formulas**.
3. Type `INDIRECT(` and click **Find All**.
4. Note the sheets and the number of cells.
5. Repeat for `OFFSET(`, `TODAY(`, `NOW(`, `RAND(`, `RANDBETWEEN(`, `RANDARRAY(`, `CELL(`, `INFO(`, `SHEET(` and `SHEETS(`.

The open bracket keeps out most labels and sheet names. For `SUMIF(`, check that the two ranges have the same size.

Then check the places that Find does not read:

- **Defined names.** Open **Formulas → Name Manager** and read **Refers To**. A dynamic range often uses `OFFSET` there. One name can feed hundreds of formulas and several charts. The Name Manager leaves out hidden names, and our article on [named ranges](https://formulaudit.com/blog/excel-named-ranges-best-practices/) shows how to list those.
- **Data validation.** A dependent drop-down often uses `INDIRECT` as its list source.
- **Conditional formatting.** Williams notes that these formulas act as volatile, whatever functions they use.
- **VBA.** Search the project for `Application.Volatile`.

Last, rank what you found. Select each volatile cell and trace its dependents. Fix the cells with long chains first.

## How to replace each one

Microsoft's [performance tips](https://learn.microsoft.com/en-us/office/vba/excel/concepts/excel-performance/excel-tips-for-optimizing-performance-obstructions) give the main swaps: `INDEX` for `OFFSET`, and `CHOOSE` for `INDIRECT`. Work on a copy and compare the totals before and after each swap.

**OFFSET that picks one cell.** Suppose months 1 to 12 sit in `C5:N5` and `P2` holds the month number.

- Before: `=OFFSET($B5,0,$P$2)`
- After: `=INDEX($C5:$N5,$P$2)`

Both return the same month. The second shows its full source range to the trace arrows. It also fails visibly. With 13 in `P2`, `INDEX` returns `#REF!`, while `OFFSET` reads column O with no warning. Use data validation to keep `P2` between 1 and 12, because a 0 makes `INDEX` return the whole row.

**OFFSET that sums a period to date.**

- Before: `=SUM(OFFSET($C5,0,0,1,$P$2))`
- After: `=SUM($C5:INDEX($C5:$N5,$P$2))`

This form has one leftover. Williams notes that Excel marks `INDEX` after a colon for calculation when the file opens. A save prompt can remain. It does not recalculate at each entry.

**OFFSET in a dynamic range.** Convert the block to a table with `Ctrl` + `T`. Then use structured references, which Microsoft recommends. If you need a name, the same colon form of `INDEX` works in **Refers To**, with the same save prompt.

**INDIRECT that picks a sheet.** With a number in `A1`:

- Before: `=INDIRECT("Region"&$A$1&"!B2")`
- After: `=CHOOSE($A$1,Region1!B2,Region2!B2,Region3!B2)`

Every source is now a real reference. It survives a sheet rename, and the arrows reach it. Microsoft notes that `CHOOSE` suits a small number of tables. For many sheets, put the data in one table with a region column and use `SUMIFS`.

**TODAY and NOW.** Use one input cell with a typed date, labelled as the valuation date. Press `Ctrl` + `;` to enter today's date as a fixed value. For a time, press `Ctrl` + `Shift` + `;`. Microsoft's page on [static dates](https://support.microsoft.com/en-us/office/insert-the-current-date-and-time-in-a-cell-b5663451-10b0-40ab-9e71-6b0ce5768138) covers it.

**RAND and RANDBETWEEN.** Keep the draws as fixed values. Copy the cells and use **Paste Special → Values**.

**SUMIF.** Make the ranges equal: `=SUMIF(A1:A4,">0",B1:B4)`.

## Do not hide the problem with manual mode

Manual calculation makes the wait go away, but it leaves old numbers on screen. Microsoft's page on [calculation options](https://support.microsoft.com/en-us/office/change-formula-recalculation-iteration-or-precision-in-excel-73fc7dac-91cf-4d36-86e8-67124f6bcce4) says the change affects all open workbooks. The performance page adds that Excel takes the mode from the first workbook opened in the session. A colleague can open your file and work in manual mode without a choice.

Look for **Calculate** in the status bar. In manual mode it is the warning that the workbook needs a calculation. Liam Bastick's [FM Magazine article](https://www.fm-magazine.com/news/2019/jun/microsoft-excel-volatile-functions-201920646/) makes the same point: manual mode treats the symptom, not the cause.

## When a volatile function is fine

Not every one is a fault. `TODAY` in a print footer cell feeds nothing. `RAND` is the point of a simulation sheet. A small tracker that shows days overdue needs a live date.

Use three questions. Does a long chain depend on the cell? Must the result be the same next month? Must a reviewer trace it? One yes is enough to replace the function. If you keep it, put a note beside the cell that says why.

## Check the links after the swap

When the references are plain, a trace shows the real sources. Select each changed cell and confirm that its precedents are the cells you expect. The guide to [tracing precedents](https://formulaudit.com/guides/trace-precedents-excel/) shows the native arrows. Search for `#REF!` as well, with the steps in our article on [#REF errors](https://formulaudit.com/blog/find-ref-errors-in-excel/).

In Formula Audit XL, [Explore Precedents](https://formulaudit.com/features/explore-precedents-dependents/) (`Ctrl` + `Q`) opens the tree of cells that feed the selected cell. It covers any sheet in the workbook.

To trace the rebuilt formulas in your own model, [download Formula Audit XL and start the 7-day free trial](https://formulaudit.com/download/).

## FAQ

### What is a volatile function in Excel?

Excel recalculates a volatile function every time it recalculates anything, even when none of the function's inputs changed. Every formula that depends on the cell is recalculated too. The common ones are NOW, TODAY, RAND, RANDBETWEEN, OFFSET and INDIRECT. CELL, INFO and SUMIF are volatile in some cases.

### Is INDEX a volatile function?

No. Microsoft's performance documentation says INDEX, ROWS, COLUMNS and AREAS are not volatile, although some older documentation said they were. One detail remains. INDEX can also be the second half of a range, such as A2:INDEX(A:A,10). Excel marks that cell for calculation when the workbook opens. It can then ask you to save a file that you did not change.

### Why does Excel ask me to save a workbook I did not change?

A volatile function is a common reason. Excel recalculates volatile cells when it opens the file, so it sees unsaved results when you close it. To test for this, save the file, close it, open it again and close it without an edit. A save prompt suggests a volatile function, but it is not proof, because other things can cause the prompt.

### How do I find volatile functions in a workbook?

Press Ctrl+F, click Options, set Within to Workbook and Look in to Formulas. Search for each function name with an open bracket, such as INDIRECT( and OFFSET(, and click Find All. Find does not search defined names, data validation, conditional formatting or VBA. Read those separately, and start with the Refers To column in the Name Manager.

### Does manual calculation mode fix slow volatile functions?

No. Manual mode only delays the calculation, and results on screen can be out of date until someone presses F9. The mode also applies to every open workbook, not to one file. Replace the volatile formulas instead, and keep the workbook on Automatic.

## Related reading

- [How to trace precedents in Excel](https://formulaudit.com/guides/trace-precedents-excel/)
- [How to trace dependents in Excel](https://formulaudit.com/guides/trace-dependents-excel/)
- [How to find #REF errors in Excel on every sheet](https://formulaudit.com/blog/find-ref-errors-in-excel/)
- [Excel named ranges best practices](https://formulaudit.com/blog/excel-named-ranges-best-practices/)
