Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Data validation accepts illegal entries when one spreads values

I have a column which has Data Validation set to a column of allowed items
(Article Codes).

Validation works right when one types entries in - only valid Article Codes
are allowed in the validated column.

However, when one enters values not one by one, but by spreading an existing
cell downwards in the validated column (drag from the little + on the corner
of
the cell), values are incremented and any resulting value is welcome by Excel
in the validated cell.

E.g., values allowed in the validation list:

HP9945
HP9980
HP9994

Entering values one by one will not allow HP9946.
However, if you spread HP9945 downwards, the cells under it
will accept HP9946, HP9947, etc.

Was this the way the feature meant to be?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Data validation accepts illegal entries when one spreads values

By using the little + you're not copying data, you're filling data, and Excel
is seeing those numbers at the end of the entries as part of a series and
it's automatically incrementing the series. What you're seeing actually is
by design - one of those cases where Excel acts "too smart" and becomes an
inconvenience. I personally would put it in the category of bug in this
instance - but it is what it is.



"Brillisoft" wrote:

I have a column which has Data Validation set to a column of allowed items
(Article Codes).

Validation works right when one types entries in - only valid Article Codes
are allowed in the validated column.

However, when one enters values not one by one, but by spreading an existing
cell downwards in the validated column (drag from the little + on the corner
of
the cell), values are incremented and any resulting value is welcome by Excel
in the validated cell.

E.g., values allowed in the validation list:

HP9945
HP9980
HP9994

Entering values one by one will not allow HP9946.
However, if you spread HP9945 downwards, the cells under it
will accept HP9946, HP9947, etc.

Was this the way the feature meant to be?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default Data validation accepts illegal entries when one spreads value

FWIW, XL2007 appears to handle this correctly by not incrementing above the
highest value in the validation range

"JLatham" wrote:

By using the little + you're not copying data, you're filling data, and Excel
is seeing those numbers at the end of the entries as part of a series and
it's automatically incrementing the series. What you're seeing actually is
by design - one of those cases where Excel acts "too smart" and becomes an
inconvenience. I personally would put it in the category of bug in this
instance - but it is what it is.



"Brillisoft" wrote:

I have a column which has Data Validation set to a column of allowed items
(Article Codes).

Validation works right when one types entries in - only valid Article Codes
are allowed in the validated column.

However, when one enters values not one by one, but by spreading an existing
cell downwards in the validated column (drag from the little + on the corner
of
the cell), values are incremented and any resulting value is welcome by Excel
in the validated cell.

E.g., values allowed in the validation list:

HP9945
HP9980
HP9994

Entering values one by one will not allow HP9946.
However, if you spread HP9945 downwards, the cells under it
will accept HP9946, HP9947, etc.

Was this the way the feature meant to be?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Data validation accepts illegal entries when one spreads value

How odd, I've tried it twice in XL2007 on 2 machines. And it works as he
describes on both. Am I missing a setting somewhere? All patches/SPs
applied.

On a sheet I
set up H1:H6 with list of HP0001 through HP0006,
then selected D1:D8 on same sheet and set data validation to list with
=$H$1:$H$6 as the list source, then
Chose HP0001 in D1,
then grabbed the lower right corner and filled down to row 14 in D and
Lo and behold I now have entries from HP0001 through HP0014 in D1:D14 with
data validation set up in all cells showing that the source list is $H$1:$H$6
!!

If I then go to D14 and type in the same thing that's already in it
(HP0014), THEN I get the expected invalid entry message.



"Duke Carey" wrote:

FWIW, XL2007 appears to handle this correctly by not incrementing above the
highest value in the validation range

"JLatham" wrote:

By using the little + you're not copying data, you're filling data, and Excel
is seeing those numbers at the end of the entries as part of a series and
it's automatically incrementing the series. What you're seeing actually is
by design - one of those cases where Excel acts "too smart" and becomes an
inconvenience. I personally would put it in the category of bug in this
instance - but it is what it is.



"Brillisoft" wrote:

I have a column which has Data Validation set to a column of allowed items
(Article Codes).

Validation works right when one types entries in - only valid Article Codes
are allowed in the validated column.

However, when one enters values not one by one, but by spreading an existing
cell downwards in the validated column (drag from the little + on the corner
of
the cell), values are incremented and any resulting value is welcome by Excel
in the validated cell.

E.g., values allowed in the validation list:

HP9945
HP9980
HP9994

Entering values one by one will not allow HP9946.
However, if you spread HP9945 downwards, the cells under it
will accept HP9946, HP9947, etc.

Was this the way the feature meant to be?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,081
Default Data validation accepts illegal entries when one spreads value

Nope - you are right. I tested incorrectly - with a numeric validation list.

"JLatham" wrote:

How odd, I've tried it twice in XL2007 on 2 machines. And it works as he
describes on both. Am I missing a setting somewhere? All patches/SPs
applied.

On a sheet I
set up H1:H6 with list of HP0001 through HP0006,
then selected D1:D8 on same sheet and set data validation to list with
=$H$1:$H$6 as the list source, then
Chose HP0001 in D1,
then grabbed the lower right corner and filled down to row 14 in D and
Lo and behold I now have entries from HP0001 through HP0014 in D1:D14 with
data validation set up in all cells showing that the source list is $H$1:$H$6
!!

If I then go to D14 and type in the same thing that's already in it
(HP0014), THEN I get the expected invalid entry message.



"Duke Carey" wrote:

FWIW, XL2007 appears to handle this correctly by not incrementing above the
highest value in the validation range

"JLatham" wrote:

By using the little + you're not copying data, you're filling data, and Excel
is seeing those numbers at the end of the entries as part of a series and
it's automatically incrementing the series. What you're seeing actually is
by design - one of those cases where Excel acts "too smart" and becomes an
inconvenience. I personally would put it in the category of bug in this
instance - but it is what it is.



"Brillisoft" wrote:

I have a column which has Data Validation set to a column of allowed items
(Article Codes).

Validation works right when one types entries in - only valid Article Codes
are allowed in the validated column.

However, when one enters values not one by one, but by spreading an existing
cell downwards in the validated column (drag from the little + on the corner
of
the cell), values are incremented and any resulting value is welcome by Excel
in the validated cell.

E.g., values allowed in the validation list:

HP9945
HP9980
HP9994

Entering values one by one will not allow HP9946.
However, if you spread HP9945 downwards, the cells under it
will accept HP9946, HP9947, etc.

Was this the way the feature meant to be?



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Data validation accepts illegal entries when one spreads value

Another one of those "I hate it when I'm right" situations. Actually should
work the other way in my estimation.

"Duke Carey" wrote:

Nope - you are right. I tested incorrectly - with a numeric validation list.

"JLatham" wrote:

How odd, I've tried it twice in XL2007 on 2 machines. And it works as he
describes on both. Am I missing a setting somewhere? All patches/SPs
applied.

On a sheet I
set up H1:H6 with list of HP0001 through HP0006,
then selected D1:D8 on same sheet and set data validation to list with
=$H$1:$H$6 as the list source, then
Chose HP0001 in D1,
then grabbed the lower right corner and filled down to row 14 in D and
Lo and behold I now have entries from HP0001 through HP0014 in D1:D14 with
data validation set up in all cells showing that the source list is $H$1:$H$6
!!

If I then go to D14 and type in the same thing that's already in it
(HP0014), THEN I get the expected invalid entry message.



"Duke Carey" wrote:

FWIW, XL2007 appears to handle this correctly by not incrementing above the
highest value in the validation range

"JLatham" wrote:

By using the little + you're not copying data, you're filling data, and Excel
is seeing those numbers at the end of the entries as part of a series and
it's automatically incrementing the series. What you're seeing actually is
by design - one of those cases where Excel acts "too smart" and becomes an
inconvenience. I personally would put it in the category of bug in this
instance - but it is what it is.



"Brillisoft" wrote:

I have a column which has Data Validation set to a column of allowed items
(Article Codes).

Validation works right when one types entries in - only valid Article Codes
are allowed in the validated column.

However, when one enters values not one by one, but by spreading an existing
cell downwards in the validated column (drag from the little + on the corner
of
the cell), values are incremented and any resulting value is welcome by Excel
in the validated cell.

E.g., values allowed in the validation list:

HP9945
HP9980
HP9994

Entering values one by one will not allow HP9946.
However, if you spread HP9945 downwards, the cells under it
will accept HP9946, HP9947, etc.

Was this the way the feature meant to be?

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
Dependent Data Validation with Illegal Characters hjneedshelp Excel Discussion (Misc queries) 10 October 14th 16 10:07 PM
LIMITING DATA VALIDATION ENTRIES William Excel Discussion (Misc queries) 1 August 7th 08 08:20 PM
How to auto-return to next cell that accepts data. [email protected] Excel Worksheet Functions 4 April 21st 07 03:44 AM
Data Validation for Weekday entries only Casey Excel Worksheet Functions 2 August 11th 05 06:01 PM
Using Data Validation - how do I allow other entries DianeMcP New Users to Excel 4 July 19th 05 05:51 PM


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