Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
FILTER | Array Formulas
Excel Formulas
course content

Contenido del Curso

Excel Formulas

Excel Formulas

1. Basic Formulas
2. Array Formulas
3. Lookup and Reference

FILTER

The FILTER function in Excel is designed to filter a range of data based on specified criteria and return the matching values. This function is highly useful for data analysis, reporting, and data management tasks.

arrayThe range or array to filter.
includeA Boolean array, where TRUE represents the values to include.
[if_empty](Optional) The value to return if no entries meet the criteria. If omitted, it returns a #CALC! error.

So, again, nothing too complicated. First, we provide a range we want to filter. The next parameter, as specified above, is a Boolean array, but where can we find it? Actually, a Boolean array is simply a range of True or False values. We can take any range and turn it into a Boolean array with an array formula.

What we did here is just applied a condition to the range of values. We can acheave it using >, <, = and so on.

Suppose you have a list of sales data with product names in column A and sales figures in column B. You want to filter out only the products with sales greater than 250.

First, select column A where the product names are listed. Next, create a boolean array to identify which products meet the sales criteria. You can create this array separately and then use it, or you can integrate it directly into the formula.

Note

If no products have a count greater than the specified threshold, you will get a #CALC! error. To prevent this, you can specify a third parameter in the formula that will be displayed if there is no match.

What happens if no entries meet the criteria specified in the FILTER function and the if_empty argument is omitted?

Selecciona la respuesta correcta

¿Todo estuvo claro?

Sección 2. Capítulo 4
We're sorry to hear that something went wrong. What happened?
some-alt