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?
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.
If you’re working with a spreadsheet that contains sensitive or private data, then some rows and columns might be hidden. You might also need to hide unimportant information or data you don’t want others to see in your own spreadsheet.
In these cases, you might need to unhide those hidden rows and columns before you start updating the spreadsheet examine the data it contains.
In this article, you will learn how to unhide rows and columns in Excel. You will also learn how to unhide all rows and columns in case they are all hidden.
This tutorial is applicable to Excel 2007 to 2016, but it can also guide you through how to do it in other versions of Excel.
What We’ll Cover
- How to Find Hidden Rows and Columns
- How to Unhide a Column in Excel
- How to Unhide a Row in Excel
- How to Unhide all Hidden Rows and Columns in the Home Tab
- How to Unhide all Rows and Columns at Once with VBA Micro
- Conclusion
Before we dive into how to unhide rows and columns in Excel, let’s look at how to find hidden rows and columns.
You can detect a hidden row or column by looking at the lines that separate each row and each column. If the lines are double or green, then it means there’s a hidden row or column.
Also, taking a look at the spreadsheet, if there are missing letters for the columns or missing numbers in the rows, then it’s possible there are hidden rows and columns in the spreadsheet.
You can unhide a certain column by right-clicking on the double line that indicates the hidden column and selecting “unhide”:
How to Unhide a Row in Excel
If you want to unhide a row, right-click on the double line indicated in green (or if possible, another color based on the user settings), then select “unhide”:
To unhide all rows, select all rows and columns by pressing CTRL + A, go to the Home
tab, locate cells, and click the arrow on «Format»:
Under visibility, hover on “Hide and Unhide”, then select “Unhide Rows”:
To unhide all hidden columns, you have to follow the same process, but this time around, you have to select “Unhide Columns”.
How to Unhide all Rows and Columns at Once with VBA Macro
If you’re dealing with a large spreadsheet, the processes we just discussed might be tedious for you.
Instead of unhiding for the rows and columns one by one or unhiding rows and unhiding columns, you can run some VBA (Visual Basic for Applications) code to do it.
Here’s how to run VBA code in Excel:
Press ALT + F11 (or Option + F11 on Mac) to open the VBE (Visual Basic Editor):
Right-click on your current workbook, hover on “Insert” and select “Module”:
Paste this code into the editor:
Sub UnhideAllRowsAndColumns()
Cells.EntireColumn.Hidden = False
Cells.EntireRow.Hidden = False
End Sub
Close the dialogue and go back to your worksheet.
Next, you need to run the VBA Micro. Press ALT + F8 and you’ll see something like this:
Expand it and click “Run”:
Every row and column should now show up:
Conclusion
This article showed you how to unhide a row or column in Excel.
The examples we looked at showed you how to unhide individual rows and columns, unhide all columns, and unhide all rows.
We also looked at how you can unhide rows and columns altogether with Excel VBE (Visual Basic Editor).
If you find this article helpful, share it with your friends and family.
Learn to code for free. freeCodeCamp’s open source curriculum has helped more than 40,000 people get jobs as developers. Get started
-
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
Содержание
- How to Unhide Columns in Excel
- Un-hiding Columns in Excel the Easy Way
- Unhide Columns in Excel Using the Shortcut
- Unhide Column or Rows shortcut keys not working?
- How to resolve this issue
- Unhide Columns or Rows in Excel using a VBA script
- Subscribe and be a part of our 15,000+ member family!
- Unhide the first column or row in a worksheet
- How to unhide and show hidden columns in Excel
- How to unhide all columns in Excel
- Unhide all columns in Excel automatically with VBA macro
- How to show hidden columns that you select
- How to unhide first column in Excel
- How to unhide column A using the Go To option
- How to unhide the first column by expanding it
- How to unhide column A by selecting it
- Show all hidden columns in Excel via Go To Special
- Check how many hidden columns there are in a workbook
- Disable unhiding columns in Excel
How to Unhide Columns in Excel
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.
Table of Contents
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:
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:
So, these are some of the ways to Unhide Columns in Excel. Do share if you know any other ways to do the same.
Subscribe and be a part of our 15,000+ member family!
Now subscribe to Excel Trick and get a free copy of our ebook «200+ Excel Shortcuts» (printable format) to catapult your productivity.
Источник
Unhide the first column or row in a worksheet
If the first row (row 1) or column (column A) is not displayed in the worksheet, it is a little tricky to unhide it because there is no easy way to select that row or column. You can select the entire worksheet, and then unhide rows or columns ( Home tab, Cells group, Format button, Hide & Unhide command), but that displays all hidden rows and columns in your worksheet, which you may not want to do. Instead, you can use the Name box or the Go To command to select the first row and column.
To select the first hidden row or column on the worksheet, do one of the following:
In the Name Box next to the formula bar, type A1, and then press ENTER.
On the Home tab, in the Editing group, click Find & Select, and then click Go To. In the Reference box, type A1, and then click OK.
On the Home tab, in the Cells group, click Format.
Do one of the following:
Under Visibility, click Hide & Unhide, and then click Unhide Rows or Unhide Columns.
Under Cell Size, click Row Height or Column Width, and then in the Row Height or Column Width box, type the value that you want to use for the row height or column width.
Tip: The default height for rows is 15, and the default width for columns is 8.43.
If you don’t see the first column (column A) or row (row 1) in your worksheet, it might be hidden. Here’s how to unhide it. In this picture column A and row 1 are hidden.
To unhide column A, right-click the column B header or label and pick Unhide Columns.
To unhide row 1, right-click the row 2 header or label and pick Unhide Rows.
Tip: If you don’t see Unhide Columns or Unhide Rows, make sure you’re right-clicking inside the column or row label.
Источник
by Alexander Frolov, updated on March 11, 2023
From this article, you’ll learn how to unhide columns in Excel 2016 — 2007. It will teach you to show all hidden columns or just the ones you select, how to unhide first column, and more.
The possibility to hide columns in Excel is really helpful. It’s possible to conceal some columns by using the Hide feature or by setting the column width to zero. If you happen to work with Excel files where some columns are hidden, you may want to know how to unhide columns in Excel to view all data.
In this post I’ll share how to show hidden columns using the standard Excel Unhide option, a macro, the Go To Special functionality and Document Inspector.
How to unhide all columns in Excel
Whether you have one or several hidden columns in your table, you can easily display them all at once using the Excel Unhide option.
- Click on a small triangle in the upper-left corner of your table to select the entire worksheet.
Tip. You can also press the keyboard shortcut Ctrl+A several times until the entire list is highlighted.
Unhide all columns in Excel automatically with VBA macro
You’ll find the macro below really helpful if you often get worksheets with hidden columns and don’t want to waste your time on searching and showing them. Just add the macro and forget the unhide routine.
If you don’t know VBA too well, feel free to explore its possibilities by reading our article How to insert and run macros.
If you have an Excel table where multiple columns are hidden and want to show only some of them, follow the steps below.
- Select the columns to the left and right of the column you want to unhide. For example, to show hidden column B, select columns A and C.
- Go to the Home tab >Cells group, and click Format > Hide & Unhide > Unhide columns.
Hide & Unhide > Unhide columns» title=»Click on the Format icon > Hide & Unhide > Unhide columns» width=»368″ height=»464″>
Or you can right-click the selection and choose Unhide from the context menu, or just press the Unhide columns shortcut: Ctrl + Shift + 0
How to unhide first column in Excel
Unhiding columns in Excel may seem easy until you have several hidden columns but need to display only the left-most one. Pick one of the tricks below to unhide only the first column in your table.
How to unhide column A using the Go To option
Though there is nothing before column A to select, we could select cell A1 to unhide the first column. Here’s how:
- Press F5 or navigate to Home > Find & Select > Go To…
Find & Select > Go To…» title=»Navigate to Home > Find & Select > Go To…» width=»320″ height=»345″> - You’ll see the Go To dialog box. Enter A1 in the Reference: field and click OK.
- Although you cannot see it, cell A1 is now selected.
- You go to the Home > Cells group, and click Format > Hide & Unhide > Unhide Columns.
Format > Hide & Unhide > Unhide Columns» title=»Go to Home > Format > Hide & Unhide > Unhide Columns» width=»368″ height=»464″>
How to unhide the first column by expanding it
- Click on the header for column B to select it.
- Move the mouse cursor to the left until you see the double-sided arrow.
- Now just drag the mouse pointer to the right to expand the hidden column A.
How to unhide column A by selecting it
- Click on the header for column B to select it.
- Drag your mouse pointer to the left until you see the border change its color. It means column A is selected though you don’t see it.
- Release the mouse cursor and go to Home > Format > Hide & Unhide > Unhide Columns.
Format > Hide & Unhide > Unhide Columns» title=»Go to Home > Format > Hide & Unhide > Unhide Columns» width=»368″ height=»464″>
That’s it! This will show column A and leave the other columns hidden.
It can be rather difficult to find all hidden columns in a worksheet. Of course, you can review the column letters. However, it’s not an option if your worksheet contains numerous, like more than 20, hidden columns. Still there is one trick to help you locate hidden columns in Excel.
- Open your workbook and navigate to the Home tab.
- Click on the Find & Select icon and pick the Go to Special… option from the menu list.
- On the Go To Special dialog box, select the Visible cells only radio button and click OK.
You will see the entire visible part of the table highlighted and the column borders adjacent to the hidden columns borders will become whitish.
Tip. You can do the same using this short path: F5>Special > Visible cells only. The shortcut funs can just press the Alt + ; (semicolon) hotkey.
If you want to check the entire workbook for hidden columns before searching for their location, the Go To Special functionality may not be the best option. You should employ Document Inspector in this case.
- Go to File and click on the Check for issue icon. Select the Inspect Document option. This option examines your file for hidden properties and personal details.
- You may see the notification to save the latest changes before using Document Inspector in order to make sure you keep the important data.
Just click on the Yes or No buttons.
This window also lets you delete hidden data if you don’t trust them. Simply click Remove All.
This feature can appear helpful if you need to know if there are any hidden columns in Excel at all before you navigate to them.
Disable unhiding columns in Excel
Say, you hide some columns with important data like formulas or confidential information. Before you share the table with your colleagues you need to make sure no one will unhide the columns.
- Click on the small Select all icon on the intersection of row numbers and column letters to select the entire table.
- Right-click on the highlighted list and pick the Format Cells… option from the menu.
- On the Format Cells window go to the Protection tab and unselect the Locked checkbox.
- Click OK to save the changes.
- Now select the column or columns you want to protect from being unhidden.
Tip. You can select several columns by keeping the Ctrl button pressed.
Note. If you leave any part of the document available for editing a smart person can insert a formula in another column that will refer to your protected hidden column. For example, you hide column A, then another user types =A1 into B1, copies the formula down the column and gets all data from column A in column B.
Now you know how to show hidden columns in your Excel worksheets. Those who prefer to keep their data unseen, can benefit from the possibility to disable the Unhide option. A helpful macro will save your time on unhiding columns every so often.
If any questions left, feel free to comment on the post using the form below. Be happy and excel in Excel!
Источник