Back to Blog

How to Use the FILTER Function in Excel?

4.9 (93)

The FILTER function allows you to extract specific data from a table based on given criteria.

AVIF image format comparison

➤ How to Use the FILTER Function

  1. Select the cell where the filtered data should appear.
  2. Enter the formula: =FILTER(range, criteria)

➤ Example

Using the formula =FILTER(A2:B5, B2:B5>80) on a table with names and scores extracts only the rows where the score is greater than 80.

➤ Key Information

  • Function: FILTER
  • Purpose: Extract rows from a range of data that meet a specific condition.
  • Formula Syntax: =FILTER(array, include, [if_empty])

💡 Pro Tip

The criteria can be dynamic by referencing a cell. For example, =FILTER(A2:B10, B2:B10 >= C1) filters the data based on a score threshold entered in cell C1.

How to Use the FILTER Function in Excel?