Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 49
Default Data Validation with dynamic ranges

I asked this question before Christmas but never managed to fully resolve it
(or find a good workaround), so I'll ask now and try to be clearer about it
this time. Basically I have one dynamic named range* named Choice, and then
several dynamic ranges named List1, List2, List3 etc...

In my sheet, I want to use Data Validation to ask the user to select a value
from a drop-down list containing the values in range Choice, and then, if the
user has chosen the seventh choice in range Choice, I want to the user to
select a value from a drop-down list in a neighboring cell containing the
values in range List7.

So, in Cell A1 (for example) I want to pick from any choice in range Choice
through using Data Validation; in Cell A2 I want to have the data validation
reflect the choice made in A1. The first part works fine, but I can't think
of a way to get the second part working. I've learned that if I'm not using
dynamic ranges I can use =INDIRECT() in the data validation to solve this,
but I haven't made it work with a dynamic range.

Please help me if you can fix this, or if you can think of a smart
workaround. Thanks!









* Using the formula =OFFSET($K$2;0;0;MATCH("*";$K:$K;-1)-1;1) in a name
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Data Validation with dynamic ranges

I find this page describe how to use INDIRECT with dynamic ranges very well.

http://www.contextures.com/xldataval02.html
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Babymech" wrote:

I asked this question before Christmas but never managed to fully resolve it
(or find a good workaround), so I'll ask now and try to be clearer about it
this time. Basically I have one dynamic named range* named Choice, and then
several dynamic ranges named List1, List2, List3 etc...

In my sheet, I want to use Data Validation to ask the user to select a value
from a drop-down list containing the values in range Choice, and then, if the
user has chosen the seventh choice in range Choice, I want to the user to
select a value from a drop-down list in a neighboring cell containing the
values in range List7.

So, in Cell A1 (for example) I want to pick from any choice in range Choice
through using Data Validation; in Cell A2 I want to have the data validation
reflect the choice made in A1. The first part works fine, but I can't think
of a way to get the second part working. I've learned that if I'm not using
dynamic ranges I can use =INDIRECT() in the data validation to solve this,
but I haven't made it work with a dynamic range.

Please help me if you can fix this, or if you can think of a smart
workaround. Thanks!









* Using the formula =OFFSET($K$2;0;0;MATCH("*";$K:$K;-1)-1;1) in a name

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default Data Validation with dynamic ranges

Apply Vlookup to this validation will work
--
Thanks
Suleman Peerzade


"Babymech" wrote:

I asked this question before Christmas but never managed to fully resolve it
(or find a good workaround), so I'll ask now and try to be clearer about it
this time. Basically I have one dynamic named range* named Choice, and then
several dynamic ranges named List1, List2, List3 etc...

In my sheet, I want to use Data Validation to ask the user to select a value
from a drop-down list containing the values in range Choice, and then, if the
user has chosen the seventh choice in range Choice, I want to the user to
select a value from a drop-down list in a neighboring cell containing the
values in range List7.

So, in Cell A1 (for example) I want to pick from any choice in range Choice
through using Data Validation; in Cell A2 I want to have the data validation
reflect the choice made in A1. The first part works fine, but I can't think
of a way to get the second part working. I've learned that if I'm not using
dynamic ranges I can use =INDIRECT() in the data validation to solve this,
but I haven't made it work with a dynamic range.

Please help me if you can fix this, or if you can think of a smart
workaround. Thanks!









* Using the formula =OFFSET($K$2;0;0;MATCH("*";$K:$K;-1)-1;1) in a name

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
data validation, dynamic ranges Rich Hayes Excel Worksheet Functions 3 November 22nd 07 02:54 AM
Data Validation and Dynamic Ranges GSB Excel Discussion (Misc queries) 2 July 17th 07 06:24 AM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? Arvi Laanemets Excel Discussion (Misc queries) 0 December 2nd 04 11:29 AM


All times are GMT +1. The time now is 05:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"