Lookup & Reference Excel 2021 ◉ 52 views Dynamic Array

=FILTER()

How to use the FILTER function in Excel to filter a range of data based on criteria you define.

Applies To: Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel for iPadExcel for iPhoneExcel for Android tabletsExcel for Android phones
=FILTER(array,include,[if_empty])
Hover argument names in the table for details.
Output typeArray
Popularity90 / 100
VolatileNo
Dynamic ArrayYes
Download sample .xlsx ▦ Try in Playground Dedicated file for this function — safe & lightweight · sample data + live formulas
Share:

⬇ Download Sample Workbook

A dedicated .xlsx for =FILTER() with Persian sample data & live formulas — open in Excel and practice.

  • Sheet “Sample” — data table + formula in place
  • Sheet “Guide” — syntax, arguments & tips from this page
  • Instant & secure (token + rate limit)
Download FILTER.xlsx ~ 8–12 KB · No macros

⇪ Share

Send this function to friends

Quiz this function

%d questions — syntax, example & errors — test yourself!

◧ Arguments

ArgumentTypeRequiredDescription
array Any type Required The array, or range to filter
include Any type Required A Boolean array whose height or width is the same as the array
if_empty] Range Optional The value to return if all values in the included array are empty (filter returns nothing)

▣ Examples

Example 1 =FILTER(A5:D20,(C5:C20=H1)*(A5:A20=H2),"")

💬 Comments & Q&A 0 approved

🔒 Your comment will be published after review.

Share your thoughts — visible after admin approval

No comments yet — be the first!

✍️ Add comment / question

captcha
🔒 Your comment will be published after review.