Fix Excel Formula Reference Cells Not Highlighted When Pressing F2
Question details
The user is unable to see the color-coded outlines that normally highlight referenced cells when entering edit mode for a formula.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Editing an existing, valid formula in an Excel spreadsheet using the F2 key shortcut.
- Observed behavior
- Excel fails to display the colored reference boxes around the source cells linked within the active formula, making it difficult to visually track data relationships.
Verify that your formula begins immediately with an equals sign (=) and that there are no hidden spaces or unrecognized characters preceding it, as this simple syntax error can prevent Excel from recognizing the cell references.
Perform a Repair on the Microsoft Office Installation
Use the built-in Windows application repair tool to fix underlying software glitches in Microsoft Office that prevent UI elements like formula highlighting from displaying correctly.
When Excel's interface behaves unexpectedly despite having valid spreadsheet data, it is often due to corrupted background installation files. Running a Quick Repair restores these missing or damaged files without affecting your personal documents.
Click the Start button and open the Settings app, then navigate to 'Apps' and select 'Apps & features' (or 'Installed apps' in newer Windows versions).
Scroll through the list of installed programs or use the search bar to find 'Microsoft 365' or your specific version of 'Microsoft Office'.
Click on the Microsoft Office entry (or the three dots next to it) and select 'Modify'. If prompted by User Account Control to allow changes, click 'Yes'.
In the repair dialog box, select the 'Quick Repair' option and click 'Repair'. Follow the on-screen prompts to complete the process.
Once the repair is finished, restart your computer. Open Excel, select a cell with a formula, and press F2 to verify that the colored reference outlines have returned.

Switch to WPS Office to Avoid Frustrating Software Repairs
Tired of dealing with Excel glitches, broken UI elements, and time-consuming installation repairs? WPS Office is a lightweight, reliable, and completely free alternative that handles all your spreadsheet needs without the heavy system burden.
- 1. Download and Install: Get the free WPS Office suite from the official website and install it in seconds.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheets and open your existing Microsoft Excel file.
- 3. Edit Formulas Flawlessly: Press F2 on any formula cell to instantly see the colored reference outlines working perfectly.

Frequently Asked Questions
Why does Excel suddenly stop highlighting formula reference cells?
This issue typically occurs due to minor corruptions in the Microsoft Office installation files, software conflicts following a recent Windows update, or simply because an extra space was accidentally typed before the equals sign in the formula.
Will running an Office repair delete my Excel files or settings?
No, running a Quick Repair or Online Repair only replaces or fixes the core application files. Your personal spreadsheets, templates, macros, and most user settings will remain completely untouched.
Does the F2 key serve any other purpose in Excel besides checking formulas?
Yes, pressing F2 puts the active cell into 'Edit Mode'. This allows you to place the cursor directly at the end of the cell's contents to modify text, numbers, or formulas without having to click into the formula bar at the top of the screen.




