A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Test a top-row number key and a numeric-keypad key in a blank workbook first; the result determines whether Windows is redirecting the keypad, the existing workbook is rejecting numbers, or Excel itself is affected.
1. Identify the scope
- Open Excel and create Blank workbook.
- Enter
123using the number keys above the letters. - If available, enter
123using the numeric keypad.
Then use the matching case below.
If only the numeric keypad fails
If keypad keys move the pointer or cell selection instead of entering numbers:
- Press Num Lock once and test again.
- Open Windows Settings → Accessibility → Mouse → Mouse keys.
- Turn Mouse keys Off. Mouse Keys uses the numeric keypad to control the pointer rather than enter numbers.^1^
- Return to Excel and test the keypad.
If the top-row number keys also fail outside Excel, open Notepad and test them. A failure there indicates a Windows or keyboard issue rather than a workbook issue. For an external keyboard, reconnect it directly to another USB port, avoiding a USB hub; Microsoft also recommends testing the keyboard on another PC.^2^
If numbers work in a blank workbook
The existing spreadsheet likely has a workbook-specific restriction. Select an affected cell, then:
- Go to Data → Data Validation.
- On Settings, inspect Allow and its conditions.
- If numbers should be permitted, change Allow to Any value, or correct the numeric limits.
- Select OK and test the cell.
A Stop validation alert prevents entries that do not meet its rule.^3^
If Data Validation is unavailable, first press Enter or Esc to exit cell-editing mode. If it remains unavailable, the worksheet may be protected or shared; it must be unprotected or unshared before validation can be changed.^3^
If no validation rule is present, copy the affected sheet’s data to a new workbook and test there. Avoid overwriting the original file until the copied workbook has been checked.
If numbers fail in every Excel workbook
Test Excel without add-ins:
- Press Windows+R.
- Enter
excel /safe, then select OK. - Create a blank workbook and test numeric entry.
- If numbers work in Safe Mode, go to File → Options → Add-ins.
- At Manage, select COM Add-ins → Go.
- Clear all add-in checkboxes, select OK, and restart Excel normally.
- Re-enable add-ins one at a time, restarting Excel after each one, until the problem returns. The last enabled add-in is the likely conflict.^4^
References
- [Windows 10](https://support.microsoft.com/windows/experience/backup-recovery/windows-backup-settings-catalog#windows-backup-settings-and-preferences-catalog)
- Mouse and keyboard problems in Windows | Microsoft Support
- More on data validation | Microsoft Support
- Excel not responding, hangs, freezes or stops working | Microsoft Support