=FILTER(array,include,[if_empty])
=FILTER(A1:A10,A1:A10>100)
The formula returns all values in A1:A10 that are greater than 100:
=FILTER(A1:C5,A1:A5>100)
The formula returns every row in A1:C5 that has a value in A1:A5 that is greater than 100:
=FILTER(B5:D14,D5:D14=H2,"No results")
The formula returns all values in B5:D14 that are "red" when the value in H2 is "red":
=FILTER(B5:D14,D5:D14="red","No results")
The formula returns all values in B5:D14 that are "red":
The FILTER function is used to filter an array based on the criteria entered, and returns an array with the matching results.