Can the FILTER formula return more than one columns value?

%3CLINGO-SUB%20id%3D%22lingo-sub-2274292%22%20slang%3D%22en-US%22%3ECan%20the%20FILTER%20formula%20return%20more%20than%20one%20columns%20value%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2274292%22%20slang%3D%22en-US%22%3E%3CP%3EUsing%20FILTER%20In%20my%20table%20below%20I%20want%20the%20values%20of%20the%20home%20and%20away%20matches%20to%20appear%20in%20one%20drop%20down%20search(at%20the%20moment%20i%20have%20to%20do%20two%20FILTER%20dropdowns%20for%20home%20and%20away).%20Is%20there%20away%20round%20this%3F%20The%20HOME%20(HT)%20are%20in%20%22D%22%20and%20the%20AWAY%20(%20AT)%20are%20in%20%22G%22%20columns.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222021-04-15.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F273025iE94C1BE3A49ABE85%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%222021-04-15.png%22%20alt%3D%222021-04-15.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2274292%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eoffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Using FILTER In my table below I want the values of the home and away matches to appear in one drop down search(at the moment i have to do two FILTER dropdowns for home and away). Is there away round this? The HOME (HT) are in "D" and the AWAY ( AT) are in "G" columns.

2021-04-15.png

5 Replies

@16Teams 

If you mean, for your sample, HT=Serbia OR AT=Serbia, when like

=FILTER(A2:G76, (D2:D76=I2)+(G2:G76=I2) )

@16Teams 

You need to introduce an OR condition into the filter.  With arrays, this is achieved with the arithmetic '+' operator.

= FILTER(Fixtures, (Fixtures[HT]=Country)+(Fixtures[AT]=Country))

That did the trick, thanks for your help-Sergei. See you at the next problem!
Got it sorted Peter thanks for your info.

@16Teams 

You are welcome, glad to help