![]() |
Data validation in Excel 2007
Hey,
In Excel 2002 I could create a dynamic name =DECALER(Feuil1!$A$1;;;NBVAL($A:$A)-1;1) to cover a list of data used for setting validation rules. In Excel 2007 I tried to use the new "structured references" for the same purpose, but Excel refuses, saying that there is an error in my formula. For example : =Tableau1[ [#données] ; [Produit] ] which works well for formulas in cells ( french version needs a semi-colon for separator) is not accepted in the validation dialog box. Is it impossible ? and I will stay with dynamic names, or is there a way to turn around this ? Thanks Bern. |
Data validation in Excel 2007
You may use "=Tableau1[[#données];[Produit]]" to define a dynamic
name... Regards. Daniel Hey, In Excel 2002 I could create a dynamic name =DECALER(Feuil1!$A$1;;;NBVAL($A:$A)-1;1) to cover a list of data used for setting validation rules. In Excel 2007 I tried to use the new "structured references" for the same purpose, but Excel refuses, saying that there is an error in my formula. For example : =Tableau1[ [#données] ; [Produit] ] which works well for formulas in cells ( french version needs a semi-colon for separator) is not accepted in the validation dialog box. Is it impossible ? and I will stay with dynamic names, or is there a way to turn around this ? Thanks Bern. |
Data validation in Excel 2007
Sorry, the formula which you submit is exactly the one I tried to use in the
validation dialog box as source list. I tried once more to use it there and I always get a formula error message. When the message is dismissed the entire formula is selected. The formula is accepted when used in a spreadsheet cell after selecting a number of cells at least equal to the number of products, and Array entered (CTRL+MAJ+ENTER). Regards Bern. "Daniel.C" a écrit dans le message de ... You may use "=Tableau1[[#données];[Produit]]" to define a dynamic name... Regards. Daniel Hey, In Excel 2002 I could create a dynamic name =DECALER(Feuil1!$A$1;;;NBVAL($A:$A)-1;1) to cover a list of data used for setting validation rules. In Excel 2007 I tried to use the new "structured references" for the same purpose, but Excel refuses, saying that there is an error in my formula. For example : =Tableau1[ [#données] ; [Produit] ] which works well for formulas in cells ( french version needs a semi-colon for separator) is not accepted in the validation dialog box. Is it impossible ? and I will stay with dynamic names, or is there a way to turn around this ? Thanks Bern. |
Data validation in Excel 2007
What i want to say is that you have to use that formula to define a
dynamic named range. Then use the named range for the validation list. Daniel Sorry, the formula which you submit is exactly the one I tried to use in the validation dialog box as source list. I tried once more to use it there and I always get a formula error message. When the message is dismissed the entire formula is selected. The formula is accepted when used in a spreadsheet cell after selecting a number of cells at least equal to the number of products, and Array entered (CTRL+MAJ+ENTER). Regards Bern. "Daniel.C" a écrit dans le message de ... You may use "=Tableau1[[#données];[Produit]]" to define a dynamic name... Regards. Daniel Hey, In Excel 2002 I could create a dynamic name =DECALER(Feuil1!$A$1;;;NBVAL($A:$A)-1;1) to cover a list of data used for setting validation rules. In Excel 2007 I tried to use the new "structured references" for the same purpose, but Excel refuses, saying that there is an error in my formula. For example : =Tableau1[ [#données] ; [Produit] ] which works well for formulas in cells ( french version needs a semi-colon for separator) is not accepted in the validation dialog box. Is it impossible ? and I will stay with dynamic names, or is there a way to turn around this ? Thanks Bern. |
Data validation in Excel 2007
Merci de votre mise au point, j'étais passé à côté de la plaque. Ça marche
effectivement. Bern. "Daniel.C" a écrit dans le message de ... What i want to say is that you have to use that formula to define a dynamic named range. Then use the named range for the validation list. Daniel |
Data validation in Excel 2007
Je re-expédie le message rédigé le 11/11 et non apparu :
Merci de votre mise au point, j'étais passé à côté de la plaque. Ça marche effectivement. Bern. "Daniel.C" a écrit dans le message de ... What i want to say is that you have to use that formula to define a dynamic named range. Then use the named range for the validation list. Daniel |
All times are GMT +1. The time now is 04:50 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com