0
0
Google Sheetsspreadsheet~10 mins

Filtering with filter views in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

Employee data with Name, Department, and Salary columns.

CellValue
A1Name
B1Department
C1Salary
A2Alice
B2Sales
C250000
A3Bob
B3Marketing
C355000
A4Charlie
B4Sales
C452000
A5Diana
B5HR
C548000
A6Evan
B6Marketing
C653000
Formula Trace
FILTER(A2:C6, B2:B6 = "Sales")
Step 1: B2:B6 = "Sales"
Step 2: FILTER(A2:C6, [TRUE, FALSE, TRUE, FALSE, FALSE])
Cell Reference Map
    A       B          C
1 |Name   |Department|Salary
2 |Alice  |Sales     |50000
3 |Bob    |Marketing |55000
4 |Charlie|Sales     |52000
5 |Diana  |HR        |48000
6 |Evan   |Marketing |53000

Filter uses B2:B6 to check 'Sales' and returns matching rows from A2:C6.
The formula uses the Department column B2:B6 to filter rows from A2:C6 where Department is 'Sales'.
Result
Filtered Result:
Name    Department  Salary
Alice   Sales       50000
Charlie Sales       52000
The filter shows only employees in the Sales department with their full row data.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the condition B2:B6 = "Sales" return?
A[TRUE, FALSE, TRUE, FALSE, FALSE]
B[FALSE, TRUE, FALSE, TRUE, TRUE]
C[TRUE, TRUE, TRUE, TRUE, TRUE]
D[FALSE, FALSE, FALSE, FALSE, FALSE]
Key Result
FILTER(range, condition) returns rows from range where condition is TRUE.