How to Remove (Delete) Blank Rows in Excel?
Let’s understand how to remove Blank Rows in excel with examples.
For god sake, we have the option of removing those unwanted blank rows and columns. There are multiple ways to remove blank rows from excel. In this article, I will discuss one by one in detail.
- The manual way of deleting blank rows if there are minimal blank rows.
- Find the blank and delete
- Identify blank rows using the formula and delete
- Use the filter to find the blank and delete
#1 – Manually Remove (Delete) Blank Rows in Excel
If we are working with a small amount of data it is not that a time-consuming process to remove blank rows in excel.
Below is the data I have which has totally of 3 blank rows in the entire data range.
In these cases, we need not use special skills to remove blank rows from excel.
- Step 1: Select the entire blank row using the Shift + Space key.
Note: Shift + Space is the shortcut key to select the entire row
- Step 2: once the entire row has selected, we can use a couple of options to remove the entire blank row in excel.
Option 1: Find the delete option in the Home tab
Once you click on Delete Sheet Rows, it will remove the entire selected blank row in excel
Option 2: Right-click on the selected row and click on delete. Once you click on Delete, it will remove the entire selected blank row in excel.
Option 3: Now comes the mother of all options. Once the entire row has selected, you can press “Ctrl –“.
4.9 (1,353 ratings) 35+ Courses | 120+ Hours | Full Lifetime Access | Certificate of Completion
Note: Ctrl + Minus is the excel shortcut key to remove the entire blank row in excel
Once you press the shortcut key, it will remove the entire blank row in excel for you.
Now I have deleted one row. I have two more empty rows to delete. Move to the next empty row and press Shift + Space to select the entire row.
Here is the trick we need to use. We can remove the entire blank row in excel by using previous options as we discussed in the previous example. However, we can delete this empty row just by pressing the F4 key.
F4 key is vital here. This particular key can recall the previous action made by you. Now, remember what was the previous action you did?
Yes! Correct the previous action was deleting the first empty row.
Select the empty row first and press the F4 key once.
Now do the same action for the last empty row.
Ok… I have introduced you to techniques of deleting empty rows now it’s up to you to decide which one to use
#2 – Find the Blank and Remove (Delete) Blank Rows in Excel
In the previous example, we had only three empty rows and we have deleted manually. But what if we have hundreds of those blank rows?
Of course, we cannot use that manual method right.
We can find the blank rows first and then we delete those rows.
Finding the blank is what the technique you need to know here. Follow this example to find out the way.
I have a below data to work with.
Oh! I have many blanks here. Follow the below steps to explore this method.
- Step 1: Select the entire data first
- Step 2: Now press Ctrl + G (shortcut key to Go to option). This will open up the below box.
- Step 3: Now click on the Special option. (You can use Alt + S shortcut key)
- Step 4: Once you selected Special this opens up the below box and select Blanks. You can type K as the shortcut key.
- Step 5: Once the blanks selected click on OK. It will select all the blanks in the selected region.
- Step 6: Now press the shortcut key Ctrl –. This will open up the below box and select Entire Row.
- Step 7: Click on OK this will delete all the blank rows.
#3 – Find the Blank Using Filter and Remove Blank Rows in Excel
Take the same example from the previous example.
- Step 1: Select the data and apply the filter.
- Step 2: Click on any one of the filters and select only Blanks.
- Step 3: Once the blanks are selected click on Ok. This will filter only the blank rows.
- Step 4: Select all the filtered rows and press Alt + ;
Note: When we filter empty rows, we cannot simply delete because there are many cells underneath that cell. We need to select only the cells that are visible. Press Alt +; is the shortcut key to select “Visible Cells Only”
- Step 5: once you have selected the visible cells, you can type Ctrl -.
- Step 6: Now remove the filter. We have deleted all the empty rows.
#4 – Find the Blank Using Formula and Delete Blank Rows in Excel
How do you say whether the row is blank or not?
Ans: If there is no data in the row then we can call it an empty row.
Take the same example from the previous example and insert a new column called count.
- Step 1: Apply the COUNT formula and count the values in the row.
The COUNT function in excel counts anything comes it’s the way.
If COUNT finds anything, it will return how many it has found otherwise it will return the result as zero.
- Step 2: Now we know if there is no value in the row COUNT has already the result has zero. To apply the filter and select only zero.
- Step 3: Once the zero values selected press ALT +; to select Visible Cells Only.
- Step 4: Press Ctrl – to delete the rows. Remove filter to see the result.
Things to Remember
- Be careful when you are filtering the blanks. You need to select the visible cells only option. Otherwise, there is a chance of deleting underneath rows as well.
- If you are using COUNT, function even if there is a small dot or space formula that will recognize it as a non-empty row and ignore that row.
This has been a guide to Remove Blank Rows in Excel. Here we discuss how to Delete Blank Rows in Excel – 1) Manually 2) Using Formula 3) Using Find and Replace 4) Using Filters along with practical examples. You may learn more about excel from the following articles –