FILTER formula when filtering for multiple criteria

%3CLINGO-SUB%20id%3D%22lingo-sub-2285821%22%20slang%3D%22en-US%22%3EFILTER%20formula%20when%20filtering%20for%20multiple%20criteria%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2285821%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20see%20an%20array%20with%20only%20rows%20that%20are%20marked%20with%20%22A%22%20and%20%22B%22%20ie%20whatever%20the%20criteria%20in%20the%20range%20A2%20-%20A3%2C%20is%20this%20possible%20with%20another%20formula%20or%20something%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22S4LVt275X5.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275263iB51AA2EF492F0678%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22S4LVt275X5.png%22%20alt%3D%22S4LVt275X5.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2285821%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2285990%22%20slang%3D%22en-US%22%3ERe%3A%20FILTER%20formula%20when%20filtering%20for%20multiple%20criteria%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2285990%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1035676%22%20target%3D%22_blank%22%3E%40FutureTax%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20could%20be%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DFILTER(F2%3AN16%2CCOUNTIF(A2%3AA3%2CF2%3AF16))%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I want to see an array with only rows that are marked with "A" and "B" ie whatever the criteria in the range A2 - A3, is this possible with another formula or something?

 

S4LVt275X5.png

2 Replies

@FutureTax 

That could be like

=FILTER(F2:N16,COUNTIF(A2:A3,F2:F16))
A variant: =FILTER(F2:N16,((F2:F16=A2)+(F2:F16=A3)))