0
0
Google Sheetsspreadsheet~10 mins

Filter views vs filters in Google Sheets - Formula Comparison 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 references 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 formula shows only employees in the Sales department, hiding others.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the FILTER formula FILTER(A2:C6, B2:B6 = "Sales") do?
ADeletes rows not in Sales department
BShows all rows but highlights Sales department
CShows only rows where Department is Sales
DSorts rows by Salary
Key Result
FILTER(range, condition) returns rows from range where condition is TRUE.