Which retrieves data where the State = “TX”. Since there are 11 cells in the range E5:E11, this expression returns an array of 11 TRUE and FALSE values like this: This array is used by the FILTER function to retrieve matching data. Only rows where the result is TRUE make it into the final output. Finally, the if_empty argument is set to “not found” in case no matching data is found.

Other fields

Other fields can be filtered in a similar way. For example, to filter the same data on orders that are greater than $100, you can use FILTER like this

Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.