Dynamic dropdown list

Martin_H

Board Regular
Joined
Aug 26, 2020
Messages
190
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have 2 dropdown lists in cell A2 and B2. Both dropdown lists shows week numbers from 1 to 53. Column A is a starting point (FROM) and Column B is a ending point (TO).

Untitled.png


Dropdown list in A2 will always shows all weeks (from 1 to 53) but dropdown list in B2 will only show weeks that are greater or equal to current A2 selection.

For example, if I choose WEEK 10 in dropdown list A2 I want to see only WEEK 10 and greater in dropdown list B2.

Is is possible?


Thank you!
 
Looks like Fluff beat my OFFSET approach.

Book1
AB
1FROMTO
2Week 1Week 1
Sheet1
Cells with Data Validation
CellAllowCriteria
A2List=Week_list!$A$1:$A$53
B2List=OFFSET(Week_list!$A$1,MATCH($A$2,Week_list!$A$1:$A$53,0)-1,,54-MATCH($A$2,Week_list!$A$1:$A$53,0))
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Did you change Main in the formula to match the sheet name with the DV?
Also did you call the Defined name Weeks?
 
Upvote 0
Did you change Main in the formula to match the sheet name with the DV?
Also did you call the Defined name Weeks?
I have renamed my sheet to Main to met your criteria and I also used name Weeks for name manager.
 
Upvote 0
Did you have a week selected in A2 when you tried to create the DV in B2?
 
Upvote 0
Not sure what's going on then.
On the sheet with the DV out this in a blank cell
Excel Formula:
=MATCH($A2,Week_List!$A$1:$A$53,0)
What does it return?
 
Upvote 0
I am sorry Fluff, it was my bad. In the week_list I have been using format "1 WEEK" instead "WEEK 1".

Working perfectly as a charm now. Thank you for your time.

God bless you mate. I appreciate it.
 
Upvote 0

Forum statistics

Threads
1,216,113
Messages
6,128,907
Members
449,478
Latest member
Davenil

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