Sheets-Only Superpowers: FILTER, UNIQUE and More
Use dynamic functions such as FILTER, UNIQUE, SORT and ARRAYFORMULA, pull data from other files with IMPORTRANGE, and collect data with Google Forms.
Welcome back!
Step 1 of 10Learn
Formulas that return whole tables
So far each formula has returned one value into one cell. Google Sheets also has functions that return many values at once, spilling into the cells below and to the right. They update automatically as the source data changes, which makes them ideal for live reports.
FILTER returns only the rows that meet a condition:
=FILTER(A2:D500, C2:C500="Denver")
Type it in one cell, and every Denver row appears beneath it. Add more conditions as extra arguments (all must be true): =FILTER(A2:D500, C2:C500="Denver", D2:D500>1000).
Unlike the filter menu, which hides rows in place, the FILTER function builds a separate, always-current copy, so it's perfect for a dashboard tab such as "Open tickets" or "Overdue invoices." If nothing matches, it returns #N/A; wrap it as =IFERROR(FILTER(...), "None") if that's expected.
UNIQUE lists each distinct value once: =UNIQUE(B2:B500) turns a column of 500 region entries into a short list of regions. SORT returns a sorted copy: =SORT(A2:D500, 4, FALSE) sorts by the 4th column, largest first. They combine well: =SORT(UNIQUE(B2:B500)) gives an alphabetical list of regions.
The one rule with spilling formulas: leave room. If any cell in the spill area already contains something, the formula shows a #REF! error saying it would overwrite data. Clear the cells and it works.
Step 2 of 10Practice · Choose one
Which formula lists only the rows of A2:E300 where column E (Status) equals "Overdue"?
Step 3 of 10Learn
ARRAYFORMULA and Google Forms
ARRAYFORMULA lets one formula do the work of a whole column. Instead of copying =B2*C2 down 1,000 rows, put this in D2:
=ARRAYFORMULA(B2:B1000*C2:C1000)
Every row gets its result from that single formula. This is especially useful when new rows keep arriving, for example from a form, because rows added later are calculated automatically with no need to copy formulas down. To avoid a column of zeros for empty rows, combine it with IF: =ARRAYFORMULA(IF(B2:B1000="", "", B2:B1000*C2:C1000)).
That brings us to Google Forms, Sheets' natural partner. Create a form (in Forms, or from Sheets with Tools > Create a new form) with questions such as name, email and T-shirt size. In the form's Responses tab, link it to a spreadsheet. Every submission becomes a new row, with a timestamp in column A and one column per question.
Nadia's soccer club from the first lesson works exactly this way: parents fill in a form on their phones, the sign-ups land in a Responses tab, and other tabs use COUNTIF, FILTER and ARRAYFORMULA to build team lists and payment totals automatically.
A good habit: never type into the form responses tab. Do calculations and notes on other tabs that reference it, so new responses never collide with your edits.
Step 4 of 10Note
Step 5 of 10Practice · True or false
A single ARRAYFORMULA in the top cell of a column can calculate results for every row, including rows added later by a form.
Step 6 of 10Learn
Connecting files and other Google tricks
A few more functions show what's possible when a spreadsheet lives online:
- IMPORTRANGE pulls data from a different spreadsheet file:
=IMPORTRANGE("spreadsheet URL", "Sales!A1:D200"). The first time, Sheets asks you to click Allow access. A regional manager can build one summary file that imports each store's sheet, so the summary is always current without copying anything. - GOOGLETRANSLATE translates text: =GOOGLETRANSLATE(A2, "en", "es") returns the Spanish version of A2. Handy for quick drafts of product names, not for legal or medical text.
- GOOGLEFINANCE fetches market data, such as =GOOGLEFINANCE("NASDAQ:GOOG", "price"), with a delay of up to 20 minutes. Fine for a personal portfolio tracker, not for trading.
- QUERY runs a database-style question on a range:
=QUERY(A1:D500, "select B, sum(D) where C = 'Paid' group by B")totals paid amounts by the values in column B in one formula. It's powerful and worth exploring once you're comfortable with the basics. - SPARKLINE draws a tiny chart inside a single cell: =SPARKLINE(B2:M2) shows a 12-month trend next to each product.
Many of these depend on Google services and may be slightly delayed or limited, and they won't calculate the same way if you download the file to Excel. For files that must work in both programs, stick to the common functions you learned earlier.
Step 7 of 10Flashcards
Online-only functions
Tap a card to flip it.
Step 8 of 10Note
Step 9 of 10Practice · Match the pairs
Match each Google Sheets function with its job.
Tap an answer, then tap the place where it belongs (or drag it there).
- IMPORTRANGE
- UNIQUE
- ARRAYFORMULA
- SPARKLINE
- GOOGLETRANSLATE
Step 10 of 10Practice · What would you do?
What would you do?
You type =UNIQUE(B2:B400) in cell F2, but it shows #REF! with a message about overwriting data. The cells below F2 contain some old notes. What is the fix?
Lesson complete!