Bạn đang xem bài viết How To Hide And Unhide Rows In Microsoft Excel In 2 Different Ways được cập nhật mới nhất tháng 12 năm 2023 trên website Hoisinhvienqnam.edu.vn. Hy vọng những thông tin mà chúng tôi đã chia sẻ là hữu ích với bạn. Nếu nội dung hay, ý nghĩa bạn hãy chia sẻ với bạn bè của mình và luôn theo dõi, ủng hộ chúng tôi để cập nhật những thông tin mới nhất.
10 Things in Tech: Get the latest tech trends & innovations
Loading Something is loading.
Email address
Check out the products mentioned in this article:
Marissa Perino/Business Insider
Highlight adjacent cells to unhide a hidden row.
Marissa Perino/Business Insider
Unhide all rows.
Marissa Perino/Business Insider
Related coverage from How To Do Everything: Tech:
How To Hide And Unhide Rows In Excel
The tutorial shows three different ways to hide rows in your worksheets. It also explains how to show hidden rows in Excel and how to copy only visible rows.
If you want to prevent users from wandering into parts of a worksheet you don’t want them to see, then hide such rows from their view. This technique is often used to conceal sensitive data or formulas, but you may also wish to hide unused or unimportant areas to keep your users focused on relevant information.
On the other hand, when updating your own sheets or exploring inherited workbooks, you would certainly want to unhide all rows and columns to view all data and understand the dependencies. This article will teach you both options.
How to hide rows in ExcelAnyway, you begin with selecting the rows you’d like to hide:
To select multiple contiguous rows, drag across the row headings using the mouse. Or select the first row and hold down the Shift key while selecting the last row.
With the rows selected, proceed with one of the following options.
Hide rows using the ribbonIf you enjoy working with the ribbon, you can hide rows in this way:
Under Visibility, point to Hide & Unhide, and then select Hide Rows.
Either way, the selected rows will be hidden from view straight away.
If you’d rather not take your hands off the keyboard, you can quickly hide the selected row(s) by pressing this shortcut: Ctrl + 9
How to unhide rows in ExcelAs with hiding rows, Microsoft Excel provides a few different ways to unhide them. Which one to use is a matter of your personal preference. What makes the difference is the area you select to instruct Excel to unhide all hidden rows, only specific rows, or the first row in a sheet.
Unhide rows by using the ribbonHere is the Excel Unhide Rows shortcut: Ctrl + Shift + 9
Pressing this key combination (3 keys simultaneously) displays any hidden rows that intersect the selection.
In order to unhide all rows on a sheet, you need to select all rows. For this, you can either:
Press the Select All shortcut: Ctrl + A
Please note that in Microsoft Excel, this shortcut behaves differently in different situations. If the cursor is in an empty cell, the whole worksheet is selected. But if the cursor is in one of contiguous cells with data, only that group of cells is selected; to select all cells, press Ctrl+A one more time.
Once the entire sheet is selected, you can unhide all rows by doing one of the following:
Press Ctrl + Shift + 9 (the fastest way).
How to unhide all cells in ExcelTo unhide all rows and columns, select the whole sheet as explained above, and then press Ctrl + Shift + 9 to show hidden rows and Ctrl + Shift + 0 to show hidden columns.
How to unhide specific rows in ExcelDepending on which rows you want to unhide, select them as described below, and then apply one of the unhide options discussed above.
To show one or several adjacent rows, select the row above and below the row(s) that you want to unhide.
To unhide multiple non-adjacent rows, select all the rows between the first and last visible rows in the group.
For example, to unhide rows 3, 7, and 9, you select rows 2 – 10, and then use the ribbon, context menu or keyboard shortcut to unhide them.
How to unhide top rows in ExcelHiding the first row in Excel is easy, you treat it just like any other row on a sheet. But when one or more top rows are hidden, how do you make them visible again, given that there is nothing above to select?
The clue is to select cell A1. For this, just type A1 in the Name Box, and press Enter.
Tips and tricks for hiding and unhiding rows in ExcelAs you have just seen, hiding and showing rows in Excel is quick and straightforward. In some situations, however, even a simple task can become a challenge. Below you will find easy solutions to a few tricky problems.
How to hide rows containing blank cellsTo hide rows that contain any blank cells, proceed with these steps:
Select the range that contains empty cells you want to hide.
Press Ctrl + 9 to hide the corresponding rows.
This method works well when you want to hide all rows that contain at least one blank cell, as shown in the screenshot below:
If you want to hide blank rows in Excel, i.e. the rows where all cells are blank, then use the COUNTBLANK formula explained in How to remove blank rows to identify such rows.
How to hide rows based on cell valueTo hide and show rows based on a cell value in one or more columns, use the capabilities of Excel Filter. It provides a handful of predefined filters for text, numbers and dates as well as an ability to configure a custom filter with your own criteria (please follow the above link for full details).
To unhide filtered rows, you remove filter from a specific column or clear all filters in a sheet, as explained here.
Hide unused rows so that only working area is visibleIn situations when you have a small working area on the sheet and a whole lot of unnecessary blank rows and columns, you can hide unused rows in this way:
Press Ctrl + Shift + Down arrow to extend the selection to the bottom of the sheet.
Press Ctrl + 9 to hide the selected rows.
In a similar fashion, you hide unused columns:
Select an empty column that comes after the last column with data.
Press Ctrl + Shift + Right arrow to select all other unused columns to the end of the sheet.
Press Ctrl + 0 to hide the selected columns. Done!
If you decide to unhide all cells later, select the entire sheet, then press Ctrl + Shift + 9 to unhide all rows and Ctrl + Shift + 0 to unhide all columns.
If your worksheet contains hundreds or thousands of rows, it can be hard to detect hidden ones. The following trick makes the job easy.
This will select all visible cells and mark the rows adjacent to hidden rows with a white border:
How to copy visible rows in ExcelSupposing you have hidden a few irrelevant rows, and now you want to copy the relevant data to another sheet or workbook. How would you go about it? Select the visible rows with the mouse and press Ctrl + C to copy them? But that would also copy the hidden rows!
To copy only visible rows in Excel, you’ll have to go about it differently:
Select visible rows using the mouse.
Press Ctrl + C to copy the selected rows.
Press Ctrl + V to paste the visible rows.
Cannot unhide rows in ExcelIf you have troubles unhiding rows in your worksheets, it’s most likely because of one of the following reasons.
1. The worksheet is protectedWhenever the Hide and Unhide features are disabled (greyed out) in your Excel, the first thing to check is worksheet protection.
2. Row height is small, but not zeroIn case the worksheet is not protected but specific rows still cannot be unhidden, check the height of those rows. The point is that if a row height is set to some small value, between 0.08 and 1, the row seems to be hidden but actually it is not. Such rows cannot be unhidden in the usual way. You have to change the row height to bring them back.
To have it done, perform these steps:
Select a group of rows, including a row above and a row below the problematic row(s).
This will make all hidden rows visible again.
If the row height is set to 0.07 or less, such rows can be unhidden normally, without the above manipulations.
3. Trouble unhiding the first row in ExcelIf someone has hidden the first row in a sheet, you may have problems getting it back because you cannot select the row before it. In this case, select cell A1 as explained in How to unhide top rows in Excel and then unhide the row as usual, for example by pressing Ctrl + Shift + 9.
If none of the above tips has worked for you, there is a chance that the hidden rows are a result of filtering. In this case, clear the filters, as explained in How to remove filter in Excel.
This is how you hide and undie rows in Excel. I thank you for reading and hope to see you on our blog next week!
You may also be interested inHow To Unhide Rows In Excel
Download Article
Download Article
Unhiding a Specific Row
Find the hidden row. Look at the row numbers on the left side of the document as you scroll down; if you see a skip in numbers (e.g., row 23 is directly above row 25), the row in between the numbers is hidden (in 23 and 25 example, row 24 would be hidden). You should also see a double line between the two row numbers.
It’s in the drop-down menu. Doing so will prompt the hidden row to appear.
Unhide a range of rows. If you notice that several rows are missing, you can unhide all of the rows by doing the following:
This tab is just below the green ribbon at the top of the Excel window.
If you’re already on the Home tab, skip this step.
This option is in the “Cells” section of the toolbar near the top-right of the Excel window. A drop-down menu will appear.
You’ll find this option in the Format drop-down menu. Selecting it prompts a pop-out menu to appear.
Adjusting Row Height
This tab is just below the green ribbon at the top of the Excel window.
If you’re already on the Home tab, skip this step.
This option is in the “Cells” section of the toolbar near the top-right of the Excel window. A drop-down menu will appear.
It’s in the drop-down menu. This will open a pop-up window with a blank text field in it.
Enter the default row height. Type 14.4 into the pop-up window’s text field.
Community Q&A
Add New Question
The top 7 rows of my Excel worksheet have disappeared. I’ve tried to “unhide” from the Format menu, but nothing happens. What do I do?
You’ll have to unlock the cells (via the format pop-up), then hide them all before unhiding them.
There is a possibility you did not hide the rows but reduced your rows’ height to minimum. Select all rows above and below of your 7 rows and increase rows height from format menu. It will re-adjust the height of rows and your rows will be visible.
This article was written by Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher. This article has been viewed 309,392 times.
How helpful is this?
Updated: November 17, 2023
Thanks to all authors for creating a page that has been read 309,392 times.
Robert Theriault
“I had some rows hidden and couldn’t figure out how to unhide the rows. The article solved that problem for me. Thanks” …” more
How To Hide And Unhide Worksheets In Excel
What to Know
This article explains how to hide and unhide worksheets using the contextual menu and the ribbon in Excel for Microsoft 365, Excel 2023, 2023, 2013, and 2010.
Data Use in Hidden Worksheets
By default, all open Excel workbooks display worksheet tabs on the taskbar at the bottom of the screen, but you can hide or display them as needed. At least one worksheet must be visible at all times.
Hiding worksheets doesn’t mean you’re deleting them, and you can still reference them in formulas and charts located on other worksheets or other workbooks.
Hide Worksheets Using the Contextual Menu
If the Hide option is inactive or grayed out, most likely, the current workbook has only one worksheet. Excel deactivates the Hide option for single-sheet workbooks because there must always be at least one visible sheet.
How to Hide a Single Worksheet
How to Hide Multiple Worksheets
Press and hold down the Ctrl key on the keyboard.
Hide Worksheets Using the Ribbon
Excel has no keyboard shortcut for hiding worksheets, but you can use the ribbon bar to accomplish the same task.
Select one or more worksheet tabs at the bottom of an Excel file.
Select Format in the Cells group.
Select Hide Sheet.
Unhide Worksheets Using the Contextual Menu
You can unhide tabs using the contextual menu, just as you can hide them.
Unhide Worksheets Using the Ribbon
As with hiding worksheets, Excel has no keyboard shortcut for unhiding a sheet, but you can still use the ribbon.
Select one or more worksheet tabs at the bottom of the Excel file.
Select Format.
Select Unhide Sheet.
How To Wrap Text In Microsoft Excel In 2 Ways, To Make Sure That All Of Your Data Is Visible
You can wrap text in Excel to ensure that all the text in a cell is visible at once.
There are two ways to wrap text — you can edit the settings so that cells wrap automatically, or you can manually break up lines to wrap text.
Visit Business Insider’s homepage for more stories.
10 Things in Tech: Get the latest tech trends & innovations
Loading Something is loading.
Email address
Wrapping text in an Excel cell makes it easier to view all of the data in that cell. A wrapped cell expands as you type into it, so it will always fit everything you type.
Wrapping text isn’t the default option in Microsoft Excel, but it’s a simple adjustment to make. There are two ways to wrap text in Excel — you can either edit the settings to wrap text automatically or you can manually enter line breaks.
Note, however, that you may have to adjust the row height, to ensure that all your text is visible.
Check out the products mentioned in this article:
William Antonelli/Business Insider
3. Alternatively, you can select “Format” from the menu at the top, hit “Cells” and then select “Wrap Text” under the “Alignment” tab.
If you prefer to use this menu, you’ll find text wrapping in the “Alignment” tab.
William Antonelli/Business Insider
4. Note that the size of the cell impacts the text that you see. For example, if you change the width of the cell, the data wrapping will automatically adjust to fit the new space.
The wrapped text won’t overflow into other cells.
William Antonelli/Business Insider
If your wrapped text isn’t all visible, it could be because the row is set to a specific height that can’t accommodate the amount of text, or that the text is in a range of cells that’s been merged.
Here’s how to adjust the height of a cell:
1. Select the cell or cells that you want to adjust the row height of.
2. Select the “Format” tab, then select “Height.”
3. From there, you can either:
Select “AutoFit Row Height” to automatically adjust the row height to fit your text.
Specify the exact height of the row by selecting “Row Height” and typing the height (in pixels) into the box.
AutoFit is usually the best solution.
William Antonelli/Business Insider
Related coverage from How To Do Everything: Tech:
Unhide All Rows / Columns
This tutorial will demonstrate how to unhide all rows and / or columns in an Excel worksheet using VBA.
Unhide All Rows
To unhide all rows in an Excel sheet, we will set the Hidden Property of all of the rows to FALSE.
We can access all rows by using the EntireRow Property of the Cells Object:
1
Cells
.
EntireRow
.
Hidden
=
False
or by using the EntireRow Property of the Rows Object:
1
Rows
.
EntireRow
.
Hidden
=
False
Unhide All Columns
Similarily, we can unhide all columns in an Excel sheet, by adjusting the Hidden Property of all the Columns.
You can access all of the columns by using the EntireColumn Property of the Cells Object:
1
Cells
.
EntireColumn
.
Hidden
=
False
or by using the EntireColumn Property of the Columns Object:
1
Columns
.
EntireColumn
.
Hidden
=
False
Hide All Rows or Columns
Of course, to hide all rows or columns, just set the Hidden Property to TRUE:
1
Columns
.
EntireColumn
.
Hidden
=
True
Macro to Unhide All Rows and Columns
Use this macro to unhide all rows and columns in a worksheet:
1
2
3
4
Sub
Unhide_All_Rows_Columns
(
)
Columns
.
EntireColumn
.
Hidden
=
False
Rows
.
EntireRow
.
Hidden
=
False
End
Sub
Macro to Unhide All Rows and Columns on all Sheets
This macro will unhide all rows and columns in all sheets in an Excel workbook:
1
2
3
4
5
6
7
8
Sub
Unhide_All_Rows_Columns_in_Workbook
(
)
Dim
ws
As
Worksheet
For
Each
ws
In
Worksheets
Columns
.
EntireColumn
.
Hidden
=
False
Rows
.
EntireRow
.
Hidden
=
False
Next
ws
End
Sub
Cập nhật thông tin chi tiết về How To Hide And Unhide Rows In Microsoft Excel In 2 Different Ways trên website Hoisinhvienqnam.edu.vn. Hy vọng nội dung bài viết sẽ đáp ứng được nhu cầu của bạn, chúng tôi sẽ thường xuyên cập nhật mới nội dung để bạn nhận được thông tin nhanh chóng và chính xác nhất. Chúc bạn một ngày tốt lành!