Shortcuts to Hide Columns

Written by Allen Wyatt (last updated August 7, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


Tom notes that in older versions of Excel he would use Ctrl+0 to hide selected columns and Ctrl+Shift+0 to unhide those columns. When he upgraded to a much newer version of Excel, however, only the Ctrl+0 worked for him, not Ctrl+Shift+0. Tom wonders if Microsoft changed one shortcut but not the other.

There was no change in the shortcuts; they both still work just fine in later versions of Excel. If the second shortcut (Ctrl+Shift+0) doesn't work on your system, it could be because there is some add-in being loaded that stops the shortcut from working properly or, perhaps, because a custom shortcut key has been defined that uses the same keypress. Probably a more likely reason the second shortcut (Ctrl+Shift+0) doesn't work is because this keypress is being used by the Windows operating system for use in switching language keyboards. The following Microsoft Support article explains the process to go through in order to reassign this keypress back to Excel to unhide columns in earlier versions of Microsoft Windows:

If you are using the Windows 10 operating system, follow these steps to reassign the Ctrl+Shift+0 shortcut back to Excel:

  1. Type "Advanced Keyboard Settings" (without the quotes) in the Search box at the left of the Taskbar. Windows displays the Advanced Keyboard Settings window of the Settings dialog box.
  2. Click on Language Bar Options. Windows displays the Text Services and Input Languages dialog box.
  3. Make sure the Advanced Key Settings tab is displayed.
  4. Click the Change Key Sequence button. Windows displays the Change Key Sequence dialog box.
  5. Select something other than Ctrl+Shift in the second column of the dialog box. If you don't use this option, "Not Assigned" is the best choice.

You will now be able to use Ctrl+Shift+0 to unhide the columns.

Another thing to keep in mind is that the only way that Ctrl+Shift+0 works is if you have at least one hidden column selected before you use it. For example, if you hide columns D and E, you can later unhide them by selecting columns C through F (which obviously includes the hidden columns) and then pressing the shortcut.

Finally, you should be aware that both of these shortcuts only work if you use the 0 key on the main keyboard. They won't work if you use the 0 key on the numeric keypad.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7757) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...


Changing the Insertion Point Cursor

Want to change the characteristics of the insertion point used by Word? You may be out of luck, unless you make some ...

Discover More

Intelligent Title Case

A common editorial need is to change the capitalization used on different words in a selection of text. Word provides a ...

Discover More

Swapping Two Strings

Strings are used quite frequently in macros. You may want to swap the contents of two string variables, and you can do so ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Unhiding a Single Column

In a worksheet with lots of hidden columns it is a real pain to try to unhide just one or two columns. The best solution ...

Discover More

Hiding and Unhiding Columns

Want to hide a column so it doesn't appear in the worksheet? It's easy to do using the formatting capabilities of Excel.

Discover More

Hiding Columns Not within a Date Range

Want to automatically hide some columns that don't meet a date criterion that you set? You can't do it automatically, but ...

Discover More

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is four more than 4?

2020-10-14 04:37:53

Peter Atherton

Seeing the post by Pete reminds me that Lotus 123 worked similarly; it was probably the same on all DOS-based spreadsheets.
Ctrl + O was used to Open a File and
Ctrl + S to save the file (I still use this often)
/fa to save the file as ...

2020-10-13 16:39:02


Shortcuts to Hide Columns

I know I have extolled the virtue of the old Supercalc commands before and this is another good example

/och to hide a column
/ocu to unhide a column

so much more straight forward and no multi-key ctrl+alt+ fiddling! Works every time!

Keep up the good work!

2019-06-01 15:31:59


I tried Ctl+0 in W7. It did nothing.

Here is a very simple way to accomplish hide/unhide rows, columns.

Rt clk row(s)/column(s) want to hide>Hide
Select rows on either side of the hidden set>rt clk>Unhide

2019-06-01 05:43:50

Chris van Zyl

Thanks for this Allen. Some additional information: Restoring a hidden column A can be problematical; selecting B and doing Ctrl+Shift+0 doesn't work. I have had trouble with this in the past. The solution is to select everything (Ctrl+A or click on the screen top left, at the intersection of the column of row numbers and the row of column letters) first. Ctrl+Shift+0 now has the desired effect (while a right-click, then Unhide doesn't).

This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.