What you will build
Create a clean view that excludes rows with a blank Order ID while preserving the original import on the Raw tab. This lesson uses fictional sample data so every step can be reproduced safely.
Learning objective
Use FILTER to return only rows whose Order ID is not blank, understand each argument, verify the spill result, and recognize when a partially filled row needs manual review instead of silent removal.
Prepare the sample data
Open the source workbook below or make your own copy. The Raw tab contains the sample table; keep Raw unchanged while you work in Clean.
Practice in your own copy
Make your own Google Sheets copy with the same data, formulas, formatting, filter and frozen header. The original remains unchanged.
Sign in to Google. If the original is not publicly shared, download the full workbook and import it into Google Sheets, or paste the example data into your own sheet.
Open the exact source workbook in Google Sheets ↗
Work through the example
Step 1: Keep the imported table on Raw so the original data remains available for checking and recovery.
Step 2: On your copy, open Clean. Enter Order and Amount as headers in A1:B1, then select A2 for the filtering formula.
Formula to try
In Clean!A2, enter the formula below. The matching rows spill into columns A:B automatically. Do not drag the fill handle or copy the formula down; one formula in A2 is enough. Leave the spill area clear.
=FILTER(Raw!A2:B6,Raw!A2:A6<>"")Checkpoint
| Order | Amount |
|---|---|
| O01 | 120 |
| O02 | 240 |
| O03 | 80 |
The clean result contains three rows. The two completely blank source rows do not appear.
Common mistakes and fixes
If FILTER returns an error or an unexpected row count, confirm that the formula is in Clean!A2, the spill area is empty, and the source range is exactly Raw!A2:B6 with the condition Raw!A2:A6<>"".
Independent practice
Without editing Raw, add an audit column on your copy that flags rows where Order ID is blank but Amount is present. This separates truly blank rows from incomplete records that need review.
Key takeaways
- ✓Keep the original imported data on Raw and build the clean result separately.
- ✓FILTER returns only source rows whose Order ID is not blank.
- ✓The expected clean result is O01/120, O02/240, and O03/80.
- ✓Investigate partially filled rows instead of treating them as harmless blanks.
Check your understanding
Answer four questions about the practice sheet.
Continue learning
Previous lesson: Find duplicates in a column. Next lesson: Extract first and last names.
Comments
No comments yet. Be the first to join the discussion.