Bird
Raised Fist0
Excelspreadsheet

Filtering data with AutoFilter in Excel - Cell-by-Cell Formula Trace

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Concept Flow
    A       B          C  
1 |Name | Department | Salary|
2 |Alice| Sales     | 50000 |
3 |Bob  | HR        | 48000 |
4 |Charlie| Sales   | 52000 |
5 |Diana| IT        | 60000 |
6 |Evan | Sales     | 51000 |

Filter applied on column B (Department) to show only 'Sales'.
We start with a table of employees showing their Name, Department, and Salary. The goal is to filter this table to show only employees in the Sales department using AutoFilter.
Formula
1. Select range A1:C6 2. Click Data > Filter (AutoFilter) 3. Click dropdown arrow in Department column (B) 4. Select only 'Sales' from the filter list 5. Click OK

These steps apply the AutoFilter feature to the data and filter the Department column to show only rows where Department is 'Sales'.

Step-by-Step Trace
NameDepartmentSalary
AliceSales50000
CharlieSales52000
EvanSales51000
Rows with Department other than 'Sales' are hidden, so only Sales employees remain visible.
Variable Tracker
StepActionResult
1Apply AutoFilter to A1:C6Dropdown arrows appear in headers
2Filter Department column for 'Sales'Rows 2, 4, 6 remain visible
3Rows with other DepartmentsRows 3 and 5 hidden
Key Moments
What does AutoFilter add to the header cells?
Which rows remain visible after filtering Department for 'Sales'?
Are rows deleted when filtered out by AutoFilter?
Sheet Trace Quiz - 3 Questions
Test your understanding
What is the first effect of applying AutoFilter to the data?
ASorts the data alphabetically
BDeletes rows that don't match filter
CAdds dropdown arrows to header cells for filtering
DChanges all text to uppercase
Key Result
AutoFilter lets you quickly hide rows that don't match criteria in a column by adding dropdown filters to headers.
Transcript
We have a table of employees with their departments and salaries. By applying AutoFilter, dropdown arrows appear in the header cells. Clicking the arrow in the Department column lets us select only 'Sales'. This hides all rows where Department is not 'Sales', showing only Alice, Charlie, and Evan. The rows are hidden, not deleted, so you can clear the filter anytime to see all data again.

Practice

(1/5)
1. What does the AutoFilter feature in Excel primarily do?
easy
A. It hides rows that don't match your selected criteria.
B. It deletes rows that don't match your selected criteria.
C. It changes the data in the cells to match your criteria.
D. It copies filtered data to a new sheet automatically.

Solution

  1. Step 1: Understand AutoFilter purpose

    AutoFilter is used to hide rows that don't meet the filter criteria, not delete or change data.
  2. Step 2: Compare options with AutoFilter behavior

    Only hiding rows matches what AutoFilter does; deleting or copying data is not automatic.
  3. Final Answer:

    It hides rows that don't match your selected criteria. -> Option A
  4. Quick Check:

    AutoFilter hides rows = A [OK]
Hint: AutoFilter hides, it never deletes data [OK]
Common Mistakes:
  • Thinking AutoFilter deletes rows
  • Confusing filtering with copying data
  • Assuming AutoFilter changes cell values
2. Which of the following is the correct way to apply AutoFilter in Excel?
easy
A. Right-click any cell and choose Delete Filter.
B. Select your data range, then go to Data tab and click Filter.
C. Type =FILTER() in a cell to activate AutoFilter.
D. Use the Home tab and click Sort to apply AutoFilter.

Solution

  1. Step 1: Recall how to activate AutoFilter

    AutoFilter is applied by selecting data and clicking Filter under the Data tab.
  2. Step 2: Check each option's correctness

    Only Select your data range, then go to Data tab and click Filter. correctly describes the steps; others describe unrelated actions or functions.
  3. Final Answer:

    Select your data range, then go to Data tab and click Filter. -> Option B
  4. Quick Check:

    Data tab > Filter = B [OK]
Hint: Filter button is under Data tab, not Home [OK]
Common Mistakes:
  • Confusing FILTER function with AutoFilter
  • Looking for filter options in Home tab
  • Trying to delete filter instead of applying
3. You have a table with a column "Status" containing values: "Complete", "Pending", "In Progress". After applying AutoFilter and selecting only "Pending", what will you see?
medium
A. The entire table will be copied to a new sheet.
B. All rows will be visible but "Pending" rows highlighted.
C. Rows with "Complete" and "In Progress" will be deleted.
D. Only rows where Status is "Pending" will be visible.

Solution

  1. Step 1: Understand filtering by one value

    Selecting "Pending" in AutoFilter shows only rows matching "Pending" and hides others.
  2. Step 2: Eliminate incorrect options

    Highlighting or deleting rows or copying table does not happen automatically with AutoFilter.
  3. Final Answer:

    Only rows where Status is "Pending" will be visible. -> Option D
  4. Quick Check:

    Filter shows matching rows only = D [OK]
Hint: Filter shows matching rows, hides others [OK]
Common Mistakes:
  • Thinking filtered rows get deleted
  • Expecting highlighting instead of hiding
  • Assuming filter copies data automatically
4. You applied AutoFilter but the dropdown arrows do not appear on your header row. What is the most likely reason?
medium
A. You did not select the header row before applying the filter.
B. Your data contains empty rows inside the range.
C. AutoFilter only works on tables, not ranges.
D. You need to restart Excel to activate AutoFilter.

Solution

  1. Step 1: Check selection before applying AutoFilter

    AutoFilter dropdowns appear on the selected header row; missing selection causes no arrows.
  2. Step 2: Evaluate other options

    Empty rows inside data or restarting Excel do not prevent dropdown arrows; AutoFilter works on ranges too.
  3. Final Answer:

    You did not select the header row before applying the filter. -> Option A
  4. Quick Check:

    Select header row first = C [OK]
Hint: Always select header row before applying filter [OK]
Common Mistakes:
  • Assuming AutoFilter needs tables only
  • Thinking Excel restart fixes filter issues
  • Ignoring selection step before filtering
5. You have a sales table with columns: Date, Region, Sales. You want to see only sales from "East" region in January 2024. How do you apply AutoFilter correctly?
hard
A. Use the FILTER function in a new sheet with criteria Region="East" and Date in January.
B. Sort the table by Region then manually delete rows not from "East" or January.
C. Apply filter on Region column selecting "East" and on Date column selecting dates from 01/01/2024 to 01/31/2024.
D. Apply filter only on Date column for January; Region filter is not needed.

Solution

  1. Step 1: Apply multiple filters to narrow data

    Use AutoFilter dropdowns on both Region and Date columns to select "East" and January dates.
  2. Step 2: Eliminate incorrect methods

    Sorting and deleting is manual and risky; FILTER function is different; filtering only Date misses Region filter.
  3. Final Answer:

    Apply filter on Region column selecting "East" and on Date column selecting dates from 01/01/2024 to 01/31/2024. -> Option C
  4. Quick Check:

    Filter both columns for exact data = A [OK]
Hint: Filter all needed columns to get precise results [OK]
Common Mistakes:
  • Filtering only one column when multiple needed
  • Deleting rows instead of filtering
  • Confusing FILTER function with AutoFilter