Filter Array/List Question

john62290

New Member
Joined
Dec 15, 2021
Messages
26
Office Version
  1. 365
Platform
  1. Windows
DecJanMarAprMay
2525252525
30901007050
6030
10090
120
150
300

Hey! I need help with a formula with a dynamic list drop-down in cell B2 that returns the values when an above month is selected. So when the month of December is selected, it fills out 25,30,60,100, etc. Then when it changes to Jan, only 25 & 90 are returned. Thanks for the help.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
What/where is the source of the data to fill?
It would also be helpful to use XL2BB to post your sample data so that someone trying to suggest a solution doesn't have to retype everything.
 
Upvote 0
See if you could adapt something like this.

23 04 28.xlsm
ABCDEFG
1JanDecJanMarAprMay
2252525252525
39030901007050
46030
510090
6120
7150
8300
9
Filter
Cell Formulas
RangeFormula
A2:A3A2=LET(f,FILTER(C2:G100,C1:G1=A1),FILTER(f,f<>""))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
A1List=$C$1:$G$1
 
Upvote 0
What/where is the source of the data to fill?
It would also be helpful to use XL2BB to post your sample data so that someone trying to suggest a solution doesn't have to retype everything.
The source is a table in another tab. Apologies, I am not familiar with XL2BB. I definitely want to make this as easy as possible.
 
Upvote 0
I am not familiar with XL2BB. I definitely want to make this as easy as possible.
There is a link in my signature block below.

The source is a table in another tab.
Do you mean a formal Excel table like this?

john62290.xlsm
ABCDE
1DecJanMarAprMay
22525252525
330901007050
46030
510090
6120
7150
8300
Sheet2


john62290.xlsm
A
1Jan
225
390
4
Sheet1
Cell Formulas
RangeFormula
A2:A3A2=LET(f,FILTER(Table1,Table1[#Headers]=A1),FILTER(f,f<>""))
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
A1List=Sheet2!$A$1:$E$1
 
Upvote 0

Forum statistics

Threads
1,215,176
Messages
6,123,470
Members
449,100
Latest member
sktz

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