Fix Excel F2 Turning Cells Blue and Enter Acting Like Alt+Enter
Question details
The user experiences abnormal behavior in Excel where pressing F2 to edit a cell turns it blue, and pressing Enter results in a line break instead of moving to the next cell.

- Product
- Microsoft Excel
- Device & OS
- Windows
- Scenario
- Editing cell contents using standard keyboard shortcuts
- Observed behavior
- Pressing F2 highlights the cell in blue, and pressing the Enter key functions as Alt+Enter, inserting a line break rather than confirming the edit and moving down.
Before proceeding with software repairs, check your physical keyboard to ensure the 'Alt' key is not physically stuck or malfunctioning, as this can mimic the described behavior.
Repair Microsoft Office via Control Panel
Running the built-in Office Repair tool is the most effective way to fix damaged Office components causing input anomalies.
In many cases, unusual keyboard behavior inside Microsoft Excel, such as the Enter key acting like Alt+Enter, is caused by corrupted Office installation files. Repairing the suite restores default component functionality.
Press the Windows key, type 'Control Panel' into the search bar, and press Enter to open it.
Click on 'Programs' and then select 'Programs and Features' to view your installed applications.
Scroll through the list to locate 'Microsoft Office 2013' (or your specific installed version), right-click on it, and select 'Change'.
Select 'Quick Repair' (or 'Online Repair' for a more thorough fix) and follow the on-screen prompts. Once finished, restart Excel and test the F2 editing function.

Test Excel in Safe Mode
Opening Excel in Safe Mode helps determine if a third-party add-in or startup program is interfering with your keyboard inputs.
Experience Bug-Free Spreadsheets with WPS Office
If Microsoft Excel continues to experience frustrating input glitches or requires frequent repairs, consider switching to WPS Office. It provides a highly stable, lightweight environment for all your spreadsheet tasks without the hassle of damaged system components.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for Windows.
- 2. Open Your Spreadsheets: Launch WPS Spreadsheet and seamlessly open any of your existing Excel files.
- 3. Edit with Confidence: Use familiar shortcuts like F2 and Enter reliably, knowing your workflow won't be interrupted by unexpected application behaviors.

Frequently Asked Questions
Why does pressing Enter in Excel add a line break instead of moving to the next cell?
This usually happens when the Alt key is physically stuck on your keyboard or a software glitch causes Excel to register an 'Alt+Enter' command instead of a standard 'Enter'. Checking the keyboard hardware or running the Office Repair tool can resolve it.
What is the standard function of the F2 key in Excel?
By default, pressing the F2 key in Excel activates the 'Edit Mode' for the currently selected cell, placing your text cursor at the end of the cell's contents so you can modify data quickly.
Will repairing Microsoft Office delete my saved Excel files?
No, running the built-in Office Repair tool only scans and replaces missing or corrupted application system files. Your personal workbooks, documents, and data will remain completely intact and unaffected.




