How to Hide and Unhide Columns in Excel 2024: Easy Steps and Tips
Last Updated : 06 May, 2025
Knowing how to hide and unhide columns in Excel can increase your workflow, especially when working with large datasets. Instead of deleting columns, hiding them allows you to focus on essential information. In this how-to Excel article, you will learn effective methods for hide and unhide columns in Excel. This article covers everything from hiding columns in Excel 2016 to using formulas to manage your spreadsheet's visibility.
How to Hide Columns in ExcelMethods to Hide the Column in Excel
Hiding a column in MS Excel can make your Column invisible but not delete the column. There are different methods to hide a column in Excel listed below:
Method 1: Hide a Column Using Ribbon in Excel
Here's the steps given below to hide a column in MS Excel using Ribbon function. Follow the steps mentioned below,
Select the first cell of the column, here we are selecting A1. Then, in the home got to format in the cells. In format choose Hide & Unhide in Visibility.
Select Column >> Home tab >> Format >> Choose Hide and UnhideStep 2: Select Hide Columns and see the output
In Hide & Unhide select Hide Columns option. And check the preview after choosing the hide column option. Now Column A will not appear on the screen.
Select hide ColumnsMethod 2: Hide Columns in Excel Shortcut
Below is the Dataset in which you want to Hide columns B and C. Follow the steps given below for your reference to hide columns using keyboard shortcuts.
DatasetStep 1: Select Column B and Drag it to Column C
Select the column B and drag it to the column C to select both of the columns.
Step 2: Press the shortcut key 'Ctrl + Zero'
After Selecting the Columns you want to hide, Press "Ctrl+zero(0) " together. You can see the result below, after hiding the columns.
Press Shortcut key Method 3: Hide Columns Using a Context Menu in Excel
If in case you don't remember the hotkeys you can also use another simple way to hide columns in Excel, Follow the below steps,
Step 1: Select the columns you want to hide
Right-click the selection and select the Hide option from the menu.
Right click> Select hide option from menu Method 4: Hide Excel Columns by Setting the Column Width as Zero
Now In the same Dataset, if you want to hide columns C. Follow the steps to hide column C by Setting the width as Zero.
Step 1: Select the Column you want to hide
Step 2: Right Click, Choose 'Column With' and set it to Zero (0) and Click 'OK'
Right-click on the Selected column, Choose "Column width", set it to 0, and click "ok".
Right Click > Choose 'Column With' and set it to Zero (0) >> Click 'OK'Step 3: Check the Changes
Now, You can see in the below image column C is hidden.
Check the Changes Method 5: Hide Column Using VBA Code
If you want to hide Columns B and C in the same dataset but with the help of VBA code. Follow the steps to hide the columns with the help of the VBA code.
Step 1: Click on the Developer tab in the Ribbon, and click "Visual Basic".
Note: If Developer Tab is not in the Ribbon, then you have to turn it on.
Step 2: Open Visual Basic for Applications, double-click on Sheet 1, Go to the Insert tab, click on Procedure, and specify the name.
In the Visual Basic application window, Double- click on "sheet1". Next from the Insert tab, click "procedure". Specify the name of the procedure and write the code:
Sub hiding_column()
Worksheets( "Sheet4").Columns("B:C).hidden = True
End sub
VBAStep 3: Save the file with .xlsm extension
Now Save the file with the .xlsm extension as it supports macros.
Step 4: Run tab and Click Run Sub/User from
Form the Run tab, click Run sub/user form." The output is shown in the below image.
Run tab > Click Run Sub/User fromHow to Hide Unused Column in Excel
Here's the steps given below to focus on your data and hide empty columns for your reference. Follow the procedure to do the same,
Step 1: Select the column after your last data column
Use Ctrl + Shift + Right Arrow to highlight all empty columns to the right.
Select the column after your last data columnStep 2: Press Ctrl + 0 to hide these columns
This keeps your workspace tidy, showing only what's important to users.
Press 'Ctrl + Zero'How to Hide and Show Columns using the Group Feature
Check the whole procedure to hide and show columns using the group feature in MS Excel given below for users reference,
Step 1: Select the columns you want to group (or hide)
Highlight the columns you want to group and hide.
Select the column you want to groupStep 2: Click on the Data Tab and Select Group
Go to the "Data" tab, select "Group," and choose "Columns" from the dialog box.
Click on the data tabStep 3: Choose Columns from the dialog box
Click the minus (-) sign to hide the grouped columns.
Choose columns from the dialog boxStep 4: Hide Columns
Click the minus (-) sign to hide the grouped columns.
Select the - iconStep 5: Preview the Result
PreviewHow to Hide Columns with Plus (+) Sign
You can hide columns with - sign and Expand the Columns with + Sign Using the Above Grouping Feature in Excel
- To Hide Columns Use - Sign
- To Unhide Use + Sign
How to Unhide Columns in Excel
Unhiding columns in Excel is a simple process. Follow the below steps to unhide the columns in Excel.
Step 1: Select Columns Around Hidden Columns
Highlight the columns on either side of the hidden column(s).
Step 2: Right-click on the selected columns
Step 3: Select Unhide
From the context menu, click "Unhide."
Also Read:
Conclusion
Hiding columns in Excel is a straightforward task that enhances your ability to manage and present data effectively. To hide columns on Excel, simply select the column(s) you wish to hide, right-click, and choose "Hidet" from the context menu. If you're dealing with extensive datasets or preparing reports, knowing how to hide columns on Excel can significantly improve your workflow and data management. By learning how to hide a column in Excel, you ensure a cleaner, more organized spreadsheet, making it easier to focus on the most relevant data.
Similar Reads
How to Unhide and Show Hidden Columns in Excel: Step by Step Guide
How to Unhide all Columns in Excel- Quick StepsOpen MS Excel >> Select the Entire WorksheetRight-click on Column Headers >> Select "Unhide"Columns VisibleUnhiding columns in Excel is a simple but essential task when working with hidden data. Whether to make a worksheet look cleaner or ac
9 min read
How to Hide and Unhide Columns in Google Sheets
Managing large datasets in Google Sheets can become overwhelming, especially when dealing with unnecessary or sensitive information. The ability to hide columns in Google Sheets helps keep your workspace clean and focused while unhiding columns in Google Sheets ensures you can access the data when n
5 min read
How to Add a Column in Excel: Step-by-Step Guide
Need to organize your data better in Excel but unsure how to add a column without disrupting your existing setup? Whether youâre working with a simple list or a complex table, inserting columns is a fundamental skill that increases productivity and keeps your data structured. This guide covers 4 eas
6 min read
How to Freeze and Unfreeze Columns in Excel (With Step-by-Step Examples)
Freezing and unfreezing columns in Excel is the perfect solution to keep key information like headers or labels visible, regardless of how far you scroll. Whether you're analyzing trends, preparing reports, or managing large datasets, the Freeze Panes feature in Excel can significantly enhance your
6 min read
How to Freeze Top Row and First Column in Excel (2025 Updated)
When working with large datasets in Excel, it can be challenging to keep track of key headers and labels as you scroll through rows and columns. Fortunately, Excel provides a powerful feature called Freeze Panes, which allows you to lock specific rows, columns, or both in place, making it easier to
6 min read
How to use Copilot in Excel with Examples (Step-by-Step Guide)
As of 2024, Microsoft introduced a new feature called Copilot for Excel, part of the broader Microsoft 365 suite, designed to enhance productivity and streamline data manipulation using AI-powered tools. The introduction of Excel Copilot is transforming how professionals across industries manage and
9 min read
How to Enable Macros in Excel (2025): Step-by-Step Guide
How to Activate Macros in Excel - Quick StepsOpen the Excel workbook.Click Enable Content in the yellow security warning bar.Go to File > Options > Trust Center > Trust Center Settings > Macro Settings.Choose the desired macro setting (e.g., Enable All Macros for trusted files).Save the
9 min read
How to Convert an Excel to a Google Sheet : 4 Easy Ways
Everyone has their preferred spreadsheet tool. For some, itâs Microsoft Excel, while others swear by Google Sheets. Even though they might look similar to the untrained eye, personal preferences and specific use cases often dictate the choice. But in a collaborative world, working with people who us
7 min read
How to Compare Two Columns in Excel : Easy and Quick Methods
In the world of data analysis, knowing how to compare two columns in Excel is a fundamental skill that can unveil valuable insights and ensure data accuracy. If you're looking to spot differences, find duplicates, or identify similarities, mastering Excel's compare columns functionality is key. This
8 min read
How to Find Duplicates in Excel (2025 Step-by-Step Guide)
Managing data effectively in Excel often requires identifying duplicate entries, which can clutter your analysis or lead to inaccuracies. Knowing how to find duplicates in Excel is essential for maintaining data integrity. From using COUNTIF to find duplicates to applying advanced filters and PivotT
9 min read