Bird
Raised Fist0
Google Sheetsspreadsheet~10 mins

Filtering PivotTable data in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style10 modes available
Sample Data

Sales data by Region and Product with sales numbers.

CellValue
A1Region
B1Product
C1Sales
A2North
B2Apples
C2100
A3South
B3Oranges
C3150
A4East
B4Bananas
C4200
A5North
B5Oranges
C5120
A6South
B6Apples
C6130
A7East
B7Apples
C790
Formula Trace
=QUERY(A1:C7, "select A, sum(C) where B = 'Apples' group by A", 1)
Step 1: QUERY(A1:C7, "select A, sum(C) where B = 'Apples' group by A", 1)
Step 2: Filter rows where B = 'Apples'
Step 3: Group filtered rows by A (Region) and sum C (Sales)
Step 4: Add header row from original data
Step 5: Final output
Cell Reference Map
    A       B        C
1 |Region | Product | Sales
2 | North | Apples  | 100  
3 | South | Oranges | 150  
4 | East  | Bananas | 200  
5 | North | Oranges | 120  
6 | South | Apples  | 130  
7 | East  | Apples  | 90   

Formula references A1:C7 for all data.
The QUERY formula uses the full data range A1:C7 including headers and all rows.
Result
    D       E
1 |Region | sum
2 | North | 100
3 | South | 130
4 | East  | 90
The result shows total sales of Apples grouped by Region in columns D and E.
Sheet Trace Quiz - 3 Questions
Test your understanding
Which rows are included after filtering for 'Apples'?
ARows 1, 4, and 7
BRows 2, 6, and 7
CRows 3, 5, and 6
DRows 2, 3, and 4
Key Result
QUERY(data_range, "select columns where condition group by column", header_rows)

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