Ravindra BagaleCourses & study guides Track your progress

Excel FILTER Function

Chala mitrano — today FILTER. Spill every matching row — Open tickets, West region, Pack A.

Fictional sample data for learning. Live queues in Belgaum plants and Seattle support — spill every Open row.

Purpose

Return all rows that match conditions (spills).

Return value

A spilled array of matching rows.

Syntax

FILTER(array, include, [if_empty])

Arguments

ArgumentRequired?Description
arrayRequiredRange or array to filter.
includeRequiredBoolean mask same height as array.
if_emptyOptionalValue if nothing matches.

Version

Microsoft 365 / Excel 2021+ with dynamic arrays. LibreOffice limited; Google Sheets has FILTER/SORT/UNIQUE/SEQUENCE/RANDARRAY cousins.

How to use — Why → What → How

Why: Helper columns and Advanced Filter are old news. FILTER spills live results that update when data changes. Live queues in Belgaum plants and Seattle support — spill every Open row. In Indian back offices and foreign sister teams, FILTER shows up on live dashboards and spill ranges every week.

What: FILTER keeps rows where include is TRUE. If none match and if_empty is omitted → #CALC!. Read every argument in the table once before you type; each one changes the answer on purpose.

How — numbered steps:

  1. Type =FILTER(A2:C20,B2:B20="Open").
  2. Add if_empty,"None".
  3. Wrap with SORT for ordered spills.

Ravindra Bagale's Tip

Friends, after FILTER, find one column or range in a real workbook this week where this lesson saves time.

Ravindra Bagale's Tip

Friends, sleep on FILTER; rebuild example 1 tomorrow without looking.

Ravindra Bagale's Tip

Friends, say the business question in plain words before =FILTER.

Ravindra Bagale's Tip

Friends, check a known case with a calculator before you trust a long FILTER chain.

Ravindra Bagale's Tip

Friends, after you finish FILTER, open yesterday’s real workbook and find one place this function would have saved ten minutes.

Ravindra Bagale's Tip

Friends, treat FILTER like a seatbelt on spill ranges — clear #SPILL! blocks first.

Download practice file: practice-filter.xlsx (includes sheet About this data, practice sheets, and Answers).

Worked examples

1) Open rows

Belgaum.

CityStatus₹
BelgaumOpen100
SeattleClosed80
BelgaumOpen120
Formula: =FILTER(A2:C4,B2:B4="Open")

Result: {Belgaum,Open,100; Belgaum,Open,120}

What it means: Two Open rows spill.

2) if_empty

No match.

Status
Closed
Formula: =FILTER(A2,A2="Open","None")

Result: None

What it means: Custom empty.

3) Numeric mask

₹>90.

City₹
Pune100
Austin80
Formula: =FILTER(A2:B3,B2:B3>90)

Result: {Pune,100}

What it means: One row.

4) Seattle $

Tips.

NameTip
Amy5
Bob12
Cid8
Formula: =FILTER(A2:B4,B2:B4>=8)

Result: {Bob,12; Cid,8}

What it means: Two tips.

5) #CALC!

No if_empty.

X
a
Formula: =FILTER(A2,A2="z")

Result: #CALC!

What it means: Nothing matched.

6) Multi-col

Keep all cols.

ABC
1Open9
2Shut8
Formula: =FILTER(A2:C3,B2:B3="Open")

Result: {1,Open,9}

What it means: Full row.

About this data. Small demo rows for learning. Real sheets are longer; the same formula pattern scales when columns are clean.

Common errors and fixes

#CALC! — No matches, no if_empty. Fix: Pass if_empty.
#SPILL! — Blocked cells. Fix: Clear the spill range.
#VALUE! — include wrong size. Fix: Match array height.

Notes and tips

  • Revisit the FILTER errors table after the quiz.
  • Build example 1 from memory on a blank sheet.
  • Check number vs text if a result looks wrong.
  • Teach one tip in Marathi or Hindi this week.
  • Keep currency symbols consistent inside one report column (practice mixes ₹ $ £ €).
  • Drill: filter Open rows on a four-row sheet from memory.
  • FILTER vs COUNTIF: spill rows versus count only.
  • Fictional sample data only — names and amounts are for learning.
  • Print the FILTER revision card for one week of real worksheets.
  • Ask juniors to predict before they press Enter.
  • Track your top mistake with this function monthly.
  • Live queues in Belgaum plants and Seattle support — spill every Open row.
  • Interview tip: explain the business question before the formula.
  • Classroom drill: invent three brand-new formulas from your city without the page open.
  • If a result looks wrong, check blanks vs zeros before rewriting.
  • When Excel versions differ, note the LibreOffice / Sheets fallback in a cell comment.
  • Prefer clear ranges over whole-column refs on huge sheets if speed matters.
  • Document units (₹, kg, days) in the header so totals stay honest.
  • Print the revision card for FILTER for one week of real worksheets.
  • When helping a junior, ask them to predict before Enter.
  • Share one tip with a classmate in Marathi or Hindi.
  • Keep currency symbols consistent inside a single report column.
  • Interview tip: explain the business question before the formula.
  • If a result looks wrong, check spill range blocks (#SPILL!) before rewriting.
  • When Excel versions differ, write a LibreOffice / Sheets fallback under a comment.

In real work

Drill: filter Open rows on a four-row sheet from memory. Live queues in Belgaum plants and Seattle support — spill every Open row. Classroom drill: write three brand-new FILTER formulas on a blank sheet using names from your own city — if you can invent them without the page open, you own the skill. Then break one formula on purpose and watch the error; recovering from that break is half of interview readiness. Always verify with a known case before trusting a long chain. Keep a personal notebook of the one mistake you make most often with this function; review it monthly.

How it compares

FILTER vs COUNTIF: spill rows versus count only.

Interview corner

vs AutoFilter?
Formula spill vs UI hide.
#CALC!?
No rows.
#SPILL!?
Blocked.

SORT, UNIQUE, SORTBY, COUNTIF

Practice tasks (10)

  1. Task 1. Spill Open rows.
    FILTER.
  2. Task 2. if_empty None.
    Empty.
  3. Task 3. ₹>90 filter.
    Num.
  4. Task 4. Force #CALC!.
    Err.
  5. Task 5. Clear #SPILL!.
    Space.
  6. Task 6. Interview.
    Talk.
  7. Task 7. Teach.
    Teach.
  8. Task 8. Wrap SORT.
    Sort.
  9. Task 9. Fill queue.
    Fill.
  10. Task 10. Document.
    Note.

Quick quiz

Q1. No match without if_empty?
Q2. Needs dynamic arrays?
Q3. Blocked spill?
Q4. Include must be?
Q5. Sort after filter?

Answers: Q1=#CALC!, Q2=Yes 365, Q3=#SPILL!, Q4=Same height, Q5=Wrap SORT (check after you try).

Revision card

Standalone card (no tip or photo strip). QR opens this lesson. Download the PNG and revise offline.

Revision card: FILTER
FILTER revision card