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

Here’s the overview of a sample dataset where blank cells are removed.

The overview image of removing blank cells in excel


How to Remove Blank Cells in Excel: 10 Quick Ways


Method 1 – Removing Blank Cells Manually in Excel

We have a dataset of the Customer’s payment history with a lot of blank cells.

Remove Blank Cells Manually in Excel

Steps:

  • Select all the blank cells by holding the Ctrl key from the keyboard and clicking the cells.

Selecting Blank Cells Manually in Excel

  • Right-click on the selection and choose Delete.

Selecting Delete option from context menu

  • Alternatively, go to Home and select Delete.

Opening Delete options from the ribbon

  • Select an option and click OK.

deleting ENtire row

  • Here’s the result where entire rows with blank cells were removed.

Results after removing blank cells

Read More: How to Delete Blank Cells and Shift Data Up in Excel


Method 2 – Using Go To Special to Delete Blank Cells

We have a payment history dataset.

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

Steps:

  • Select the whole range containing blank cells.
  • Go to Home and, from the Find & Select drop-down, click Go To Special.

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

  • Select the Blanks option and click OK.

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

  • Excel selects all blank cells.

selection of blank cell by Go to Special feature

  • Go to Home, choose Delete, and pick Delete Sheet Rows.

Opening Delete Option from the ribbon

  • Here’s the final result.

Results after deleting blank cells

Read More: How to Remove Blank Cells from a Range in Excel


Method 3 – Use a Keyboard Shortcut to Erase Blank Cells in Excel

Steps:

  • Select all the blank cells from the range.
  • Press Ctrl + .

Method 4 – Remove Empty Cells with Find

We’ll use a similar dataset with some empty cells and rows.

Remove Empty Cells with Find Command

Steps:

  • Select the whole dataset.
  • In the Home tab, select Editing.
  • Go to Find & Select and choose Find. You can also press the Ctrl + F keys to open the Find menu window.

choosing Find Option from ribbon

  • Click Options to see the advanced search criteria.
  • Keep the Find what box blank.
  • Select Sheet from the Within the drop-down box.
  • Make sure that the Match entire cell contents box is checked.
  • Select Values from the Look in drop-down box.
  • Click on Find All.

Opening Find and replace Dialoge box

  • You’ll get a result of the cells in the window below the settings.
  • Press Ctrl + A to select all cells and click on Close.

Selecting all the finds

  • Go to Home, then select Delete and pick Delete Sheet Rows.

Opening delete Option from rib

  • Here’s the result.

Results after deleting blank


Method 5 – Use the Filter Option for Removing Blank Cells

We’ll use the same starting dataset.

Use of Filter Option for Removing Blank Cells

Steps:

  • Select the whole dataset.
  • Go to the Home tab.
  • Click on Sort & Filter and pick Filter.

Use of Filter Option for Removing Blank Cells

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

Use of Filter Option for Removing Blank Cells

  • You can see the filtered blank cells.

Use of Filter Option for Removing Blank Cells

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

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

Selecting all from the Folter dialogue box

  • Here’s the filtered data without blank cells.


Method 6 – Use Advanced Filters to Remove Blank Cells in Excel

From the bellow dataset, we are going to remove all the blank Date cells.

  • Select the criterion cell C14.
  • Insert “<>”.
  • Insert the table where you want to see the result.

Use of Advanced Filters to Remove Blank Cells in Excel

  • Select the original dataset.
  • Go to Data and choose Advanced from Filter.

Use of Advanced Filters to Remove Blank Cells in Excel

  • A filter window pops up.
  • Insert the list and criteria ranges, and where to copy.
  • Select the option to copy to another location.
  • Press OK.

Inserting the parameters in Advanced Filter Dialogue box

  • Here’s the result in the cell range B16:E16.

result after applying advanced filter for removing blank cells


Method 7 – Use the Sort Option to Delete Excel Blank Cells

We have a dataset like in the previous methods.

Use the Sort Option to Delete Excel Blank Cells

Steps:

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

Use the Sort Option to Delete Excel Blank Cells

  • All the blank cells are at the end of the dataset.

Sorted data after so sorting data

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

Result after deleting blank image


Method 8 – Using the FILTER Function to Remove Blank Excel Cells

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.
  • Insert the formula:
=FILTER(Table1,Table1[Amount]<>"","")

Using FILTER Function to Filter out data

  • Hit Enter to see the result.

Results after using FILTER Function


Method 9 – Erase Blank Cells After the Last Used Cell with Data

We have a few blank columns.

Data set with smae formatted blank cells

Steps:

  • Select the first blank cell.
  • Press Ctrl + Shift + End.

selecting the blank cells

  • Go to Home, choose Delete, and pick Delete Sheet Columns.

Choosing Delete Sheet Columns option

  • You will see that the blank columns have been deleted.

the blank columns have been deleted.

Read More: How to Remove Unused Cells in Excel


Method 10 – Using Power Query to Remove Empty Cells in Excel

Here is our data table.

Use of Power Query to Remove Empty Cells in Excel

Steps:

  • Select any cell in the table.
  • Go to Data and select From Table/Range.

Use of Power Query to Remove Empty Cells in Excel

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

Removing Blank Rows from Power Query Editor

  • Click the Close & Load option.

Choosing Close & Load to option

  • You’ll get a table in a new worksheet.

Results after loading the Power Query in a sheet


Download the Practice Workbook


Excel Remove Blank Cells: Knowledge Hub


<< Go Back to Excel Cells | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Nuraida Kashmin
Nuraida Kashmin

Nuraida Kashmin, Bachelor's degree in Mechanical Engineering from Rajshahi University of Engineering & Technology. Since 2021, she wrote 45+ articles on Excel problems and reviewed over 1000 articles. Currently working as a Project Manager, she is responsible for developing and implementing content strategies, managing writers and editors, staying updated on new technology, analyzing data, and tracking content performance indicators. Her interests include Project Management, Creative Writing, Digital Marketing, Reporting, Monitoring & Documentation, and Online Advocacy for SAP &... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo