Which extracts data where color is “RED”, respecting upper and lower case. The EXACT function compares two text strings in a case-sensitive manner. If the two strings are exactly the same, EXACT returns TRUE. If the two strings are not exactly the same, EXACT returns FALSE. Since we are giving EXACT a range with 11 values as the first argument, and the string “RED” as the second, EXACT returns an array with 11 results like this: Notice the position of TRUE values in this array corresponds to the rows where the color is “RED”. This array returned directly to the FILTER function as the include argument. FILTER uses the array to filter the range B5:D15, and returns the three rows where the color is “RED”. Rows where the color is “Red” are not included.

Partial match

To run an exact match with FILTER based on a partial match, see the example explained here.

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.