Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
rt rt is offline
external usenet poster
 
Posts: 11
Default Indirect validation list with blank in list

Normally when you create a named validation list that contains a blank line,
you can choose from the list or enter anything at all because of the blank.
I have a scenario where I am using an indirect validation list based on the
entry in the cell next to it. The named list contains a blank entry but you
get an error message when you try and enter something that is not on the list
even though their is a blank line contained in the named validation list.
For example, validation list is called employee_profile. If I do "normal"
validation using the formula =employee_profile for my validation list, I can
select from the list or type anything as there is a blank line in the list.
If I do indirect validation using this formula =INDIRECT(SUBSTITUTE($a1,"
","_")), where $a1 = employee profile, I cannot enter a value that is not on
the list, even though there is a blank line in the list.
Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Indirect validation list with blank in list

*Uncheck* the "Show error alert" that's in the "Error Alert" tab of the Data
Validation dialog box.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===



"RT" wrote in message
...
Normally when you create a named validation list that contains a blank line,
you can choose from the list or enter anything at all because of the blank.
I have a scenario where I am using an indirect validation list based on the
entry in the cell next to it. The named list contains a blank entry but you
get an error message when you try and enter something that is not on the
list
even though their is a blank line contained in the named validation list.
For example, validation list is called employee_profile. If I do "normal"
validation using the formula =employee_profile for my validation list, I can
select from the list or type anything as there is a blank line in the list.
If I do indirect validation using this formula =INDIRECT(SUBSTITUTE($a1,"
","_")), where $a1 = employee profile, I cannot enter a value that is not on
the list, even though there is a blank line in the list.
Can anyone help?


  #3   Report Post  
Posted to microsoft.public.excel.misc
rt rt is offline
external usenet poster
 
Posts: 11
Default Indirect validation list with blank in list

Funny, easy solution. Thanks. I was just confused as you can have a blank
line in your list when you don't use indirect validation and you don't get an
error message, but when you use indirect, you get one. Oh well, no matter,
that works. Thanks!

"RagDyeR" wrote:

*Uncheck* the "Show error alert" that's in the "Error Alert" tab of the Data
Validation dialog box.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===



"RT" wrote in message
...
Normally when you create a named validation list that contains a blank line,
you can choose from the list or enter anything at all because of the blank.
I have a scenario where I am using an indirect validation list based on the
entry in the cell next to it. The named list contains a blank entry but you
get an error message when you try and enter something that is not on the
list
even though their is a blank line contained in the named validation list.
For example, validation list is called employee_profile. If I do "normal"
validation using the formula =employee_profile for my validation list, I can
select from the list or type anything as there is a blank line in the list.
If I do indirect validation using this formula =INDIRECT(SUBSTITUTE($a1,"
","_")), where $a1 = employee profile, I cannot enter a value that is not on
the list, even though there is a blank line in the list.
Can anyone help?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Indirect validation list with blank in list

You're welcome, and thanks for the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"RT" wrote in message
...
Funny, easy solution. Thanks. I was just confused as you can have a blank
line in your list when you don't use indirect validation and you don't get
an
error message, but when you use indirect, you get one. Oh well, no matter,
that works. Thanks!

"RagDyeR" wrote:

*Uncheck* the "Show error alert" that's in the "Error Alert" tab of the
Data
Validation dialog box.
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===



"RT" wrote in message
...
Normally when you create a named validation list that contains a blank
line,
you can choose from the list or enter anything at all because of the
blank.
I have a scenario where I am using an indirect validation list based on
the
entry in the cell next to it. The named list contains a blank entry but
you
get an error message when you try and enter something that is not on the
list
even though their is a blank line contained in the named validation list.
For example, validation list is called employee_profile. If I do "normal"
validation using the formula =employee_profile for my validation list, I
can
select from the list or type anything as there is a blank line in the
list.
If I do indirect validation using this formula =INDIRECT(SUBSTITUTE($a1,"
","_")), where $a1 = employee profile, I cannot enter a value that is not
on
the list, even though there is a blank line in the list.
Can anyone help?





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
Indirect List Data validation Steve_n_KC Excel Discussion (Misc queries) 3 August 7th 07 07:55 PM
blank entries in data validation list WiFiMike2006 Excel Worksheet Functions 2 December 13th 06 07:33 PM
Indirect formula using Data Validation List of Worksheet Tabs Scott Excel Worksheet Functions 1 December 5th 05 02:59 PM
validation and omitting blank vaues from list MGOETZ Excel Worksheet Functions 3 May 20th 05 09:24 PM
Returning a blank for validation list Wes Excel Worksheet Functions 1 March 6th 05 05:48 PM


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