How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (2024)

To demonstrate these methods, we’ve prepared a dataset showing information about targets, sales, and profits for a set of products during the first half of the year in a company.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (1)

Method 1 – Use Context Menu to Hide and Unhide Columns:

  • First, select the column you want to hide (e.g., Column D).

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (2)

  • Right-click on the selected column and choose Hidefrom theContext Menu.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (3)

  • Column D will no longer be visible in the worksheet.
  • You’ll notice a double line on the headings bar, indicating a hidden column.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (4)

  • To unhide column D, select adjacent columns C and E.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (5)

  • Right-click andchoose Unhide from the Context Menu.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (6)

  • Alternatively, drag the cursor icon to the right to reveal the hidden column.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (7)

Read More: How to Hide Columns with Button in Excel

Method 2 – Hide and Unhide Columns with Format Tool:

  • Select the column you want to hide (e.g., Column E).
  • If hiding multiple columns, press Ctrl and select the desired columns.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (8)

  • Go to the Home tab and click Formatunder the Cells group.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (9)

  • Choose Hide & Unhidefrom the Visibility section of the Format drop-down.
  • Select Hide Columns.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (10)

  • Column E will be hidden, indicated by double lines in the headings bar.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (11)

  • To unhide, select adjacent columns C and E.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (12)

  • Go to the Format drop-down andchoose Unhide Columns.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (13)

Read More: Hide Columns with No Data in Excel

Method 3 – Apply Group Feature to Hide and Unhide Columns:

  • Select columns C and D.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (14)

  • Go to the Data tab and choose Groupunder the Outline section.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (15)

  • The Group feature activates, grouping columns C and D.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (16)

  • Click the Minus () icon to hide the columns.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (17)

  • To unhide, click the Plus (+) icon.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (18)

  • You can also use the toggle view (click 1 to hide and 2 to unhide).

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (19)

  • To disable this feature, go to the Home tab and select Ungroupunder the Outline section.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (20)

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (21)

Note: You can also use the Auto Outline tool in the Group feature if your dataset has the SUM function or the SUBTOTAL function.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (22)

Method 4 – Insert Keyboard Shortcuts:

  • Select any cell or adjacent cells (e.g., cell E7).

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (23)

  • Press Ctrl + 0 to hide Column E.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (24)

  • To unhide, press Alt and then type H + O + U + L sequentially on your keyboard.
  • It will unhide column E like the image below:

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (25)

Read More: How to Hide Columns Without Right Click in Excel

Method 5 – Change Column Width to Hide and Unhide Columns:

  • Select column C or more than two columns if desired.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (26)

  • Right-click and choose Column Width.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (27)

  • In the new window, type 0 as the column width and press OK.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (28)

  • The column is now hidden.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (29)

  • To unhide it, select any cell and type the cell reference of the hidden column in the Name box (e.g., C1).
  • You’ll see a cursor icon over the hidden column.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (30)

  • Go to the Home tab, click Formatunder the Cells group, and select Column Widthfrom the drop-down.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (31)

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (32)

  • Type a numeric value to determine the hidden column width and press OK.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (33)

  • Column C will be unhidden.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (34)

Read More: How to Hide Multiple Columns in Excel

Method 6 – Hide and Unhide Columns with Excel VBA:

  • Go to the Developer tab and select Visual Basicunder the Codes group.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (35)

  • In the Visual Basic window, choose Modulefrom the Insert section.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (36)

  • Insert the following code on the blank page:
Sub HideColumns()Columns("D").EntireColumn.Hidden = TrueEnd Sub

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (37)

  • Click the Run Subbutton or press F5 on your keyboard.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (38)

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (39)

  • Column D will be hidden.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (40)

  • To unhide it, create a new Visual Basic page and insert this code:
Sub UnhideColumns()Cells.EntireColumn.Hidden = FalseEnd Sub

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (41)

  • Run this code with a similar procedure to unhide column D.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (42)

Note: To hide more than one column, use this code. Here the column range is variable according to the dataset. For example, we have taken column range A:C.

Sub HideMultipleColumns()Columns("A:C").EntireColumn.Hidden = TrueEnd Sub

Method 7 – Use Go To Feature to Hide and Unhide Columns:

  • First, select column B and right-click on it.
  • Click Hideto hide column B.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (43)

  • You can see that column B is hidden.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (44)

  • To unhide it, go to the Home tab and click Find & Select.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (45)

  • Choose Go To from the drop-down.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (46)

  • Insert the reference as B1 in the Go To window (since our hidden column is B) and press OK.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (47)

Note: In the case of more than one column, type Reference as a range of columns. For example, type B:C as the reference.

  • If the hidden column is still not visible:
    • Go to the Home tab, select Formatunder the Cells group, and click Unhide Columns.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (48)

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (49)

  • You will be able to see the hidden column B.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (50)

Read More: How to Hide Extra Columns in Excel

How to Check the Number of Hidden Columns in Excel?

  • Go to the File tab on the Excel ribbon.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (51)

  • Navigate to Info and click Check for Issues.
  • Select Inspect Documentfrom the drop-down.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (52)

  • Choose your preferred option regarding saving the file.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (53)

  • In the Document Inspector window, ensure that Hidden Rows and Columnsare marked.
  • Click Inspectto find the result of hidden columns in the worksheet.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (54)

  • You will find the result of hidden columns in this worksheet.

How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (55)

Download Workbook

You can download the practice workbook from here:

Hide and Unhide Columns.xlsm

Related Articles

  • How to Unhide Columns in Excel All at Once
  • Unhide Columns Is Not Working in Excel
  • Unhide Columns in Excel Shortcut Not Working

<< Go Back to Hide Columns | Columns in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
How to Hide and Unhide Columns in Excel (7 Methods) - ExcelDemy (2024)

References

Top Articles
Latest Posts
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 5495

Rating: 4.2 / 5 (53 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.