FILTER(array ,include [,if_empty])

Returns the array of data in a range that satisfies multiple conditions.

arrayThe array, or range to filter.
includeA Boolean array whose height or width is the same as the array.
if_emptyThe value to return if all values in the included array are empty (filter returns nothing).


* This function is only available in Microsoft 365.
* This function can return a Dynamic Array Formula.
* You can use the SORT function to return an array of data that has been sorted.
* For the Microsoft documentation refer to

1=FILTER(B1:B4,B1:B4="two") = twoone30
2=FILTER(B1:B4,B1:B4="one") = { "one", "one" }two20
3=FILTER(B1:C4,B1:B4="one") = { "one", 30, "one" , 50 }one50

© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited Top