Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 152
Default Dependant drop-down lists allowing invalid entries

I'm using a drop down list dependant on a previous drop down list. The first
list restricts entries to the data list, and disallows any other entry. The
second list however, provides the relevant options based on the first list,
but also allows me to input anything (ljafsdlkjfd for example) without giving
an error message. Am I missing something or is this a limitation of the excel
software or the code that's being used? I do have the "stop" option ticked
for the validation in the dependant dropdown list.

Any suggestions appreciated.

Cheers,

Alan.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Dependant drop-down lists allowing invalid entries

Do you include empty cells in the range for the second list?

If yes, try avoiding those empty cells.

Without knowing the details, maybe using a dynamic range name that grows and
contracts with the data would help.

Debra Dalgleish explains dynamic range names he
http://contextures.com/xlNames01.html#Dynamic

Alan wrote:

I'm using a drop down list dependant on a previous drop down list. The first
list restricts entries to the data list, and disallows any other entry. The
second list however, provides the relevant options based on the first list,
but also allows me to input anything (ljafsdlkjfd for example) without giving
an error message. Am I missing something or is this a limitation of the excel
software or the code that's being used? I do have the "stop" option ticked
for the validation in the dependant dropdown list.

Any suggestions appreciated.

Cheers,

Alan.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 152
Default Dependant drop-down lists allowing invalid entries

Thanks for the response. No mate, no empty cells. The formula I'm using for
the dependant list validation is as follows:
=OFFSET(D1Start,MATCH(D8,D1Column,0)-1,1,COUNTIF(D1Column,D8),1)

Any other ideas?

Also, while I'm here, I've been trying to create a three layered dependant
dropdown list - that is the first list is dependant on a range, the second is
dependant on the first value in the drop down box and the third is dependant
on the value in the second box. I'm having a lot of trouble. Any advice on
whether this is actually possible with excel would be appreciated - I'm
assuming that the technique is similar to creating a single dependant list,
but I'm just struggling with getting it to work as I intend. Any thoughts on
this?

"Dave Peterson" wrote:

Do you include empty cells in the range for the second list?

If yes, try avoiding those empty cells.

Without knowing the details, maybe using a dynamic range name that grows and
contracts with the data would help.

Debra Dalgleish explains dynamic range names he
http://contextures.com/xlNames01.html#Dynamic

Alan wrote:

I'm using a drop down list dependant on a previous drop down list. The first
list restricts entries to the data list, and disallows any other entry. The
second list however, provides the relevant options based on the first list,
but also allows me to input anything (ljafsdlkjfd for example) without giving
an error message. Am I missing something or is this a limitation of the excel
software or the code that's being used? I do have the "stop" option ticked
for the validation in the dependant dropdown list.

Any suggestions appreciated.

Cheers,

Alan.


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Dependant drop-down lists allowing invalid entries

After you choose a value from the first dropdown, hit F5 (or ctrl-g or
edit|goto) and type the name for the list of the second dropdown.

Does that range actually match what you want--and you're sure that there's no
empty cells in that range.

It's possible for more than 1 dependent dropdown.

I know when I'm working with this kind of thing, I'll use the edit|goto stuff to
make sure my names are correct. And I'll save my (failing) formulas in a cell,
too. It's just too difficult to edit in that Insert|Name|define box.

Alan wrote:

Thanks for the response. No mate, no empty cells. The formula I'm using for
the dependant list validation is as follows:
=OFFSET(D1Start,MATCH(D8,D1Column,0)-1,1,COUNTIF(D1Column,D8),1)

Any other ideas?

Also, while I'm here, I've been trying to create a three layered dependant
dropdown list - that is the first list is dependant on a range, the second is
dependant on the first value in the drop down box and the third is dependant
on the value in the second box. I'm having a lot of trouble. Any advice on
whether this is actually possible with excel would be appreciated - I'm
assuming that the technique is similar to creating a single dependant list,
but I'm just struggling with getting it to work as I intend. Any thoughts on
this?

"Dave Peterson" wrote:

Do you include empty cells in the range for the second list?

If yes, try avoiding those empty cells.

Without knowing the details, maybe using a dynamic range name that grows and
contracts with the data would help.

Debra Dalgleish explains dynamic range names he
http://contextures.com/xlNames01.html#Dynamic

Alan wrote:

I'm using a drop down list dependant on a previous drop down list. The first
list restricts entries to the data list, and disallows any other entry. The
second list however, provides the relevant options based on the first list,
but also allows me to input anything (ljafsdlkjfd for example) without giving
an error message. Am I missing something or is this a limitation of the excel
software or the code that's being used? I do have the "stop" option ticked
for the validation in the dependant dropdown list.

Any suggestions appreciated.

Cheers,

Alan.


--

Dave Peterson


--

Dave Peterson
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 Lists - Allowing no other entries KKD Excel Discussion (Misc queries) 0 June 5th 09 09:33 PM
Data in Cell dependant on drop down lists kalahari New Users to Excel 1 April 2nd 08 05:40 AM
3 way dependant lists stratmyster Excel Worksheet Functions 3 July 24th 06 05:21 PM
Drop Down Lists - Not allowing other contents to be put in same ce Gary Excel Worksheet Functions 3 December 1st 05 04:19 AM
Dependant Lists Steve Bladon Excel Discussion (Misc queries) 2 June 13th 05 12:28 PM


All times are GMT +1. The time now is 08:25 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"