Bird
Raised Fist0
Google Sheetsspreadsheet~10 mins

Filtering PivotTable data in Google Sheets - Interactive Code Practice

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

Complete the formula to filter the pivot table data by the region "East".

Google Sheets
=FILTER(A2:D100, B2:B100 [1] "East")
Drag options to blanks, or click blank then click option'
A!=
B=
C>
D<
Attempts:
3 left
💡 Hint
Common Mistakes
Using > or < instead of = causes wrong filtering.
Using != will exclude the "East" region instead of including it.
2fill in blank
medium

Complete the formula to filter pivot table data for sales greater than 500.

Google Sheets
=FILTER(A2:D100, D2:D100 [1] 500)
Drag options to blanks, or click blank then click option'
A=
B<=
C<
D>
Attempts:
3 left
💡 Hint
Common Mistakes
Using < or <= will filter the wrong rows.
Using = will only show rows with exactly 500 sales.
3fill in blank
hard

Fix the error in the formula to filter data where the product is "Widget".

Google Sheets
=FILTER(A2:D100, C2:C100 [1] "Widget")
Drag options to blanks, or click blank then click option'
A=
B==
C!=
D<>
Attempts:
3 left
💡 Hint
Common Mistakes
Using == causes a formula error.
Using <> is for 'not equal' and will filter wrong data.
4fill in blank
hard

Fill both blanks to filter data where the region is "West" and sales are less than 300.

Google Sheets
=FILTER(A2:D100, B2:B100 [1] "West", D2:D100 [2] 300)
Drag options to blanks, or click blank then click option'
A=
B>
C<
D!=
Attempts:
3 left
💡 Hint
Common Mistakes
Using > instead of < for sales filters wrong rows.
Using != excludes the region instead of including it.
5fill in blank
hard

Fill all three blanks to filter data where product is "Gadget", region is not "North", and sales are at least 400.

Google Sheets
=FILTER(A2:D100, C2:C100 [1] "Gadget", B2:B100 [2] "North", D2:D100 [3] 400)
Drag options to blanks, or click blank then click option'
A=
B!=
C>=
D<
Attempts:
3 left
💡 Hint
Common Mistakes
Using = instead of != excludes wrong regions.
Using > instead of >= misses sales exactly 400.

Practice

(1/5)
1. What is the main purpose of adding a filter to a PivotTable in Google Sheets?
easy
A. To show only specific data that meets certain criteria
B. To change the original data in the spreadsheet
C. To add new rows to the PivotTable
D. To sort the data alphabetically

Solution

  1. Step 1: Understand what filtering does in PivotTables

    Filtering lets you focus on parts of your data by showing only what you want.
  2. Step 2: Compare filtering with other options

    Filtering does not change original data or add rows; it just hides data that doesn't match criteria.
  3. Final Answer:

    To show only specific data that meets certain criteria -> Option A
  4. Quick Check:

    Filtering = Show specific data [OK]
Hint: Filters hide unwanted data without changing original data [OK]
Common Mistakes:
  • Thinking filters change the original data
  • Confusing filters with sorting
  • Believing filters add new data
2. Which step correctly describes how to add a filter to a PivotTable in Google Sheets?
easy
A. Change the original data range manually
B. Double-click a cell in the PivotTable to edit it
C. Right-click the PivotTable and select 'Sort'
D. Drag a field into the Filters section in the PivotTable editor

Solution

  1. Step 1: Locate the Filters section in the PivotTable editor

    The Filters section is where you add fields to filter your data.
  2. Step 2: Add a field by dragging it into Filters

    Dragging a field into Filters applies a filter to the PivotTable data.
  3. Final Answer:

    Drag a field into the Filters section in the PivotTable editor -> Option D
  4. Quick Check:

    Add filter = Drag field to Filters [OK]
Hint: Drag fields to Filters to filter PivotTable data fast [OK]
Common Mistakes:
  • Trying to edit PivotTable cells directly
  • Using sort options instead of filters
  • Changing original data instead of filtering
3. Given a PivotTable showing sales by region and product, you add a filter on the 'Region' field selecting only 'East'. What will the PivotTable display?
medium
A. Sales data for all regions and products
B. Sales data only for the East region and one product
C. Sales data only for the East region across all products
D. No data will be shown

Solution

  1. Step 1: Understand the filter on 'Region' selecting 'East'

    The filter limits data to only rows where Region equals East.
  2. Step 2: Check what data remains visible

    All products in the East region remain visible; other regions are hidden.
  3. Final Answer:

    Sales data only for the East region across all products -> Option C
  4. Quick Check:

    Filter Region=East shows East data only [OK]
Hint: Filter selects matching rows, keeps all other fields intact [OK]
Common Mistakes:
  • Thinking filter limits products too
  • Expecting all regions to show
  • Assuming filter hides all data
4. You added a filter to your PivotTable but it shows no data. What is the most likely reason?
medium
A. The PivotTable source data is empty
B. The filter criteria do not match any data in the source
C. You forgot to refresh the PivotTable after adding data
D. Filters cannot be applied to PivotTables

Solution

  1. Step 1: Check the filter criteria

    If the filter criteria do not match any rows, no data will show.
  2. Step 2: Verify source data and refresh

    Source data is usually not empty; PivotTables auto-refresh on filter changes.
  3. Final Answer:

    The filter criteria do not match any data in the source -> Option B
  4. Quick Check:

    No data = filter excludes all rows [OK]
Hint: No data? Check if filter matches any source rows [OK]
Common Mistakes:
  • Assuming filters can't hide all data
  • Not checking filter values carefully
  • Forgetting PivotTables auto-refresh
5. You want to create a PivotTable that shows total sales only for products with sales greater than 1000. How can you apply this filter correctly?
hard
A. Add a filter on the 'Sales' field with condition 'Greater than 1000'
B. Change the original data to remove sales below 1000
C. Sort the PivotTable by sales descending and hide rows manually
D. Add the 'Product' field to Filters and select products manually

Solution

  1. Step 1: Use a value filter on the 'Sales' field

    Filters on values like sales allow conditions such as 'Greater than 1000'.
  2. Step 2: Apply the condition in the PivotTable filter settings

    Set the filter to show only sales > 1000 to limit data correctly.
  3. Final Answer:

    Add a filter on the 'Sales' field with condition 'Greater than 1000' -> Option A
  4. Quick Check:

    Value filter > 1000 shows only high sales [OK]
Hint: Use value filters for numeric conditions like > 1000 [OK]
Common Mistakes:
  • Filtering products manually instead of by sales value
  • Sorting and hiding rows manually (not dynamic)
  • Editing original data instead of filtering
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard