Build a shortlist with FILTER

Show selected records in a second area that expands automatically.

Step by step

  1. In A2:A5 enter Mira, Jon, Ana and Li. In B2:B5 enter Open, Closed, Open and Closed. Put Open in D1.
  2. In D3 enter =FILTER(A2:B5,B2:B5=D1,"No matches"). Leave space underneath and to the right.
  3. The result shows Mira and Ana with their statuses. Change D1 to Closed to display Jon and Li instead.
  4. If #SPILL! appears, check whether another value blocks the output. Use a version of Excel that supports FILTER, such as Microsoft 365 or Excel 2021 and later.
Microsoft reference

Search ExcelTutor