When a key stops working in Excel, the cause is usually Excel itself rather than the keyboard: the app can be in a typing mode that swallows keystrokes, a shortcut key is being intercepted by another program, or the sheet is protected or read-only so edits are rejected without a clear message. Start by clicking a cell, pressing Esc once, then pressing F2 to check whether the cell enters edit mode — if the cursor appears and normal characters type, the hardware is fine and the problem is a setting. If even that fails, save your work, close Excel completely and reopen it before changing anything else. The steps below walk through the checks in order, from the quickest to the ones that need more work, and the labels in menus and ribbon tabs can differ slightly by Excel version, platform and region.
What You'll Need
- Access to the computer where the problem happens, with permission to change Excel and Windows or macOS settings.
- Your Excel workbook saved, so a restart or repair cannot lose edits.
- A second keyboard or an on-screen keyboard if you need to rule out a hardware fault.
- About 15 minutes, plus your Microsoft 365 or Office sign-in details in case a repair asks you to reactivate.
Step-by-Step
- Press Esc, then test one cell. Click a cell once, press Esc to leave any half-finished edit or dialog, then press F2. If the cursor appears inside the cell and letters type normally, Excel is listening and your keyboard is working. If nothing happens, continue.
- Check whether you are stuck in a mode. Clicking the formula bar, double-clicking a cell, or pressing F2 turns on edit mode. With Scroll Lock on, the arrow keys scroll the sheet instead of moving between cells. Press the Scroll Lock key once (on laptops you may need Fn plus the key marked Scroll Lock or ScrLk) and test the arrow keys again.
- Look for a modal dialog or a hidden window. A dialog box waiting in the background blocks every key except Esc and Enter. Press Esc, then Enter, once each, and see whether typing resumes. Also check the taskbar or Dock for a second Excel window you did not notice.
- Test the key outside Excel. Open a plain text editor such as Notepad on Windows or TextEdit on macOS and type the same letters. If the key fails there too, the problem is the keyboard or the operating system, not Excel, and the hardware checks below matter more than the Excel ones.
- Restart Excel, then the computer. Save the workbook, close Excel, and open it again. If the key still fails, restart the machine. This clears stuck modifier states (a Ctrl key that the system thinks is held down will turn every letter into a shortcut) and releases background processes that can intercept input.
- Check for other programs stealing the shortcut. Screenshot tools, password managers, clipboard managers, keyboard-remapping utilities and gaming overlays can register global hotkeys. Exit them from the system tray or menu bar one at a time and retest. In Excel, open the Options area and look for any add-in list you can temporarily disable; disable them one at a time and restart Excel between tests.
- Confirm the sheet accepts input. If the sheet is protected, most edits are blocked. On the Review tab, find the protection controls — if an Unprotect Sheet option is shown, the sheet is protected and you need the password to change it. If the file opened in Read-Only or Protected View, look for a banner at the top with an Enable Editing button and click it. A workbook marked as final or opened from a read-only location also refuses changes.
- Work around a dead Fn row on a laptop. Many laptops treat F1–F12 as brightness, volume and other functions unless Fn is held. Use Fn plus the function key, or change the function-key behaviour in the laptop maker's system utility so the F keys send standard key codes. Apple keyboards may require the Fn key or a change in System Settings under Keyboard.
- Update Excel and the operating system. In Microsoft 365, use the app's account or update section to check for updates, or on Windows use the Microsoft Store version if you installed from there. On macOS, updates come through the Microsoft AutoUpdate tool. Install pending system updates too, then restart.
- Repair Office. On Windows, open Settings > Apps > Installed apps, select Microsoft 365 or Office, choose Modify, and run the Quick Repair; if that does not help, run the Online Repair, which re-downloads the installation and may restart the machine. On macOS, run the Microsoft AutoUpdate app and use its repair or reinstall options. Reinstalling keeps your files, but sign-in state and custom settings may need to be restored.
- Test a fresh workbook and a fresh Windows keyboard layout. Open a blank workbook to rule out a damaged file. On Windows, check Settings > Time & language > Language & region that the correct input language is active and that no unwanted keyboard layout is switched on. On macOS, check System Settings for the input sources list.
- If nothing works, reset Excel's saved state as a last resort. On Windows, closing Excel and restarting the computer in a clean state can clear corrupted settings; if you are comfortable with the file system, you can also rename the Excel folder under your user AppData folder so Excel rebuilds its defaults. Back up the workbook first. This discards customisations such as recent files and personalised ribbon changes.
Common Mistakes
- Blaming the keyboard first. Most single-key failures in Excel are mode problems, protected sheets or another program grabbing the shortcut, not broken hardware.
- Ignoring Scroll Lock. It is the usual reason the arrow keys stop moving the selection, and it is invisible on many laptops.
- Typing in the formula bar without realising. An active edit in the formula bar means Enter or Esc, not the cell, controls what happens next.
- Disabling every add-in at once. You will not know which one caused the problem; disable one, test, re-enable, and move on.
- Running Online Repair without saving. It can restart the computer, so save open workbooks and close other documents first.
- Assuming a protected file is corrupted. A protected sheet or a read-only location blocks edits silently; check the Review tab and the file location before repairing anything.
Tips
- Use the on-screen keyboard to confirm a key works: Windows and macOS both offer one in their accessibility settings. If typing works on screen, the physical key is the problem.
- Keep one spare USB keyboard handy for testing; swapping takes seconds and settles the hardware question immediately.
- If you use a macro or script that reassigns keys, note which keys it captures, because a running macro can intercept input inside a workbook.
- Test in a blank workbook before repairing Office. It separates a file problem from an application problem with no risk.
- Note which keys fail. Numbers only points to Num Lock or a laptop's numeric overlay; letters only suggests edit mode or a layout switch; everything points to focus or a blocked window.
Troubleshooting
The arrow keys scroll instead of moving cells. Scroll Lock is on. Press the Scroll Lock key or the Fn combination and check the status bar indicator.
Typing replaces the whole cell instead of editing. You are not in edit mode. Press F2 or double-click the cell, or start typing to overwrite deliberately.
Shortcuts do nothing but letters work. Another program holds a global hotkey. Close background utilities one at a time until the shortcut returns.
Only the number row fails, one key at a time. The operating system may have a layout mismatch. Confirm the active input language and layout in system settings.
Enter does not move down. Check Excel's Options for the setting that controls where Enter moves the selection; the setting lives in the Advanced area of Options and labels vary by version.
Keys work in a new workbook but not the old one. The file is likely protected, read-only or contains a macro that intercepts input. Try Save As to a new local folder and open that copy.
Nothing at all works after an update. Repair Office, then reinstall if repair fails. Back up workbooks first.
Frequently Asked Questions
Why does only one key fail in Excel but work elsewhere?
If it works in a text editor, Excel is likely in a mode that uses the key (an active edit, a dialog or a data-entry form) or a shortcut conflict; test a blank workbook to narrow it down.
Why is my entire keyboard dead inside Excel?
Usually a hidden dialog or a modal window has focus. Press Esc and Enter, then check for another Excel window. If that fails, restart Excel and the computer.
Does Num Lock affect typing numbers in cells?
Yes. With Num Lock off, the number pad usually behaves as navigation keys. Turn Num Lock on and test again.
Will repairing Office delete my spreadsheets?
No, your files are separate from the program installation. Quick Repair keeps settings; Online Repair re-downloads the app and may reset customisations and require a new sign-in.
Why can I type in one cell but not another?
That region may be locked on a protected sheet, or merged cells and data validation could be interfering. Check the Review tab for protection and unmerge cells to test.
Can a macro stop my keys from working?
Yes. A macro in an open workbook can capture keystrokes. Disable macros for that file when opening it and test in a blank workbook to confirm.