How to Remove Blank Cells in Excel (10 Easy Ways)

Blank cells inside the dataset sometimes become disturbing. These also create difficulties in the calculation. There are numerous methods to remove blank cells in Excel. In this article, we are going to know about them with explanations and examples.


Practice Workbook

Download the following workbook and exercise.


10 Quick Ways to Remove Blank Cells in Excel

1. Remove Blank Cells Manually in Excel

We can manually remove blank cells. Assuming we have a dataset of the Customer’s payment history with a lot of blank cells.

Remove Blank Cells Manually in Excel

STEPS:

  • First, select all the blank cells by pressing the Ctrl key from the keyboard.

Remove Blank Cells Manually in Excel

  • Next right-click on the mouse and select Delete.

Remove Blank Cells Manually in Excel

Or we can simply go to  Home > Cells > Delete.

  • Now we can see a small window. Select the required option and click OK.

  • Finally, we can get the result.


2. Using ‘Go To Special’ Feature to Delete Excel Blank Cells

Removing blank cells from a huge dataset is quite difficult if we try manually. ‘Go to Special’ can play an important role here. Let’s say we have a Customer’s payment history dataset.

Using ‘Go To Special’ Feature to Delete Excel Blank Cells

STEPS:

  • Select the whole range containing blank cells at first.
  • Go to Home > Editing.
  • Then from the Find & Select drop-down click ‘Go To Special

Using ‘Go To Special’ Feature to Delete Excel Blank Cells

  • We can see a small window pops up.
  • Then select the Blanks option and click OK.

Using ‘Go To Special’ Feature to Delete Excel Blank Cells

  • Here we can see all the selected adjacent & non-adjacent blank cells.

  • Now go to Home > Delete > Delete Sheet Rows.

  • After clicking that, we can see the final result.


3. Keyboard Shortcut to Erase Blank Cells in Excel

The keyboard shortcut is another easy way to remove blank cells.

STEPS:

  • Select all the blank cells from the range.
  • Now press the ‘Ctrl + ’ keys for the result.

4. Remove Empty Cells with Find Command

The Find command is an Excel built-in option. Here we are going to use it in a dataset of the Customer’s payment history with blank cells.

Remove Empty Cells with Find Command

STEPS:

  • First, select the whole data range from the worksheet.
  • Now in the Home tab, select the Editing.
  • Go to Find & Select > Find. We can also press the Ctrl+F keys to open the Find menu window.

Remove Empty Cells with Find Command

  • In this window, click Options to see the advanced search criteria.
  • Next, keep the Find what box blank.
  • After that, select Sheet from the Within the drop-down box.
  • We have to make sure that the ‘Match entire cell contents’ box is ticked.
  • Then select Values from the Look in the drop-down box.
  • Click on Find All.

Remove Empty Cells with Find Command

  • Here we can see all the blank cells. According to our dataset, there are 8 blank cells.
  • Press Ctrl + A to select them all and select Close to omit the window.

  • Go to Home > Delete > Delete Sheet Rows.

  • At last, we can see the output.


5. Use of Filter Option for Removing Blank Cells

An in-built option Filter can help us to find the blank cells from the below dataset and remove them.

Use of Filter Option for Removing Blank Cells

STEPS:

  • First, select the whole dataset.
  • Next, go to the Home tab.
  • Click Sort & Filter > Filter.

Use of Filter Option for Removing Blank Cells

  • We can see the filter toggle in each column.
  • Select one of them.
  • From the drop-down, uncheck Select All & check Blanks.
  • Press OK.

Use of Filter Option for Removing Blank Cells

  • Now we can see the filtered blank cells.

Use of Filter Option for Removing Blank Cells

  • Select the cells without the Header and delete them manually.

  • Again click on the filter toggle.
  • Click on Select All and select OK.

  • In the end, we can filter data without blank cells.


6. Use of Advanced Filters to Remove Blank Cells in Excel

Sometimes we can use the Advanced filter with a condition for removing blank cells in Excel. From the bellow dataset, we are going to remove all the blank Date cells. For this, we need to take some initial steps. At first, select the criterion cell G3:G4. Here we type “<>”. Also, we need to insert the total header where we want to see the result.

Use of Advanced Filters to Remove Blank Cells in Excel

STEPS:

  • Select the entire dataset.
  • Go to Data > Advanced.

Use of Advanced Filters to Remove Blank Cells in Excel

  • A small advanced filter window pops up.
  • Now insert the list and criteria ranges, where to copy. Also, select the option to copy another cell.
  • Press OK.

  • Finally, we can see the result in cell range G6:J11.


7. Use the Sort Option to Delete Excel Blank Cells

We can remove Excel blank cells by sorting them. Assuming we have a dataset.

Use the Sort Option to Delete Excel Blank Cells

STEPS:

  • First, select the data range.
  • Go to the Data tab.
  • From Sort & Filter section, select the ascending or descending Sort command.

Use the Sort Option to Delete Excel Blank Cells

  • Now we see that all the blank cells are at the end of the dataset.

  • Select the blank cells and delete them manually to see how the dataset looks.


8. Insert FILTER Function to Remove Blank Excel Cells

In an Excel Table, we can use the FILTER function. It’s a dynamic array function. Let’s say we have a data table of the Customer’s payment history in the B4:E11 range. We are going to remove the blank cells and show the result in Cell B14 by filtering the data according to the Amount row.

Insert FILTER Function to Remove Blank Excel Cells

STEPS:

  • Select Cell B14.
  • Type the formula:
=FILTER(Table1,Table1[Amount]<>"","")

  • Now hit Enter to see the result.


9. Erase Blank Cells After the Last Used Cell with Data

For removing the formatting of blank cells of the given data set after the last used cell with data, we can follow these steps.

Erase Blank Cells After the Last Used Cell with Data

STEPS:

  • Select the first blank cell of the header.
  • Press Ctrl + Shift + End to select the range of the cells between the last used cells with data and the current data.

  • Now go to Home > Delete >  Delete Sheet Columns.
  • In the end, press Ctrl + S to save the worksheet.


10. Use of Power Query to Remove Empty Cells in Excel

Power Query is an Excel Business Intelligence tool. We are going to use this powerful tool for removing blank row cells. Here is our data table.

Use of Power Query to Remove Empty Cells in Excel

STEPS:

  • Select any cell in the table.
  • Then for adding data into the Power Query window, go to Data > From Table/Range.

Use of Power Query to Remove Empty Cells in Excel

  • Now select the Home tab.
  • From the Remove Rows drop-down, click Remove Blank Rows.

  • Then for creating a new table without blank rows, click the Close & Load option.

  • Lastly, we can see the new table. We also can replace this data with the original one but it’s optional.


Conclusion

By using these methods, we can easily remove blank cells in Excel. There is a practice workbook added. Go ahead and give it a try. Feel free to ask anything or suggest any new methods.


Related Reading:

 

 

Nuraida Kashmin

Hi Everyone! I am Nuraida. Cordially welcome you to my profile. Here I will post articles related to Microsoft Excel. With a strong educational background in Mechanical Engineering through experimental learning from Rajshahi University of Engineering & Technology. Skilled in Microsoft Word, Creative Writing, Microsoft Excel, Project Management, Support to Organize Different Events, Reporting, Monitoring & Documentation, Online Advocacy and Event Management Related to SAP and Youth Leaders.

We will be happy to hear your thoughts

Leave a reply

ExcelDemy
Logo