Formula Errors

Display Excel Formula Values Instead of Cell References

Muhammad TalhaMuhammad Talha Nov 25, 2026 870 views

Question details

Replace cell references in an Excel formula with their current values for inspection or to keep the edited formula.

How to Display Excel Formula Values Instead of Cell References
Product
Microsoft Excel
Device & OS
not provided
Scenario
The user wants to see values such as 5 and 10 in place of references such as G20 and K6 in the formula bar.
Observed behavior
The formula bar displays the current values in place of selected cell references while the formula is being edited.
Before you start

Identify the formula cell and the references you want to inspect. Decide whether to cancel the edit afterward or keep the substituted values, which will no longer update with the referenced cells.

Solution 1Recommended

Use F9 to Evaluate Selected References in Excel

Replace individual references with their current values in the formula bar, then cancel or keep the edit.

1
Open the formula

Select the formula cell, then click inside the formula bar.

2
Select a reference

Highlight only the cell reference you want to evaluate, such as G20. Avoid selecting the entire formula.

3
Evaluate the reference

Press F9 to replace the selected reference with its current value. Repeat for other references, such as K6.

4
Cancel or keep the edit

Press Esc to restore the original formula after inspecting it, or press Enter to keep the formula with the substituted values.

Use F9 to Evaluate Selected References in Excel
Keeping values removes those references: If you press Enter, the substituted values become constants and will not change when the original referenced cells change. For example, =G20+K6 may become =5+10.
WPS Spreadsheets

Replace Formula References with Values in WPS Spreadsheets

In WPS Spreadsheets, check the referenced cells and manually substitute their current values in the formula bar. Cancel the edit to retain the original references or save the constants in the formula.

  1. 1. Open the workbook: Open WPS Spreadsheets and use File > Open to select your Excel workbook.
  2. 2. Check the source values: Select the cells referenced by the formula, such as G20 and K6, and note their current values.
  3. 3. Edit the formula: Select the formula cell, click the formula bar, and replace the chosen references with the values you noted.
  4. 4. Cancel or keep the changes: Press Esc to restore the original formula, or press Enter to keep the formula with the substituted constants.
Inspect and edit formulas in the formula barReplace references with current values when neededOpen and edit Microsoft Excel XLS and XLSX filesUse a familiar spreadsheet interface for free
QA img-9

Frequently Asked Questions

Can I inspect a reference without changing the formula permanently?

Yes. Select the reference in the Excel formula bar, press F9 to see its value, and then press Esc to cancel the edit.

What happens if I press Enter after using F9?

Excel keeps the substituted value as a constant in the formula. That part of the formula will no longer update when the original referenced cell changes.

Can I evaluate more than one reference?

Yes. In the formula bar, select each reference individually and press F9. For example, =G20+K6 could become =5+10.

Why should I select only the reference I want to inspect?

F9 evaluates the selected portion of the formula. Selecting the entire formula can replace it with its calculated result instead of showing individual reference values.