FILTER
"Return columns A through D only for rows where status in column D is Open."
=FILTER(A2:D100,D2:D100="Open","No open tasks")
Return only rows or columns that satisfy one or more conditions.
FILTER uses dynamic arrays in Google Sheets and current Excel. Older Excel and some WPS versions do not support spilling results.