When you’re working with large datasets, you might like to hide some columns. In some cases, you have columns with data that don’t need to be changed and are only used in calculations. In instances like this, you can hide the column for a better overall experience for the user. Or maybe, some of the columns in your sheet contain sensitive data which the user doesn’t need to interact with. We’re trying to say there are many reasons for hiding or unhiding columns.
There are different situations when dealing with hidden columns in Excel, as well. For instance:
More than one column is hidden, and you intend to unhide all of them at once
You’re looking to unhide specific columns
You just want to unhide the first column
You don’t want the users to be able to unhide columns at all
So let’s see how to unhide columns in Excel. We’re going to go through all of these cases. Sometimes we’ll offer different ways for each of them.
Unhiding a Column in Excel
The easiest way to unhide a column in Excel is as follows:
Highlight the range before and after the hidden column. For example, if column B is hidden, select columns A and C.
Right-click on the selected columns and then click Unhide
How to Unhide All Columns in Excel
Regardless of how many hidden columns you have in your worksheet, Excel provides an option to unhide all of them at once. Follow these steps to unhide all columns in Excel:
First, click on the triangle icon on the top-left corner of the worksheet or press Ctrl+A.
Then go to the “format option” in the “Cells” tab. Then click Hide & Unhide > Unhide Columns.
Unhide All Columns Using VBA Macro
Another way for unhiding columns in Excel is by using macros. Instead of going through all the steps and unhiding the columns, you can just add this macro to the workbook:
Sub UnhideAllColumns ()
Cells.EntireColumn.Hidden = False
This macro will automatically unhide all the columns in the sheet.
If you’re interested in using macros for other means, you can get in touch with us for consultation.
How to Show Specific Hidden Columns
Sometimes you might have a table with many hidden columns, but you would like to show only a few of them. Follow these steps:
Select the columns to each side of the column you want to unhide. For example, if you want to unhide column C, select columns B and D.
Navigate to Home > Cells. Click on Format. Then navigate to Hide & unhide > Unhide columns.
An alternative and faster way for doing this is selecting the columns like before and then press the shortcut keys: Ctrl + Shift + 0
Unhiding a Column Using the Go To Option
There is yet another way to unhide a specific column. Suppose that you want to unhide column A. To do this first you have to select a cell in that column.
Click on the Home tab. Navigate to Find & Select menu and then select Go To
In the new window, enter A1 in the Reference field and then press OK. This is the cell we have to select, which we talked about earlier.
The cell A1 is now selected, but that’s not visible to you.
Click on the Format menu and then navigate to Hide & Unhide > Unhide Columns.
Unhiding All Columns Using the Go To Special Option
Finding all the hidden columns can be a gruelling task. You can manually check all the columns and see which letters are missing, but obviously, that’s difficult, and it’s prone to errors.
You can use the Go To Special option to automatically unhide columns. Just follow these steps:
Press Ctrl (Cmd) + A to select all the cells.
Click on the Find & Select option in the “Home” tab, and then select Go To Special
In the new window, select the VisibleCellsOnly option and then click OK
This will cause the borders adjacent to the hidden columns to change colour and become visible.
How to Check the Number of Hidden Columns
If you would like to know how many columns are currently hidden on your sheet without having to unhide them, follow these steps:
Go to the File tab and then click on the Check of Issues option.
Select Inspect Document
Save the changes before proceeding
In the Document Inspector window, select the Hidden Rows and Columns box
Click the Inspect button. Excel will search for hidden columns and rows, and it will generate a report.
You can follow this instruction just in the Windows version of Excel.
How to Disable Unhiding Columns in Excel
Sometimes for security purposes, you might not like users to be able to unhide the columns. It’s possible that your sheet contains sensitive data, and that’s why you would like to hide the columns.
Let’s take a look at how to disable unhiding columns:
Click on the triangle icon on the top left corner of the sheet or press Ctrl + A (Cmd + A in macOS) to select everything on the sheet
Right-click on the highlighted area and select Format Cells
In the new window, go to the Protection tab and uncheck the Locked box and click OK
Select the columns for which you would like to disable unhiding. For example Column A and C
Right-click on one of the highlighted columns and select Format Cells
In the new window, navigate to the Protection tab and check the Locked box and click OK
Now you have to hide the columns you previously selected by navigating to Format >Hide & Unhide > Hide Columns.
Go to the Review tab and click on the ProtectSheet option
The boxes for Select locked cells and Select unlocked cells have to be ticked. After you have verified this, enter your password and click OK
Now, if someone tries to unhide the columns which you selected, the unhide option will fade out, and it will be disabled.
Our experts will be glad to help you, If this article didn't answer your questions.
We believe this content can enhance our services. Yet, it's awaiting comprehensive review. Your suggestions for improvement are invaluable. Kindly report any issue or suggestion using the "Report an issue" button below. We value your input.
Contact us today at – and speak with our specialist.
BSUPERIOR SYSTEM LTD. provides custom software and technology solutions to small and medium sized businesses. We have been helping businesses to operate more efficiently, reduce money and time spend on redundant repetitive daily tasks.