Step by step
- In A2:A5 enter Mira, Jon, Ana and Li. In B2:B5 enter Open, Closed, Open and Closed. Put Open in D1.
- In D3 enter =FILTER(A2:B5,B2:B5=D1,"No matches"). Leave space underneath and to the right.
- The result shows Mira and Ana with their statuses. Change D1 to Closed to display Jon and Li instead.
- 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.
Excel FILTER Function: Return All Matches, Not Just the First
Practice workspace
Enter a FILTER formula in D3 that returns A2:B5 where B2:B5 matches D1. Clear the note in the spill area and switch D1 to Closed to show the closed tickets.
Lesson quiz
Answer three questions to see your level in this lesson.
