How to Recover Hidden Excel Data After Pressing Ctrl+0
Question details
The user accidentally hid all columns in their Excel worksheet by pressing the Ctrl+0 shortcut, making the sheet appear completely blank with only row numbers visible. They need to unhide the columns or restore the file using OneDrive.

- Product
- Excel, OneDrive
- Device & OS
- not provided
- Scenario
- Accidentally triggering a keyboard shortcut that hides columns and needing to restore the visible data or revert the file to an older version.
- Observed behavior
- The worksheet appears entirely blank with no column headers visible, showing only row numbers along the side.
Verify whether your data was actually deleted or simply hidden from view. If using OneDrive to restore, ensure you are logged into the correct Microsoft account associated with the file.
Unhide Columns Directly in Excel
Use Excel's built-in Unhide command to reveal the columns that were hidden by the Ctrl+0 shortcut.
Pressing Ctrl+0 in Excel is the default keyboard shortcut for hiding the currently selected columns. If your entire worksheet was selected, this will hide every single column, removing all column headers and leaving only row numbers visible. You can easily reverse this by selecting the worksheet and unhiding the columns.
Click the 'Select All' triangle button located in the top-left corner of the worksheet grid, where the row numbers and column letters intersect. Alternatively, press Ctrl+A.
Right-click anywhere in the column header area (or the top edge if headers are entirely hidden) and select 'Unhide' from the context menu.
Navigate to the 'Home' tab on the ribbon. Click on 'Format' in the Cells group, select 'Hide & Unhide', and then click 'Unhide Columns'.

Restore an Earlier Version via OneDrive
If the file was saved with the columns hidden and you are unable to unhide them, use OneDrive Version History to restore the file to an older state.
Easily Manage and Recover Hidden Columns in WPS Office
WPS Spreadsheet provides an intuitive interface to easily hide and unhide rows and columns without getting stuck by complex shortcut combinations. It ensures complete compatibility with Microsoft Excel formats.
- 1. Open your file in WPS Spreadsheet: Launch WPS Office and open your existing .xlsx workbook.
- 2. Select the hidden areas: Click the 'Select All' button at the top-left corner of the grid to highlight the entire worksheet.
- 3. Unhide the columns: Right-click the column header area and select 'Unhide' from the context menu to immediately reveal all your hidden data.
- 4. Use Auto Backup (if needed): If you need an older version, go to Menu > Backup and Recovery > Auto Backup to easily restore a previously saved state.

Frequently Asked Questions
Why did pressing Ctrl+0 make my entire worksheet disappear?
The Ctrl+0 keyboard shortcut is assigned to hide the selected columns. If you accidentally pressed Ctrl+A (Select All) beforehand, or if you had all columns selected, pressing Ctrl+0 hides every single column in the worksheet, leaving only row numbers visible.
How can I unhide columns if there are no column headers visible to click on?
When all column headers are hidden, you can click the small triangle in the top-left corner (above row 1) to select the entire worksheet. Then, go to the Home tab, click Format, choose Hide & Unhide, and select Unhide Columns.
Does OneDrive save a version history even if AutoSave is turned off?
If AutoSave is turned off but the file is stored in your OneDrive folder, OneDrive will still create a new version history each time you manually hit 'Save' (Ctrl+S). You can access these versions via the OneDrive web interface.




