0
0
Google Sheetsspreadsheet~10 mins

FILTER function in Google Sheets - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the formula to filter values in column A that are greater than 10.

Google Sheets
=FILTER(A2:A10, A2:A10 [1] 10)
Drag options to blanks, or click blank then click option'
A>
B<=
C<
D=
Attempts:
3 left
💡 Hint
Common Mistakes
Using '<' instead of '>' will filter values less than 10.
Using '=' will only filter values exactly equal to 10.
2fill in blank
medium

Complete the formula to filter values in column B that are not empty.

Google Sheets
=FILTER(B2:B20, B2:B20 [1] "")
Drag options to blanks, or click blank then click option'
A<>
B=
C>
D<
Attempts:
3 left
💡 Hint
Common Mistakes
Using '=' will filter only empty cells.
Using '>' or '<' does not correctly check for non-empty text.
3fill in blank
hard

Fix the error in the formula to filter values in column C that are less than or equal to 50.

Google Sheets
=FILTER(C2:C15, C2:C15 [1] 50)
Drag options to blanks, or click blank then click option'
A=>
B<=
C<
D==
Attempts:
3 left
💡 Hint
Common Mistakes
Using '=>' which is not valid in Google Sheets formulas.
Using '==' which is not a valid comparison operator here.
4fill in blank
hard

Fill both blanks to filter values in column D that are between 20 and 40 inclusive.

Google Sheets
=FILTER(D2:D30, D2:D30 [1] 20, D2:D30 [2] 40)
Drag options to blanks, or click blank then click option'
A>=
B<
C<=
D>
Attempts:
3 left
💡 Hint
Common Mistakes
Using '<' instead of '<=' excludes 40 from results.
Using '>' instead of '>=' excludes 20 from results.
5fill in blank
hard

Fill all three blanks to filter values in column E where values are greater than 5 and less than 15, and the corresponding value in column F is 'Yes'.

Google Sheets
=FILTER(E2:E25, E2:E25 [1] 5, E2:E25 [2] 15, F2:F25 [3] "Yes")
Drag options to blanks, or click blank then click option'
A>
B<
C=
D<=
Attempts:
3 left
💡 Hint
Common Mistakes
Using >= or <= instead of > or < changes the range.
Using <> instead of = for matching 'Yes' will filter out those rows.