📊 Lesson 3.1: Sorting, Filtering & Filter Views
A spreadsheet full of rows is just a haystack until you can rearrange it and hide what you don't need. In this lesson you'll learn to sort data so patterns jump out, filter it to answer a specific question, and — the part that saves friendships on shared sheets — save a personal Filter View that lets you slice the data your way without changing what everyone else sees.
📚 What You'll Learn
By the end of this lesson, you will be able to:
- Explain why raw data should stay raw, and treat sorting and filtering as views on top of it
- Sort by one or several columns, and avoid the classic "my headers got sorted into the data" mistake
- Turn on a filter and narrow rows both by condition and by values
- Understand why a plain filter disrupts collaborators, and use a Filter View instead
- Recognize the newer Sheets Tables feature as a tidy, modern way to manage a dataset
⏱️ Estimated Time: 45 minutes
🎯 Project: Take a 16-row expense dataset, sort it by amount, filter it to answer a real question, then save a named Filter View so your slice never disturbs anyone else on the sheet.
In This Lesson
Why Raw Data Needs Wrangling
Imagine a shoebox of receipts. Every receipt is real and correct, but as a pile it tells you nothing. What did you spend the most on? Which purchases happened last week? Which were over fifty dollars? To answer any of those, you don't change the receipts — you arrange them: stack them by amount, pull out just the ones from last week, set the small ones aside. The receipts never change; only your view of them does.
That's exactly what sorting and filtering are. Your data sits in the grid as the honest, complete record — the raw data. Sorting reorders it so patterns surface; filtering hides rows that don't match a question so you can focus. Neither one adds, deletes, or edits your actual numbers. They're the Views layer of our Cells → Formulas → Views model, sitting on top of the cells without touching them.
🧠 Mindset: Keep raw data raw
The single most valuable habit in this whole module: never damage your raw data to get an answer. Don't manually delete rows to "filter," don't retype numbers to "sort," don't paste a rearranged copy over the original. Keep one clean, complete table of raw data, and treat every sort, filter, and chart as a temporary lens you look through. If a lens ever gets confusing, you clear it and your untouched data is right there. This is how professionals avoid the heartbreak of "wait, where did the other rows go?"
Why does this matter so much? Because the whole point of a spreadsheet is that it's a living model. The moment you start hand-editing data to make a view work, you break the model — your totals stop matching reality, and you can't trust the sheet anymore. Sorting and filtering exist precisely so you never have to do that. Learn them well and you'll answer questions in seconds that used to mean rewriting the whole table.
Sorting: Range vs Sheet, Single vs Multi-Column
Sorting reorders rows based on the values in one or more columns — smallest to largest, A to Z, oldest to newest, and their reverses. Google Sheets gives you two doorways to it, and the difference between them is the number-one thing that trips beginners up.
Sort sheet vs sort range
| Option | What it does | When to use it |
|---|---|---|
| Sort sheet | Reorders every row on the whole sheet by the chosen column | When your sheet is one single table and you want the entire thing reordered |
| Sort range | Reorders only the rows you selected, leaving everything else in place | When there's other content on the sheet you must not disturb, or you selected a specific block |
You'll find both under the Data menu (as "Sort sheet" and "Sort range"), and you can also right-click a selection to reach the sort options. A quick A → Z or Z → A sorts by whichever column your selection is in; opening Data ▸ Sort range ▸ Advanced range sorting options lets you pick the exact column and add more.
⚠️ Important Note — the "data has header row" gotcha: The classic disaster is sorting your table and watching your header row ("Date", "Category", "Amount") get shuffled down into the data as if it were just more rows. Whenever you sort, look for the "Data has header row" checkbox and tick it. That tells Sheets to hold the top row still and sort only the rows beneath it. If your headers ever do get sorted in, don't panic — press Ctrl+Z (or Cmd+Z) to undo and try again with the box checked.
Single-column vs multi-column sort
A single-column sort answers one question: put the biggest expense on top, or the newest task first. A multi-column sort breaks ties. Say you sort tasks by Priority — you get all the "High" ones together, but in what order within High? Add a second sort column, like Due Date, and Sheets sorts by Priority first, then by Due Date inside each priority group. The first column is the primary sort; each column you add below it only decides ties left by the ones above.
In the advanced sort dialog you literally stack the rules: "Sort by Category A → Z, then by Amount Z → A" gives you your expenses grouped by category with the biggest spend first inside each group — a genuinely useful arrangement you'll reach for constantly.
✅ Pro Tip
Sorting permanently reorders your rows (until you sort again) — it changes the data's stored order, unlike a filter which only hides. That's usually fine, but if the original order matters (say your rows are in the sequence you entered them and you want that back later), add a simple ID or "#" column with 1, 2, 3, … before you sort. Sorting on that column any time restores the original order instantly. It's a tiny insurance policy that costs one column.
Filters: By Condition and By Values
Where sorting rearranges every row, a filter temporarily hides the rows that don't match your question, leaving the matching ones on screen. Turn it on from Data ▸ Create a filter (or the little funnel icon on the toolbar), and a small funnel button appears in each header cell. Click a funnel and you get two ways to narrow the rows.
Filter by values
This shows a checklist of every distinct entry in that column. Uncheck the ones you don't want, or use "Clear" then check only the few you do. Filtering the Category column to just "Groceries" and "Dining" instantly hides every other row. It's perfect when you're picking from a known set of labels.
Filter by condition
This applies a rule instead of a checklist — for example "Amount is greater than 50", "Date is after a chosen day", "Text contains 'coffee'", or "Cell is not empty". Conditions shine for numbers and dates, where listing every value would be silly. Choose a condition from the dropdown, type the value, and only rows that satisfy the rule stay visible.
16 expense rows"] --> B["↕️ Sort
by amount high to low"] B --> C["🔽 Filter or Filter View
Amount greater than 50"] C --> D["🎯 The rows you need
your big expenses"]
Hiding rows vs filtering — not the same thing
Beginners often "hide" rows (right-click ▸ Hide row) to get them out of the way and think they've filtered. They're different tools with different consequences:
| Hiding rows | Filtering | |
|---|---|---|
| Based on a rule? | No — you manually pick each row | Yes — a condition or value set decides automatically |
| Updates as data changes? | No — a new matching row stays visible | Yes — new rows are shown or hidden by the rule |
| Easy to clear all at once? | Fiddly — you unhide by hand | Yes — one click removes the filter |
| Good for answering a question? | Not really — it's for tidying layout | Exactly what it's for |
⚠️ Watch Out
A plain filter (the funnel from "Create a filter") is shared. On a sheet several people can see or edit, when you filter to "just Groceries," everyone else's view changes too — rows vanish from under their feet while they're working. It's the spreadsheet equivalent of grabbing the TV remote in a room full of people. That's not a bug; it's why the next section exists. On a sheet you share, reach for a Filter View, not a plain filter.
To remove a plain filter and show all rows again, go to Data ▸ Remove filter (or click the funnel toolbar button off). "Clearing" an individual column's filter (re-checking all its values or resetting its condition) is different — that just widens that one column's rule while the filter stays on.
Filter Views: Slicing Without Disturbing Anyone
A Filter View is the collaborator-friendly answer to everything above. It's a saved, named sort-and-filter that lives on the sheet but only changes your screen while it's active. Your teammates keep seeing the full data (or their own view) undisturbed. Think of it as putting on a pair of tinted glasses: the world doesn't change color, only your view of it does.
Why they matter with collaborators
On any sheet more than one person touches, Filter Views are the default professional choice. Everyone can have their own — "Alex's overdue tasks," "Q3 only," "Expenses over 50" — and switch between them freely without stepping on each other. You can even save multiple views for yourself and jump between them like saved searches. Because each has a name, they're reusable: set the slice up once, and return to it any day with one click.
Creating, saving, and switching
Open Data ▸ Create filter view (sometimes shown as "Filter views ▸ Create new filter view"). The grid gets a dark border and a colored bar across the top — that border is your signal that you are inside a Filter View and nothing you do here disturbs the shared sheet. Now:
- Set your sort and filters exactly as you learned above — funnels, conditions, value checklists.
- Give the view a clear name in the top bar (for example, "Expenses over 50"). It saves automatically.
- Close the view with the ✕ on the bar to return to the normal sheet. Your data is untouched and everyone else saw nothing change.
- Reopen or switch views any time from Data ▸ Filter views, where all saved views are listed by name.
💡 A quick way to tell where you are
Plain filter versus Filter View can look similar at a glance, so use these tells: a Filter View shows a dark grid border and a named colored bar at the top; a plain filter just adds funnels to the headers with no border or name. If in doubt on a shared sheet, look for that border before you touch anything — if it isn't there and you filter, you're changing everyone's view.
| Question | Plain filter | Filter View |
|---|---|---|
| Who sees the effect? | Everyone on the sheet | Only you (while it's active) |
| Saved and named? | No — one live filter at a time | Yes — many, each with a name |
| Safe on a shared sheet? | Risky — disrupts collaborators | Yes — designed exactly for this |
| Best for a private, solo sheet? | Fine and quick | Also fine, and reusable |
⚠️ Important Note: A Filter View lets you view the data your way, but if you edit a cell while a view is active, that edit still changes the real underlying data for everyone — the view only controls sorting and which rows are hidden, not whether your edits are private. If you need to stop others changing the data at all, that's protection, which we touch on in Lesson 3.3. Viewers with only "view" access can even create temporary filter views without any edit rights — handy for read-only teammates.
Converting a Range to a Table
Google has been rolling out a newer feature called Tables (Format ▸ Convert to table, or an offer that pops up on well-structured data). It takes a plain range and promotes it to a first-class object: the header row is locked in, each column gets a defined type (text, number, date, dropdown, and so on), and tidy formatting and built-in filter controls come along automatically.
Why bother? A Table bundles up several habits you'd otherwise set up by hand:
- Header row handled for you — no more "data has header row" worries; the table knows.
- Column types — set a column to Date or Dropdown once and every entry is guided and consistent, which foreshadows data validation in the very next lesson.
- Built-in sort and filter menus right on the table, plus quick "group by" style views.
- References by name — formulas can point at the table and its columns by name, which reads far more clearly than
A2:A100.
⚠️ Watch Out — this feature is still evolving
Sheets Tables are relatively new and Google is actively changing them: the exact menu path, the options offered, and even availability on some accounts shift over time, and older Excel or third-party tools may not read them perfectly yet. Treat Tables as a nice modern option to know about, not a required step. Everything in this course works fine on ordinary ranges. If you see the "Convert to table" option and your data is a clean single block, it's well worth trying — just check Google's current help pages for the latest, since what you see may differ from any screenshot.
The honest takeaway: sorting, filtering, and Filter Views are the durable, universal skills — they work everywhere and always. Tables are a newer convenience layer that packages good structure for you. Learn the fundamentals first, then adopt Tables when they fit and when the feature has settled on your account.
🎯 Project: Sort, Filter, Save a View
Time to wrangle a real dataset. You'll build a small expense table, sort it, filter it to answer a question, and then save a Filter View so your slice never disturbs a hypothetical collaborator. This is the exact workflow you'll use on real shared sheets for the rest of your life.
🏋️ Wrangle a 16-row expense table
Objective: Sort an expense dataset by amount, filter it to find every expense over 50, and save that slice as a named Filter View — all without altering the raw data.
Instructions (about 20 minutes):
- (4 min) Open a new sheet at sheets.google.com. In row 1, type the headers
Date,Category,Description,Amount. Enter the 16 rows from the hint below (or make up your own — just keep varied categories and amounts). - (2 min) Select your whole table. Go to Data ▸ Sort range ▸ Advanced range sorting options, tick "Data has header row", choose Amount, and sort Z → A. Confirm your headers stayed put and the biggest expense is now on top.
- (3 min) Now do a multi-column sort: same dialog, sort by Category A → Z, then add another sort column for Amount Z → A. Notice how expenses now group by category with the largest first inside each group.
- (3 min) Turn on Data ▸ Create a filter. Click the funnel on Amount, choose Filter by condition ▸ Greater than, and enter
50. How many rows remain? That's your answer to "which expenses were over 50?" Then Data ▸ Remove filter to show all rows again. - (5 min) Create a Filter View via Data ▸ Create filter view. Watch for the dark border. Re-apply the "Amount greater than 50" condition, and name the view
Expenses over 50in the top bar. Close it with the ✕. - (3 min) Reopen your saved view from Data ▸ Filter views to confirm it's remembered. Imagine a teammate on this sheet: with a Filter View, their screen never changed while you sliced the data. Save the file (it autosaves) and note where it lives.
💡 Hint — starter dataset (copy into A1)
Date Category Description Amount
2026-09-01 Groceries Weekly shop 82.40
2026-09-02 Dining Coffee with Sam 6.75
2026-09-03 Transport Bus pass 48.00
2026-09-04 Groceries Farmers market 31.10
2026-09-05 Utilities Internet bill 59.99
2026-09-06 Dining Pizza night 27.50
2026-09-07 Shopping New headphones 120.00
2026-09-08 Transport Rideshare 18.25
2026-09-09 Groceries Midweek top-up 22.85
2026-09-10 Health Pharmacy 14.30
2026-09-11 Utilities Phone bill 45.00
2026-09-12 Dining Lunch out 16.90
2026-09-13 Shopping Running shoes 89.99
2026-09-14 Groceries Big monthly stock 134.60
2026-09-15 Health Gym day pass 12.00
2026-09-16 Transport Fuel 61.40
Tip: paste this and use Data ▸ Split text to columns if it lands in one column. Amounts should be numbers, not text, so your sort and "greater than" condition work correctly.
✅ Project Completion Checklist
- You entered a 16-row table with a proper header row
- You sorted by Amount with "Data has header row" checked — headers stayed put
- You did a multi-column sort (Category, then Amount) and saw the grouping
- You filtered by the condition "Amount greater than 50" and answered the question
- You saved a named Filter View ("Expenses over 50") and reopened it
- Your raw data is completely intact — you never deleted or retyped a row to filter
🎯 Quick Quiz
Question 1: You're on a sheet three teammates are actively editing, and you want to see only your own overdue tasks without changing what they see. What should you use?
Question 2: You sort your table and your header row ("Date", "Amount", …) gets shuffled down into the data. What did you most likely miss?
Best Practices for Sorting & Filtering
✅ Do's
- Keep one clean, complete table of raw data and treat every sort and filter as a lens on top of it.
- Always check "Data has header row" when sorting a table with headers.
- Use Filter Views on any shared sheet so your slicing never disrupts collaborators.
- Add an ID column before big sorts if the original order might matter later.
❌ Don'ts
- Don't delete or retype rows to "filter." That destroys the raw data and breaks every formula that depends on it.
- Don't confuse hiding rows with filtering. Hiding is manual and doesn't update; filtering follows a rule.
- Don't use a plain filter on a busy shared sheet and wonder why teammates complain their rows keep vanishing.
💡 Pro Tips
- Name your Filter Views for the question they answer ("Expenses over 50", "Overdue only") so future-you knows what each is for.
- Combine a sort inside a Filter View — the view remembers both the ordering and the row filter together.
📓 Learning Journal
Keep a learning journal as you work through this course — a document, a note, or even a tab in your own spreadsheet. After each lesson, take a few minutes to write down:
- Key concepts you learned
- Techniques that clicked for you
- Questions or confusion points to revisit
- Ideas you want to try in your own sheets
- Your progress and feelings about learning this — including where your confidence grew
✍️ This lesson's prompt: Think of a real spreadsheet you use or share with others. What's one question you'd love it to answer at a glance — and would a sort, a filter, or a saved Filter View get you there fastest? If it's a shared sheet, how would using a Filter View instead of a plain filter change things for the people you share with?
📝 Lesson Summary
🎓 Key Takeaways
- Keep raw data raw. Sorting and filtering are views on top of your data, not edits to it — never delete or retype rows to wrangle.
- Sorting reorders rows. Use "Sort range" to protect surrounding content, always tick "Data has header row", and add sort columns to break ties (multi-column sort).
- Filters hide non-matching rows by value (a checklist) or by condition (a rule like "greater than 50"). Hiding rows is a different, manual thing.
- A plain filter is shared and changes everyone's view; a Filter View is personal, named, and reusable — the right choice on any collaborative sheet.
- Sheets Tables are a newer, evolving way to package a clean dataset with locked headers, column types, and built-in filters — nice to know, not required.
🎉 What You've Accomplished
You took a raw pile of rows and made it answer questions — sorted it to surface the biggest expenses, filtered it to find everything over 50, and saved a named Filter View that respects the people you share with. That's the core data-wrangling loop, and you'll use it on almost every real sheet you ever build.
❓ Common Questions at This Stage
If I sort, is my original order gone forever?
Sorting reorders the stored rows, so yes — until you sort again. If the original sequence matters, add a simple ID/number column before sorting; sorting on that column any time restores the original order. A Filter View's sort, by contrast, only affects your view and leaves the underlying order alone.
What's the real difference between a filter and a Filter View again?
A plain filter is one live filter on the sheet that everyone sees. A Filter View is a saved, named slice that changes only your screen while active — and you can have many. On any sheet other people touch, prefer Filter Views so you never yank rows out from under a collaborator.
Should I convert my data to a Table?
It's optional. Tables are a newer, evolving feature that bundles locked headers, column types, and built-in filters. If you see the option and your data is a clean single block, it's worth trying — but everything in this course works perfectly on ordinary ranges, so don't feel you must.
🔭 Looking Ahead
In the next lesson — Lesson 3.2: Data Validation & Dropdowns — we move from arranging data to protecting it at the point of entry. You'll add dropdown menus and rules that reject bad input, so your categories stay consistent and your future sorts, filters, and pivots have clean data to work with.
✅ Before the Next Lesson
- Keep your 16-row expense sheet — you'll build on this kind of dataset next
- Make sure your saved Filter View reopens correctly from Data ▸ Filter views
- Write your Learning Journal entry for this lesson
📚 Additional Resources
- Sort & filter your data (Google Support)
- Google Sheets Help Center — full topic list
- sheets.google.com — open the app
🌟 Encouragement for the Journey
You just learned the moves that separate "I have a spreadsheet" from "I can get answers out of it." Sorting, filtering, and Filter Views feel small, but they're the everyday muscles of real data work — and you'll flex them in every lesson from here on. Next up: keeping that data clean at the source. 📊