The FILTER function allows you to narrow down a range of data to include only items that meet the criteria that you specify. The function creates a new range of data with a new, smaller output. When whittling down large amounts of data, you often use FILTER with or instead of the SORT function. In other words, FILTER is for reducing data, and SORT is for sorting it.
You typically access the filter function from the user menu, but you can also type it into a cell just like any other function.
Returns data from your specified source with only the criteria that you selected. Yes, it gets rid of what you don’t want.
Basic information about the inputs:
range– The entire range of data that is to be filtered
condition1– The criteria upon which the range is to be filtered
condition2...– The optional additional criteria upon which the range is to be filtered
Tip: This function writes the output in, below, and to the right of your starting point. The formula text will remain in the upper-left cell.
Firstly, we are using the FILTER function with one column of data. The first table is before the function is applied, and the second is after.
Secondly, let’s look at an example now of filtering a table with two columns of data using one condition.
Lastly, we filtered these three columns of data by two conditions.
Live examples in Sheets
Go to this spreadsheet for several examples of the FILTER function that you can study and use anywhere you would like.