FILTER Function in Google Sheets
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 the new, smaller output from the function. FILTER is often used with or instead of the SORT function when whittling down large amounts of data. FILTER is for reducing data and SORT is for, well, sorting it.
The filter function is typically accessed from the user menu, but it can also be typed into a cell just like any other function. Excel, the most popular spreadsheet program, only has it as a menu 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: When using FILTER, start your formula in a cell that should be the upper left most cell for the output. 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 and it can be changed.
Using the FILTER function with one column of data. The first table is before the function is applied and the second is after.
Let's look at an example now of filtering a table with two columns of data using one condition.
Three columns of data filtered by two conditions.
Live examples in Sheets
Go to this spreadsheeet for several examples of the FILTER function that you can study and use anywhere you would like.