Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically changing the input range of a Drop Down

Status
Not open for further replies.

DoctorV3774

Programmer
Oct 12, 2004
33
US
I have a drop down in Excel on a sheet named Level 2 Support Team Member. Based on the value of a prior dropdown results for this are in Cell H8 I need the Input Range to change dynamically

Example If H8 =1 the Input range should be Sheet1!$B$2:$B$10
If H8=2 the the Input range should be Sheet1!$c$2:$c$10
And Finally IfH8=3 the the Input range should be Sheet1!$d$2:$d$10

What do I need to do to dynamically change this InputRange? Name of Control is Drop Down 5
Thanks

 
Hi

use the OFFSET function in Insert/Name/Define.

The third argument controls the column.

How can I rename a table as it changes size FAQ68-1331

Skip,

[glasses] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud."
"I think; therefore, I YAM!
[tongue]
 
I'm sorry I'm a bit confused. If for example I have the text value of my named range in cell a19, how can I set the InputRange of Drop Down 5 to this named range. If I hard code the named range in the Input range iut picks it up fine but I cannot seem to set it dynamically
 
try

=indirect(A9)

Skip,

[glasses] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud."
"I think; therefore, I YAM!
[tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top