Hide or show rows or columns
Hide or unhide columns in your spreadsheet to show just the data that you need to see or print.
Hide columns
-
Select one or more columns, and then press Ctrl to select additional columns that aren’t adjacent.
-
Right-click the selected columns, and then select Hide.
Note: The double line between two columns is an indicator that you’ve hidden a column.
Unhide columns
-
Select the adjacent columns for the hidden columns.
-
Right-click the selected columns, and then select Unhide.
Or double-click the double line between the two columns where hidden columns exist.
Need more help?
You can always ask an expert in the Excel Tech Community or get support in the Answers community.
See Also
Unhide the first column or row in a worksheet
Need more help?
Want more options?
Explore subscription benefits, browse training courses, learn how to secure your device, and more.
Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.
Watch Video – How to Unhide Columns in Excel
If you prefer written instruction instead, below is the tutorial.
Hidden rows and columns can be quite irritating at times.
Especially if someone else has hidden these and you forget to unhide it (or even worse, you don’t know how to unhide these).
While I can’t do anything about the first issue, I can show you how to unhide columns in Excel (the same techniques can also be used to unhide rows).
It may happen that one of the methods of unhiding columns/rows may not work for you. In that case, it is good to know the alternatives that can work.
There are many different situations where you may need to unhide the columns:
- Multiple columns are hidden and you want to unhide all columns at once
- You want to unhide a specific column (in between two columns)
- You want to unhide the first column
Let’s go through each for these scenarios and see how to unhide the columns.
Unhide All Columns At One Go
If you have a worksheet that has multiple hidden columns, you don’t need to go hunt each one and bring it to light.
You can do that all in one go.
And there are multiple ways to do this.
Using the Format Option
Here are the steps to unhide all columns at one go:
- Click on the small triangle at the top left of the worksheet area. This will select all the cells in the worksheet.
- Right-click anywhere in the worksheet area.
- Click on Unhide.
No matter where that pesky column is hidden, this will unhide it.
Note: You can also use the keyboard shortcut Control A A (hold the control key and hit the A key twice) to select all the cells in the worksheet.
Using VBA
If you need to do this often, you can also use VBA to get this done.
The below code will unhide column in the worksheet.
Sub UnhideColumns () Cells.EntireColumn.Hidden = False EndSub
You need to place this code in the VB Editor (in a module).
If you want to learn how to do this with VBA, read a detailed guide on how to run a macro in Excel.
Note: To save time, you can save this macro in the Personal Macro Workbook and add it to the quick access toolbar. This will allow you to unhide all columns with a single click.
Using a Keyboard Shortcut
If you’re more comfortable using keyboard shortcuts, there is a way to unhide all columns with a few keystrokes.
Here are the steps:
- Select any cell in the worksheet.
- Press Control-A-A (hold the control key and press A twice). This will select all the cells in the worksheet
- Use the following shortcut – ALT H O U L (one key at a time)
If you can get hang of this keyboard shortcut, it could be a lot faster to unhide columns.
Note: The reason you need to press A twice when holding the control key is that sometimes when you press Control A, it only selects the used range in Excel (or the area that has the data) and you need to press the A again to select the entire worksheet.
Another keyword shortcut that works for some and not for others is Control 0 (from a numeric keypad) or Control Shift 0 from a non-numeric keypad. It used to work for me earlier but doesn’t work anymore. Here is some discussion on why it may happen. I suggest you use the longer (ALT HOUL) shortcut that works every time.
Unhide Columns in Between Selected Columns
There are multiple ways you can quickly unhide columns in between selected columns. The methods shown here are useful when you want to unhide a specific column(s).
Let’s go through these one-by-one (and you can choose to use that you find the best).
Using a Keyboard Shortcut
Below are the steps:
- Select the columns that contain the hidden columns in between. For example, if you are trying to unhide column C, then select column B and D.
- Use the following shortcut – ALT H O U L (one key at a time)
This will instantly unhide the columns.
Using the Mouse
One quick and easy way to unhide a column is to use the mouse.
Below are the steps:
Using the Format Option in the Ribbon
Under the home tab in the ribbon, there are options to hide and unhide columns in Excel.
Here is how to use it:
Another way of accessing this option is by selecting the columns and right clicking using the mouse. In the menu that appears, select the unhide option.
Using VBA
Below is the code that you can use to unhide columns in between the selected columns.
Sub UnhideAllColumns()
Selection.EntireColumn.Hidden = False
End Sub
You need to place this code in the VB Editor (in a module).
If you want to learn how to do this with VBA, read a detailed guide on how to run a macro in Excel.
Note: To save time, you can save this macro in the Personal Macro Workbook and add it to the quick access toolbar. This will allow you to unhide all columns with a single click.
By Changing the Column Width
There is a possibility that none of these methods work when you try to unhide column in Excel. It happens when you change the Column Width to 0. In that case, even if you unhide the column, it’s width still remains 0, and hence you can’t see it or select it.
Below are the steps to change the column width:
This is by far the most reliable way to unhide columns in Excel. If everything fails, just change the column width.
Unhide the First Column
Unhiding the first column can be a little bit tricky.
You can use many of the methods covered above, with a little bit of extra work.
Let me show you a few ways.
Use the Mouse to Drag the First Column
Even when the first column is hidden, Excel allows you to select it and drag it to make it visible.
To do this, hover the cursor on the left edge of column B (or whatever is the leftmost visible column).
The cursor would change into a double arrow pointer as shown below.
Hold the left mouse button and drag the cursor to the right. You will see that it unhides the hidden column.
Go to a Cell in the First Column and Unhide it
But how do you go to any cell in the column that’s hidden?
Good question!
You use the Name Box (it’s left to the formula bar).
Enter A1 in the Name Box. It will instantly take you to the A1 cell. Since the first column is hidden, you won’t be able to see it, but be assured that it’s selected (you’ll still see a thin line just left of B1).
Once the hidden column cell is selected, follow the below steps:
- Click the Home tab.
- In the Cells group, click on Format.
- Hover the cursor on the ‘Hide & Unhide’ option.
- Click on ‘Unhide Columns’
Select the First Column and Unhide it
Again! How do you select it when it’s hidden?
Well, there are many different ways to skin the cat.
And this is just another method in my kitty (this is the last cat sounding reference I promise).
When you select the leftmost visible cell and drag the cursor to the left (where there are row numbers), you end up selecting all the hidden columns (even when you don’t see it).
Once you have select all the hidden columns, follow the below steps:
- Click the Home tab.
- In the Cells group, click on Format.
- Hover the cursor on the ‘Hide & Unhide’ option.
- Click on ‘Unhide Columns’
Check The Number of Hidden Columns
Excel has an ‘Inspect Document’ feature that is meant to quickly scan the workbook and give you some details about it.
And one of the things that you can do that ‘Inspect Document’ is to quickly check how many hidden columns or hidden rows are there in the workbook.
This might be useful when you get the workbook from someone and want to quickly inspect it.
Below are the steps on how to check the total number of hidden columns or hidden rows:
- Open the workbook
- Click on the File tab
- In the Info options, click on the ‘Check for Issues’ button (it’s next to the Inspect Workbook text).
- Click on Inspect Document.
- In the Document Inspector, make sure Hidden Rows and Columns option is checked.
- Click the Inspect button.
This will show you the total number of hidden rows and columns.
It also gives you the option to delete all these hidden rows/columns. This can be the case if there is extra data that has been hidden and is not needed. Instead of finding hidden rows and columns, you can quickly delete these from this option.
You May Also Like the following Excel Tips/Tutorials:
- How to Insert Multiple Rows in Excel – 4 Methods.
- How to Quickly Insert New Cells in Excel.
- Keyboard & Mouse Tricks that will Reinvent the Way You Excel.
- How to Hide a Worksheet in Excel.
- How to Unhide Sheets in Excel (All In One Go)
- Excel Text to Columns (7 Amazing things you can do with it)
- How to Lock Cells in Excel
- How to Lock Formulas in Excel
Skip to content
Let’s assume the following situation: You have received an Excel workbook from a colleague, client or anyone else but you have the feeling, that some rows or columns are hidden. By that, you’ve already done a good job because it is very difficult to spot from the small lines on the side or top that there are hidden rows or columns. But how do you unhide all rows and columns at the same time?
Method 1: Unhide all rows or columns manually
Hide rows and columns
Many people love the “Hide” function for hiding rows or columns, as it is very easy to use: (the numbers are corresponding with the image)
- Mark the row(s) or column(s) that you want to hide.
- Right-click on the row number or column letter and click on “Hide”.
- Unfortunately, it has one big disadvantage: You can hardly recognize hidden rows or columns. It’s only symbolized by a thin double line between the row or column number.
- A better way for hiding rows or columns is the Group function.
Unhide rows and columns
So, how to unhide all hidden rows?
- Select the whole area in which you suspect hidden rows. Alternatively select the whole worksheet in the top left corner.
- >Now double-click on the border between two row numbers (number 5 in the screenshot above). Each row has now it’s minimum size to cover all it’s contents. There is one disadvantage, though: The row height of all selected rows will be reset. So, if you have already set the row heights manually, it will be gone.
- Instead of double-clicking according to the number two above you can right-click on the column or row header (that means the column letter above your hidden column or the row number on the left-hand side). Next, click on “Unhide”.
Method 2: Use Professor Excel Tools
The Excel add-in Professor Excel Tools provide a function for unhiding all hidden rows and columns on all sheets with one click. Alternatively only unhide the rows or columns on the selected or current sheet.
To use the function, click on “Hidden Rows and Columns” in the “Professor Excel” ribbon. Now you’ll see a window as shown on the screenshot on the right-hand side.
This function is included in our Excel Add-In ‘Professor Excel Tools’
(No sign-up, download starts directly)
Henrik Schiffner is a freelance business consultant and software developer. He lives and works in Hamburg, Germany. Besides being an Excel enthusiast he loves photography and sports.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
.
Download Article
Quickly display one or more hidden columns in your Excel spreadsheet
Download Article
- Using the Column Drag Tool
- Using Right Click
- Unhiding One Column with the Name Box
- Unhiding All Columns
- Q&A
- Tips
|
|
|
|
|
Are you having trouble viewing certain columns in your Excel workbook? This wikiHow guide shows you how to display a hidden column in Microsoft Excel. You can do this on both the Windows and Mac versions of Excel. There are multiple simple methods to unhide hidden columns. You can drag the columns, use the right-click menu, or format the columns.
Things You Should Know
- Hover your cursor to the right of the hidden columns, then click and drag to the right to unhide them.
- Alternatively, select the columns adjacent to the hidden columns. Then right-click and select Unhide.
- You can also go to Home > Format > Hide & Unhide to show hidden columns.
-
1
Hover your cursor directly to the right of the hidden columns. When your cursor is between the column letters adjacent to the hidden columns, the cursor will change into two parallel lines with two arrows pointing horizontally.
- You can identify hidden columns by looking for two lines between column letters.
- Your cursor needs to be to the right of the two lines for this method. Placing the cursor to the left will increase the column size of the left adjacent column.
-
2
Click and drag to the right. This will unhide the hidden columns between the adjacent columns.
- Alternatively, you can double-click to immediately unhide the hidden column.
Advertisement
-
3
Advertisement
-
1
Select the columns on both sides of the hidden columns. To do this:
- Hold down the ⇧ Shift key while you click both letters above the column
- Click the left column next to the hidden columns.
- Click the right column next to the hidden columns.
- The columns will be highlighted when you successfully select them.
- For example, if column B is hidden, you should click A and then C while holding down ⇧ Shift.
-
2
Right-click either of the selected columns. This will open the right-click pop up menu.
-
3
Select Unhide in the right-click menu. The hidden columns between the two selected columns will be unhidden.
- For more helpful excel tricks, check out our intro guide to Excel.
Advertisement
-
1
Click the Name Box. This is the drop down box to the left of the formula box.[1]
- This method is great for unhiding the first column (A) since there isn’t a column to its left that you can select to access the right-click Unhide menu option.
-
2
Type A1 in the Name Box and press ↵ Enter. Replace A with the letter of the column you want to unhide.
-
3
Click the Home tab. It’s in the upper-left corner of the Excel window.
-
4
Click Find & Select. This is in the «Editing» group in the Home tab. A drop down menu will open.
-
5
Select Go To. This will open the «Go To» window.
-
6
Type A1 in the «Reference» box and click OK.
-
7
Click the Home tab. It’s in the upper-left corner of the Excel window.
-
8
Click Format. This button is in the «Cells» section of the Home tab; you’ll find this section on the right side of the toolbar. A drop down menu will appear.[2]
-
9
Select Hide & Unhide. This option is below the «Visibility» heading in the Format drop down menu. Selecting it will open a pop up menu.
-
10
Click Unhide Columns. It’s near the bottom of the Hide & Unhide menu. Doing so will immediately unhide the column you selected in the Name Box.
Advertisement
-
1
Click the triangle in the top left corner of the spreadsheet. This is next to the row 1 label and column A label. Clicking the triangle will select the entire spreadsheet.
- Hiding columns can be useful for when you have data you don’t need at the moment, but want to keep in the spreadsheet. For example, if you’re tracking your bills in Excel, you might want to hide purchase categories when you’re only working with the sum totals.
-
2
Click the Home tab. It’s in the upper-left corner of the Excel window.
-
3
Click Format. This button is in the «Cells» section of the Home tab; you’ll find this section on the right side of the toolbar. A drop down menu will appear.
-
4
Select Hide & Unhide. This option is below the «Visibility» heading in the Format drop down menu. Selecting it will open a pop up menu.
-
5
Click Unhide Columns. It’s near the bottom of the Hide & Unhide menu. Doing so will immediately unhide every hidden column in the sheet.
Advertisement
Add New Question
-
Question
What do I do if the hidden columns are A and B?
You can select the whole document and do the steps above to retrieve all hidden columns.
-
Question
What do I do if I’ve followed the instructions provided, but I still cannot unhide column A in Excel?
Try unfreezing the column and unhiding, or freezing then unfreezing then unhiding. This process will work.
-
Question
If column A is hidden in excel, how do I find it?
Just use the search bar on top and type there «A1» the hidden column should appear.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
-
If some columns are still not visible after you’ve attempted to unhide the columns, the width of the columns may be set to «0» or another small value. To widen the column, position your cursor on the right border of the column, and drag the column to increase its width.
-
If you want to unhide all hidden columns on an Excel spreadsheet, click on the «Select All» button, which is the blank rectangle to the left of column «A» and above row «1.» You can then proceed with the remaining steps in this article to unhide those columns.
Thanks for submitting a tip for review!
Advertisement
About This Article
Article SummaryX
1. Open your Excel document.
2. Select the columns on both sides of the hidden column.
3. Click Home
4. Click Format
5. Select Hide & Unhide
6. Click Unhide Columns
Did this summary help you?
Thanks to all authors for creating a page that has been read 666,342 times.
Is this article up to date?
7 Methods to Unhide Columns in Excel
By hiding the data, the selected columns disappear from the display. However, the labels of the remaining columns stay the same. In addition, a thick bar in the column header area appears to indicate the hidden columns.
It is essential to know the techniques to unhide data. The seven ways to unhide Excel columns are stated as follows:
You can download this Unhide Columns Excel Template here – Unhide Columns Excel Template
- Home tab of Excel ribbon
- Shortcut key
- Context menu
- Column width
- Ctrl+G (go to) command
- Ctrl+F (find) command
- Double-line icon
Table of contents
- 7 Methods to Unhide Columns in Excel
- Unhide the First Column in Excel
- Locate and Unhide the Hidden Columns
- Create a Custom View
- Frequently Asked Questions
- Recommended Articles
In the given techniques, the method names followed by the steps to unhide are listed.
Method #1–Home Tab of Excel Ribbon
- Select the columns to the left and right of the hidden column.
- In the Home tab, under the “cells” group, click the “format” dropdown.
- From the “hide and unhide” option, select “unhide columns.”
Method #2–Shortcut Key
- Select the columns to the left and right of the hidden column.
- Press the shortcut “Alt H O U L.” Press one key at a time.
Method #3–Context Menu
- Select the columns to the left and right of the hidden column.
- Right-click on the selected columns and choose “unhide.”
Method #4–Column Width
- Select the columns to the left and right of the hidden column.
- Right-click on the selected columns and choose “column width.”
- Enter any number as the “column width.”
Method #5–Ctrl+G (Go To) Command
In the succeeding image, column B and C are hidden.
- In the Home tab, click “find and select” drop-down and choose “go to.” Alternatively, press the shortcut key F5.
- Specify any cell reference of the hidden column like B1:C1 in the “go to” dialog box. Click “Ok.”
- Choose any preceding technique (methods #1 to #4) to unhide columns B and C.
Method #6–Ctrl+F (Find) Command
In the succeeding image, column B and C are hidden.
- Press “Ctrl+F” and the “find and replace” dialog box appears.
- Enter the data of one of the hidden cells in the “find what” box.
- Click “options>>” and select the check box “match entire cell contents.”
- Click “find next” and close the “find and replace” dialog box.
- Select any preceding technique (methods #1 to #4) to unhide columns B and C.
Note: This method works in case the cell referenceCell reference in excel is referring the other cells to a cell to use its values or properties. For instance, if we have data in cell A2 and want to use that in cell A1, use =A2 in cell A1, and this will copy the A2 value in A1.read more is unknown and the cell data is known.
Method #7–Double-line Icon
- Enter a single cell reference of the hidden column in the “name” box. This is the box to the left side of the formula bar.
- Press the “Enter” key.
- Select the columns to the left and right of the hidden column.
- Double-click the double-line icon (having arrows pointing to the left and right) in-between the column labels. Alternatively, follow method#1 to unhide the column.
Unhide the First Column in Excel
It is difficult to select and unhide the first column (column A). To unhide all the hidden columns in one go, follow method #1.
The steps to unhide only the first column are listed as follows:
- Type A1 in the name box (shown in the succeeding image) and press the “Enter” key. Alternatively, in the Home tab, click “find and select” drop-down and choose “go to.”
- In the Home tab, under the “cells” group, click the “format” dropdown.
- From the “hide and unhide” option, select “unhide columns.”
Locate and Unhide the Hidden Columns
The steps to locate and unhide the hidden columns are listed as follows:
- Select the entire sheet.
- In the Home tab, click “find and select” drop-down and choose “go to.” Alternatively, click “go to special.”
- Click “special” and select the check box “visible cells only.” Click “Ok.”
- The visible part of the table is highlighted (shown in the succeeding image). Moreover, a line between the column labels appears that shows the hidden columns.
- Select the highlighted part and follow any preceding technique (methods #1 to #4) to unhide columns B and C.
Create a Custom View
With the “custom view,” a user can save particular display settings. For instance, one user may want to hide columns while the other may wish to view the entire data in one go.
The steps to create a “custom view” are listed as follows:
- In the View tab, click “custom views,” under the “workbook views” group.
- Click “add” and in the “add view” dialog box, enter a name for the view you want to create. The succeeding image shows the “custom view” titled “my view.”
- In “include in view,” select the settings of the view and click “Ok.”
- The “custom view” titled “my view” is created. Every time you select “my view” and click “show,” the display settings of “my view” become visible.
Hence, with the selection of “my view,” the columns A, D, E, F, and G are displayed, as shown in the succeeding image. The columns B and C are hidden because they were not active when “my view” was created.
Frequently Asked Questions
What does it mean to unhide columns in Excel?
Sometimes it becomes essential to hide particular columns to have a contracted view of the large data set. The option of hiding certain columns is better than deleting them. Before the spreadsheet containing hidden columns goes to the next user, it becomes essential to unhide them for facilitating a complete data view.
The steps to unhide the columns of the entire worksheet in one go are listed as follows:
• Select the entire worksheet by either clicking the triangle to the left of column A or pressing “Ctrl+A.”
• In the Home tab, under the “cells” group, click the “format” dropdown.
• From the “hide and unhide” option, select “unhide columns.”
Hence, all the columns of the worksheet become visible.
How to unhide the first column (column A) in Excel?
The three methods to unhide column A are listed as follows:
1. First method
a. Enter the reference A1 in the name box (to the left of the formula bar). Press the “Enter” key.
b. In the Home tab, under the “cells” group, click the “format” dropdown.
c. From the “hide and unhide” option, select “unhide columns.”
2. Second method
a. Select column B by clicking on its header.
b. Move the cursor to the left of column B till the double-line icon (having arrows pointing to the left and right) in the column header area appears.
c. Drag the double-line icon to the right for expanding column A.
3. Third method
a. In the Home tab, click “find and select” drop-down and choose “go to.” Alternatively, press the shortcut key F5.
b. In the “go to” dialog box, enter A1 in the “reference” box. Click “Ok” and the cell A1 is selected.
c. Follow the steps “b” and “c” of the first method.
How to unhide all Excel rows and columns with a shortcut key?
The steps to unhide all rows and columns with a shortcut key are listed as follows:
• Select the entire worksheet by either clicking the triangle to the left of column A or pressing “Ctrl+A.”
• Press the shortcut “Ctrl+Shift+9” to unhide all rows. Press all keys together.
• Select the entire worksheet again.
• Press the shortcut “Alt H O U L” to unhide all columns. Press one key at a time.
Recommended Articles
This has been a guide to unhide column in Excel. Here we discuss the Top 7 methods to unhide column in Excel along with examples. You may also look at these useful functions in Excel –
- Adding Columns in ExcelAdding a column in excel means inserting a new column to the existing dataset.read more
- Move Columns in ExcelMoving a column in excel means shifting the data of one column to another. It is similar to interchanging or swapping the data of two or more columns.read more
- VBA Delete ColumnIn VBA, deleting columns is simple. To select the column, we must first use the COLUMNS property, and then construct the syntax for the column delete method in VBA as follows: Columns (Column Reference). Deleteread more
- Excel Rows vs. ColumnsRows are combination of cells that are aligned horizontally, whereas columns are made up of cells that are aligned vertically. Rows are represented by numbers, whereas columns are represented by alphabets and alphabet combinations.read more
- Excel Date PickerExcel Date Picker is the drop-down calendar that facilitates the user to put the dates in the excel worksheet promptly. It is inserted with the help of ActiveX Control and is not available for the 64-bit version of MS Excel.read more
While doing data analysis in excel you would have noticed that all the data is not important for the end user (can be your boss).
Some of the columns are used merely for calculation purpose and that’s why it’s better to hide these columns as they create un-necessary confusions.
But now when it comes to unhide these columns, there are few complications. In this post I will show you a few ways by which you can easily unhide your hidden columns in Excel.
So here we go:
Un-hiding Columns in Excel the Easy Way
This is the easiest way to unhide columns in excel. Follow the below steps to use this method:
- First of all select one column on either side of the hidden column.
- Now, with all these columns selected right-click on the column header.
- This will open a popup menu, select the ‘unhide’ option and the hidden columns will be visible.
Unhide Columns in Excel Using the Shortcut
Actually, Microsoft Excel has provided certain shortcut keys for hiding rows and columns in your spreadsheets. These shortcut keys are in the below table:
Shortcut Key | Description |
---|---|
CTRL+9 | Hides the selected rows. |
CTRL+0 | Hides the selected columns. |
CTRL+SHIFT+9 | Unhides the hidden rows within the selection. |
CTRL+SHIFT+0 | Unhides the hidden columns within the selection. |
The procedure of using these shortcut keys is quite simple. First, select one column on either side of the hidden column and then press the shortcut key.
Unhide Column or Rows shortcut keys not working?
Many Windows 8 and Windows 10 users have reported that the shortcut key for un-hiding the hidden columns doesn’t work on their systems.
Let’s understand why this happens. Microsoft Windows 8 and Windows 10 operating systems have assigned the ‘CTRL+SHIFT’ keys for Regional/ Language settings for changing the keyboard layouts. This functionality probably assigns numbers to different layouts.
So, the root of this problem is that whenever you press the column un-hiding shortcut key your OS gulps the keys and hence it interferes with the functionality of Microsoft Excel.
How to resolve this issue
The resolution of this issue is pretty obvious and that is changing the Keyboard Layout shortcut. Follow the below steps:
- First open the ‘Control Panel’, navigate to the ‘Change keyboards or other input methods’ link.
- Now a ‘Region and Language’ dialog box opens, select the ‘Keyboard and Language’ Tab and click on the ‘Change Keyboard’ button.
- Next, a new window ‘Text Services and Input Languages’ opens, here select the ‘Advance Key Settings’ tab and then click the ‘Change Key Sequence’ button.
- Under ‘Switch Keyboard Layout’, set the radio button to Not Assigned (or one of the other options, if you need this feature to be available).
- Click the ‘Ok’ button and now the unhide column shortcut key will start working in Excel.
This resolution is suggested in the Microsoft Knowledge Base article.
Unhide Columns or Rows in Excel using a VBA script
If you want to unhide your spreadsheet columns by using a code then you can use the following macro for this task:
Sub Unhide_AllColumns()
ActiveSheet.Cells.EntireColumn.Hidden = False
End Sub
This small macro will unhide all the hidden columns in your active worksheet. If you also want this macro to unhide all the rows as well then simply add a line:
ActiveSheet.Cells.EntireRow.Hidden = False
So, these are some of the ways to Unhide Columns in Excel. Do share if you know any other ways to do the same.
How to Unhide All Rows in Excel: Step-by-Step (+ Columns)
Got a spreadsheet with some hidden rows?
And you don’t want to spend too much time identifying them so you can unhide them?🔍
No worries!
This guide shows you exactly how to unhide rows (and columns) in Excel in just a few minutes.
Please download my sample data workbook here if you want to tag along.
Unhide all rows in Excel
Identifying hidden rows requires you to look very carefully at all the row numbers.
This is cumbersome⏳
So you definitely want to use one of several techniques to unhide all rows at once.
1. Select the rows where you think there are hidden rows in between.
Since you can’t select the specific hidden rows, you need to drag “over” them with your cursor while holding down the left mouse button.
2. Right-click any of the selected rows.
3. Click Unhide.
That’s it – now all the hidden rows in between the rows you selected are visible💡
Unhide rows with shortcut
Unhiding rows can be done even faster than this!
After selecting the rows in step 1 above, you can use a shortcut to unhide rows instead of doing step 2 and 3.
So, select the rows and press Ctrl + Shift + 9.
Easy, huh?
Unhide rows hidden by autofilter
Sometimes rows are hidden because of another method: the autofilter.
With the autofilter, you can easily control which rows are visible (and which are hidden).
To unhide rows hidden by the autofilter, you don’t need to jump through all the hoops.
Simply go to the Data tab, and click the Clear button.
Unhide individual or multiple rows
Sometimes, you don’t want to unhide all rows, but just a specific row, or several specific rows.
To unhide multiple rows, use the same method as before:
1. Select the cell above the hidden rows, hold down your left mouse button and drag over the hidden rows – selecting them and the row below the hidden rows.
2. Right-click any of the 2 visible selected rows.
3. Click Unhide.
And voila! The rows are visible👓
Unhide first row in Excel
Unhiding the first row can be particularly tricky – if you don’t know how.
Because, how can you select it if you can’t “drag over” it, like with other hidden rows?
Luckily, there’s another way to select that first hidden row.
1. To the left of the formula bar there’s a name box. Write “A1” in it.
Now, cell A1 is selected.
2. On the right side of the Home tab, click Format.
3. Hover the cursor over ‘Hide & Unhide’ and click ‘Unhide Rows’.
Now, the first row is visible again 👍
PRO TIP:
If you find the above method for unhiding the first row a bit too cumbersome, try this instead.
You can actually select the hidden first row by holding down the left mouse button and “dragging over” it.
You just need to start dragging from row 2 and then drag in an upwards motion that ends on row 0 (the grey triangle).
After that, just right-click row 2 and click Unhide.
Note: it’s not enough to just select row 2. You need to drag over row 1.
Unhide columns in Excel
Hidden columns can be almost as cumbersome to identify as rows.
I’ve sung the alphabet song to myself countless times to try and identify which letters (column names) were missing.
Here’s how to do it without singing🎶
1. Select the columns where you believe columns are hidden in between. You do that by “dragging over” them while holding down the left mouse button.
2. Right-click any of the visible selected columns.
3. Click Unhide.
Unhide all rows and columns
This is your one-stop solution for unhiding all the rows and columns in your spreadsheet.
You don’t have to look for anything or spend a second thinking if you “dragged over” all the rows that could have a hidden row in between.
Here’s how to unhide all the hidden rows and all the hidden columns in one fell swoop.
1. Select all the cells in the spreadsheet by clicking the ‘Select All’ button.
Or you can use the Ctrl + A shortcut.
2. Right-click any of the selected rows and click Unhide.
This unhides all the hidden rows.
3. Right-click any of the selected columns and click Unhide.
This unhides all the columns.
And that’s how you unhide all rows and columns at once🔍
VIDEO: Unhide rows and columns
More into video than text?
Watch my video and learn everything you need to know about unhiding rows and columns in Excel.
That’s it – Now what?
You just learned how to unhide all rows in Excel.
And a lot more, actually!
It wasn’t so scary after all, was it?😎
You’re unhiding rows because you want to work with the full data set, instead of just the visible part of it.
So, now that your hidden rows are visible, you should consider learning a few methods to work professionally with your data.
No matter your current skill level, I got you covered.
Click here and enroll in my free 30-minute online training.
I’ll send it directly to your inbox within 5 minutes.
Other resources
If you’ve made hidden rows visible but didn’t mean to, you can simply undo your actions with the Undo feature.
Or you can hide rows to make the data set the same as it was before.
Also, as I mentioned before, filters are a great way to work better with big data sets by hiding rows you don’t want to look at.
FAQ
Got any specific questions about unhiding rows?
Read below and you may find your answer😊
A) The rows are hidden by an autofilter. Go to the Data tab and click the Clear button next to the filter button.
B) The rows are not hidden but are very small. Drag over the small rows with your cursor. Right-click any of the rows and select ‘Row Height’. Type 15 and click ‘OK’.
These steps are the same when unhiding columns in Excel for MAC, except you select columns and not rows.
Kasper Langmann2023-02-23T14:43:41+00:00
Page load link
Return to VBA Code Examples
In this Article
- Unhide All Rows
- Unhide All Columns
- Hide All Rows or Columns
- Macro to Unhide All Rows and Columns
- Macro to Unhide All Rows and Columns on all Sheets
This tutorial will demonstrate how to unhide all rows and / or columns in an Excel worksheet using VBA.
Unhide All Rows
To unhide all rows in an Excel sheet, we will set the Hidden Property of all of the rows to FALSE.
We can access all rows by using the EntireRow Property of the Cells Object:
Cells.EntireRow.Hidden = False
or by using the EntireRow Property of the Rows Object:
Rows.EntireRow.Hidden = False
Unhide All Columns
Similarily, we can unhide all columns in an Excel sheet, by adjusting the Hidden Property of all the Columns.
You can access all of the columns by using the EntireColumn Property of the Cells Object:
Cells.EntireColumn.Hidden = False
or by using the EntireColumn Property of the Columns Object:
Columns.EntireColumn.Hidden = False
Hide All Rows or Columns
Of course, to hide all rows or columns, just set the Hidden Property to TRUE:
Columns.EntireColumn.Hidden = True
Macro to Unhide All Rows and Columns
Use this macro to unhide all rows and columns in a worksheet:
Sub Unhide_All_Rows_Columns()
Columns.EntireColumn.Hidden = False
Rows.EntireRow.Hidden = False
End Sub
Macro to Unhide All Rows and Columns on all Sheets
This macro will unhide all rows and columns in all sheets in an Excel workbook:
Sub Unhide_All_Rows_Columns_in_Workbook()
Dim ws As Worksheet
For Each ws In Worksheets
ws.Columns.EntireColumn.Hidden = False
ws.Rows.EntireRow.Hidden = False
Next ws
End Sub
VBA Coding Made Easy
Stop searching for VBA code online. Learn more about AutoMacro — A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users!
Learn More!
-
Excel
Guide to Understanding How to Unhide Columns in Excel
How to Unhide Columns in Excel
The following tutorial demonstrates the step-by-step process of how to unhide columns in Excel using keyboard shortcuts. The option to hide columns is a built-in feature in Excel, but problems can emerge, particularly for collaborative models shared with others that may be unaware of the hidden columns.
Understand How to Unhide Columns in Excel (Step-by-Step)
In Excel, hidden columns conceal certain parts of a spreadsheet, perhaps to display only the data that is relevant to the task at hand. Yet the decision to hide columns presents numerous risks, so it is recommended to learn how to unhide columns in Excel.
But before we begin, it’ll be useful to understand the decision behind hiding columns.
From a visual perspective, hidden columns can result in a more organized spreadsheet with “cleaner” data.
For instance, certain columns might contain data merely used as part of a calculation or is meant to be “scratch” on the side, prompting the decision to hide those specific columns.
The general best practice in financial modeling, however, is to avoid hiding columns (and rows).
The presentability of the spreadsheet might improve with hidden columns (and rows), yet issues can arise if someone else – such as a co-worker – needs to edit the spreadsheet.
Financial models with hidden columns are not only less intuitive to audit but also inconvenient, considering that the cells directly used in the calculations are hidden.
Therefore, opting to group the columns instead is preferable, rather than hiding columns and creating an unnecessarily cumbersome experience for a co-worker.
Unhide Columns Excel Keyboard Shortcut
The keyboard shortcut in Excel to unhide columns is as follows.
Unhide Columns = ALT → H → O → U → L
- “ALT” → Alt Key
- “H” → Home
- “O” → Format
- “U” → Hide & Unhide
- “L” → Unhide Columns
Unhide Column Calculator – Excel Model Template
We’ll now get started with our Excel tutorial. To access the spreadsheet used in our modeling exercise, fill out the form below.
How to Unhide All Columns in Excel (“At Once”)
Suppose we’re sent the historical financials of a company, where only the annual figures are visible.
While our model only consists of two fiscal years (and eight hidden quarters) for the sake of simplicity, such formats are common for large data sets with a significant amount of historical data.
In such cases, a substantial portion of the monthly or quarterly data can be either hidden or grouped together. For example, a spreadsheet containing all the monthly financial data of a private company since inception could be organized to show only the annual figures.
In our illustrative model, there are two ranges with hidden columns:
- Q-1 to Q4 2020: Column “E” to Column “H”
- Q-1 to Q4 2021: Column “J” to Column “M”
The double line between columns “D” and “I”, and “I” and “O” indicate there are hidden columns in between.
The two-step process to unhide all hidden columns in a spreadsheet is as follows.
- Step 1: Select Cells in Entire Sheet (“A + 1”)
- Step 2: Press “ALT → H → O → U → L”
- Select All Shortcut: In order to select all the cells in the current sheet using the “A + 1” keyboard shortcut, the “A” and “1” must be clicked simultaneously.
- Unhide Hidden Columns: In contrast, each key must be pressed separately for the “ALT → H → O → U → L” shortcut to function properly and unhide all the hidden columns, i.e. click one key at a time.
How to Unhide Multiple Columns in Excel
In the next part of our Excel exercise, we’ll go through how to unhide a specific range of columns, instead of all the hidden columns in the sheet.
The process is practically the same, the only minor difference is that rather than selecting all cells, we’ll only select the column range in which the hidden cells are located.
For example, let’s say that we want to unhide columns “J” to “M”, which are the quarterly financials results for fiscal year 2021.
We’d want to highlight columns “I” to “N”, as the screenshot below shows.
The following four steps can be followed to unhide the quarterly results from fiscal year 2021.
- Step 1: Select Cell in Column I
- Step 2: Press Command + Space Bar
- Step 3: Press the Right Arrow to Highlight the Range (“I” to “N”)
- Step 4: ALT → H → O → U → L
Once the steps above are followed, the historical financials for Q-1 to Q-4 in 2021 should be unhidden, whereas the quarterly results from 2020 remain hidden.
Turbo-charge your time in Excel
Used at top investment banks, Wall Street Prep’s Excel Crash Course will turn you into an advanced Power User and set you apart from your peers.
Learn More