logo-mini

FILTER Function

The Filter function in Excel is a function that allows you to filter data based on specific criteria. It is a part of the Data tab in the Excel ribbon and can be accessed by clicking the Filter button in the Sort & Filter group.

The Filter function works by displaying only the rows that meet the specified criteria, while hiding all other rows. This allows you to focus on a specific subset of data and analyze it more effectively.

For example, suppose you have a list of sales data for a company, including the salesperson, product, and sales amount. You might use the Filter function to only show the sales data for a specific salesperson, or to only show the sales data for a specific product.

Syntax of the Filter Function in Excel

The syntax for the Filter function in Excel is as follows:

=FILTER(array, include, [if_empty])

Here is what each of these arguments means:

  • array: This is the range of cells that you want to filter.
  • include: This is the criteria that you want to use to filter the data. This can be a logical expression (such as “=A1>10”), a cell reference, or a value.
  • if_empty: This is an optional argument that specifies what should be displayed if the filter function returns no results. The default value is an empty string (“”), but you can specify a different value if desired.

Using the Filter Function in Excel

Using the Filter function in Excel is relatively simple. First, select the cells that you want to filter. Then, click the Filter button in the Sort & Filter group of the Data tab in the Excel ribbon.

This will add drop-down arrows to the top row of your data, which you can use to filter the data based on specific criteria. Simply click on the drop-down arrow for the column that you want to filter, and select the criteria that you want to use.

For example, suppose you want to filter a list of sales data to only show the sales data for a specific product. You would click the drop-down arrow for the product column, and then select the specific product that you want to filter on.

The Filter function in Excel also allows you to use more advanced criteria to filter your data. For example, you can use logical expressions such as “=A1>10” to only show rows where the value in column A is greater than 10.

You can also use multiple criteria to filter your data. For example, you might want to only show rows where the value in column A is greater than 10 and the value in column B is less than 20. To do this, you would simply select both criteria from the drop-down menus.

Download the sample files: FILTER FUNCTION – Click here