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 YouTubeStep-by-step instructions
- 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. - Enter the FILTER formula
Type an equals sign then FILTER and an opening parenthesis. - Select the data range
Select the column or range that contains the values you want to keep (for example A2:A20). - 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. - Close and apply
Close the parenthesis and press Enter. The cell will show only the non-blank values from the source range. - 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
Play tutorial
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.