Remove blank cells in Google Sheets with FILTER

Use a single FILTER formula to produce a dynamic, gap-free list from a column with empty cells — no deleting or manual shifting required.

What the video covers

Create a cleaned, contiguous list from a single column (or range) that contains empty cells using the FILTER function.

Watch the video on YouTube

Step-by-step instructions

  1. Choose output cell
    Click the cell where you want the cleaned (blank-free) list to start. The FILTER result will spill down from this cell.
  2. Enter the FILTER formula
    Type an equals sign then FILTER and an opening parenthesis.
  3. Select the data range
    Select the column or range that contains the values you want to keep (for example A2:A20).
  4. Add the filter condition
    After a comma, repeat the same range and add "" as the condition (for example A2:A20"") to include only non-empty cells.
  5. Close and apply
    Close the parenthesis and press Enter. The cell will show only the non-blank values from the source range.
  6. Optional: handle invisible characters
    If some 'blank' cells contain spaces or hidden characters, wrap the range in an array expression with TRIM or use LEN(range)0 as the condition to exclude cells with zero length.

Watch the video

Video thumbnail for Remove blank cells in Google Sheets with FILTER Play tutorial

Watch on YouTube

Why it matters

Manual deleting or moving rows is error-prone. FILTER returns only the non-empty values and updates automatically when the source changes, making data cleanup fast and repeatable.

Check your result

The target range shows a contiguous list of the original values with all blank cells removed; it updates when you add or remove values in the source range.

Troubleshooting

If the formula returns an error or nothing: verify the range references are correct and the source actually contains non-empty values. For formulas that return #REF! when spilling—ensure there is enough empty space below the target cell for the results. If blanks appear because cells contain invisible characters, use TRIM or CLEAN on the source data or wrap FILTER around a condition like LEN(range)0.