Tricks for Hiding and Unhiding Excel Rows and Columns

Share this content

Hiding and unhiding rows and columns are mundane tasks that many users take for granted. However, sometimes simple tasks can trip up Excel users, like unhiding just one row or column within a hidden set. Other users don't know simple keystroke commands that can streamline hiding and unhiding columns or rows. In this article, I'll explore these techniques as well as discuss two powerful alternatives to manually hide and unhide rows and columns. I'll also discuss how to re-enable an Excel keyboard shortcut that's disabled in any operating system subsequent to Windows XP.

Hiding Rows and Columns
Let's first explore the traditional approaches to hiding rows and columns. Going forward, I'll only explain rows – simply replace the word Row with Column in any menu commands that I describe if you want to hide or unhide columns. First, select the row or rows that you wish to hide or unhide, and then carry out these steps:
  • Excel 2007 and later: On the Home tab, choose Format in the Cells section of the ribbon, and then choose Hide & Unhide, and then either Hide Rows or Unhide Rows.
  • Excel 2003 and earlier: Choose Format, Row, and then either Hide or Unhide.
Tip: Remember, to unhide rows, you must select rows on either side of the hidden set. If you're trying to unhide rows at the top of the worksheet, click on the first visible row, and then move your mouse up to the top of the screen.
Keyboard Shortcuts
Alternatively, you can select a row or rows, and then press Ctrl-9. To unhide rows, press Ctrl-Shift-9. For columns, use Ctrl-0 (that's a zero) or Ctrl-Shift-0, respectively. There's a catch with the latter shortcut, though. By default, Windows Vista, Windows 7, and Windows 8 use Ctrl-Shift-0 (zero) as a keyboard shortcut for changing the keyboard layout. This means that when you move from Windows XP to a newer version of Windows, Ctrl-Shift-0 no longer works in Excel unless you change an arcane Windows setting shown in Figure 1.
Figure 1: The Switch Keyboard Layout option in Windows Vista and later blocks Ctrl-Shift-0 for unhiding columns in Excel.
Windows 8:
  • Click on Language within the Control Panel.
  • Click Advanced Settings, and then click the Change Language Bar Hot Keys link.
  • Click Change Key Sequence, select Not Assigned in the Switch Keyboard Layout section, and then click OK as needed.
Windows Vista or Windows 7:
  • Click Region and Language within the Control Panel.
  • Choose the Keyboards and Languages tab, and then click Change Keyboards.
  • Click the Advanced Key Settings tab, and then click Change Key Sequence.
  • Select Not Assigned in the Switch Keyboard Layout section, and then click OK as needed.
Windows XP:
  • No Control Panel changes are necessary.
Unhide Selectively
Sometimes you may want to unhide just a single row or column. There are two ways to do so:
1. Press Ctrl-G to display the Go To window, type in the address of a cell in the row or column that you wish to unhide, and then click OK, as shown in Figure 2. Carry out the corresponding menu command or keyboard shortcut to unhide the row or column. You can also use menu commands to display the Go To dialog box:
  • Excel 2007 and later: Choose Find and Select on the Home tab, and then click Go To.
  • Excel 2003 and earlier: Choose Edit and then Go To.
2. If you don't know the exact address of the cell you're looking for, press Ctrl-F to display the Find window and search for a word within the hidden column or row. As with the Go To command, Excel will select the hidden cell, which you can then unhide. You can also use menu commands to display the Find dialog box:
  • Excel 2007 and later: Choose Find and Select on the Home tab, and then click Find.
  • Excel 2003 and earlier: Choose Edit, and then Find.
Figure 2: The Go To dialog box allows you to navigate to a hidden cell when you need to selectively unhide a row or column.
Group Rows or Columns
Excel's Group feature is an effective alternative to manually hide or unhide rows and columns. Select the rows or columns you wish to hide, and then carry out this command:
  • Excel 2007 or later: Click the Group icon in the Outline section of the Data ribbon.
  • Excel 2003 and earlier: Choose Data, Group and Outline, and then Group.
As shown in Figure 3, Excel adds a button outside the worksheet frame that you can use to toggle the hidden or visible status of rows or columns. To remove grouping, select the group, and then issue the corresponding Ungroup command, which is adjacent to the Group commands described above.
Figure 3: The Group feature allows you to expand or collapse a set of rows or columns with a single mouse click.
Custom Views
Many Excel users overlook the Custom Views feature, which among other things, allows you to save sets of hidden rows or columns. Before you start hiding rows or columns, first create a view that displays the entire worksheet:
  • Excel 2007 and later: Choose Custom Views in the Workbook Views section of the View ribbon. Click Add, and then assign a name, such as All Columns. Make sure that Hidden Row, Columns, and Filter Settings is selected, and then click OK.
  • Excel 2003 and earlier: Choose View, and then Custom Views. From there, the commands are the same as described in Excel 2007.
Next, hide rows and/or columns as desired, and then save a second custom view. You can now toggle between views as needed. Issue the Custom Views command, select a view from the list, and then click View.
See all articles by David Ringstrom.
About the author:
David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link.


Please login or register to join the discussion.


very useful..thanks for posting..:)

Asalam O Alaikum. Good Morning. Thank you so very much Sir David H. Ringstrom. I follow your easy steps / guidelines and now I can easily Hide and Unhide my Columns. I wish to become your student but I am very far in Saudi Arabia. Thanking you again. Good Bye Sir.

I'm so glad that you found my article helpful. Thank you for your kind feedback!

Assalaamu alaikum
Our problem is that I HIDE the rest columns from R1C12 until the end of column, if you know what I mean. But I cannot unhide those columns again because I simply cannot select the columns.

I tried Ctrl + Shift + Right Arrow - but when i left click, there's no UNHIDE option. Would you kindly help?

I recommend that you first click the button in the upper left-hand corner of the worksheet frame to select the entire worksheet. Next choose Format, Hide & Unhide, and then Unhide Columns in Excel 2007 and later, or in Excel 2003 and earlier choose Format, Column, Unhide.

Hello Sir
I am looking to see if there is a way to hide and unhide columns when I select a value from a drop down list. I have three values 5, 7 and 9 and each time I select one only that many columns must be selected. I was wondering is there anyway to do that or I am pushing excel beyond. Thank you in advance.

Tom, it's possible, but you have to use Visual Basic for Applications programming to do so. One approach is to add an ActiveX ComboBox to your worksheet, and populate the list with the numbers 5, 7, and 9. Right-click on the ComboBox, choose View Code, and then add these two lines of code within the Change event:

Range("G1").Columns.Resize(, 9).Hidden = True

Range("G1").Columns.Resize(, ComboBox1.Value).Hidden = False

Replace G1 with the actual starting point for the range of columns that you wish to hide, and ComboBox1 with the actual name of your ComboBox. ActiveX ComboBoxes are available in the Developer tab of Excel 2007 and later under the Insert command, or the Form Controls toolbar in Excel 2003. You'll have to use Design Mode to manage the properties. If you supplement this information with some Google searches you'll be able to get up to speed on the technique if you're not already familiar with VBA.

Great question, and I appreciate the opportunity to enrich my article.

Best regards,


What about Alt+Shift+right arrow.
this has always been the easiest way for me.

sir how will i unhide the hide coloumn and row with use the shortkut keys.

great,specially Group option

A much quicker way is tweaking Excel's bug if you don't mind the column width at current state, Say you hide column B-K, simply select column A to L and select auto adjust column width, all hidden columns become unhidden. This works at least in Excel 2007.