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


4

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:

https://support.microsoft.com/en-us/help/967893/input-method-editor-keyboard-shortcut-ctrl-shift-0-switches-the-input

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. ...

MORE FROM ALLEN

Creating an Organization Chart

The graphics capabilities of Excel are flexible enough that you can use the program to create organization charts. Here's ...

Discover More

Deleting Styles

As documents evolve, so do your needs for various styles. You may create new ones and, invariably, old ones need to be ...

Discover More

Automating the Importing of Macros

Macros are great when it comes to automating how you work with your workbooks. What if you want to fundamentally change ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Widening Multiple Columns Proportionally

It is easy to adjust the width of columns in Excel. It is much harder to adjust the width of a range of columns ...

Discover More

Countering Compressed Columns

If you open a workbook and find that the width of some of your columns has been changed, the discovery can be ...

Discover More

Double-Clicking to Widen Columns Won't Work

One way you can widen the columns in a worksheet to fit whatever is in the column is by double-clicking the right edge of ...

Discover More
Subscribe

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

View most recent newsletter.

Comments

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 one less than 9?

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

Pete

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

Allan

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

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

Hide
Rt clk row(s)/column(s) want to hide>Hide
Unhide
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
Subscribe

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.