New FILTER function cannot accept an array in the filter value?

BrianGGG

Board Regular
Joined
Mar 5, 2016
Messages
62
Hi. I have the following reference table:

AB
135ItemQuarter
136a2
137b3
138c3
139d1
140e4
141f1
142g4
143h2
144i3
145j1
146k1
147l1
148m3

<tbody>
</tbody>
Summary





My goal is to "pivot" by the quarter column to create the following output:

EFGH
1361234
137dabe
138fhcg
139ji
140km
141l

<tbody>
</tbody>
Summary

Worksheet Formulas
CellFormula
E137=FILTER(t_Items[Item],t_Items[Quarter]=E136)
F137=FILTER(t_Items[Item],t_Items[Quarter]=F136)
G137=FILTER(t_Items[Item],t_Items[Quarter]=G136)
H137=FILTER(t_Items[Item],t_Items[Quarter]=H136)

<tbody>
</tbody>

<tbody>
</tbody>




As you can see above, the FILTER function works to get the right answer, but I had to copy and paste the filter function across to all four columns.
I was disappointed to see that I got a #VALUE error when I tried to spill a single formula with the following:

Code:
=FILTER(t_Items[Item],t_Items[Quarter]=E136:H136)

I can't seem to use an array in the FILTER criteria. Is this the expected behavior and there is no way around this?



thanks
BrianGGG
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top