ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Data Validation with Defined Name (https://www.excelbanter.com/excel-worksheet-functions/65084-data-validation-defined-name.html)

Sige

Data Validation with Defined Name
 
Hi There,

I have a Defined Name:
Sige ={"a";"b";"c";""}


When trying to use this Name in my Data Validation, allowing List,
source: =Sige
I get the message: "The source currently evalutes to an error"....
A funtion as: Index(Sige;2;1) returns me b

Any reaon why the data validation cannot handle this name?

Brgds Sige
-XL97-


Bernie Deitrick

Data Validation with Defined Name
 
Sige,

Try naming a four cell range "Sige" and fill it in with your values. That will definitely work.

HTH,
Bernie
MS Excel MVP


"Sige" wrote in message
oups.com...
Hi There,

I have a Defined Name:
Sige ={"a";"b";"c";""}


When trying to use this Name in my Data Validation, allowing List,
source: =Sige
I get the message: "The source currently evalutes to an error"....
A funtion as: Index(Sige;2;1) returns me b

Any reaon why the data validation cannot handle this name?

Brgds Sige
-XL97-




Roger Govier

Data Validation with Defined Name
 
Hi Sige

If you are trying to do data validation and only wanting an in put of
a,b,c or d then in the Refers to box just use
a,b,c,d
without any = sign in front.
Alternatively, in a set of cells A1:A4 enter a,b,c,d and call it Sige,
then use =Sige in the refers to box.
Note:
the first solution will only allow the lower case entries you typed in.
the second solution will allow upper or lowercase a,b,c,d

--
Regards

Roger Govier


"Sige" wrote in message
oups.com...
Hi There,

I have a Defined Name:
Sige ={"a";"b";"c";""}


When trying to use this Name in my Data Validation, allowing List,
source: =Sige
I get the message: "The source currently evalutes to an error"....
A funtion as: Index(Sige;2;1) returns me b

Any reaon why the data validation cannot handle this name?

Brgds Sige
-XL97-




Sige

Data Validation with Defined Name
 
Hi Bernie, Roger,

I am familiar with your proposals ... I was/ am just surprised that
Data Validation can handle lists where names are : cell-ranges,
formulas,... but no ''constant'' Names!

Bizar.
Thanks, Sige



All times are GMT +1. The time now is 09:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com