PC Review


Reply
Thread Tools Rate Thread

Data Validation Headaches!

 
 
Cam1234
Guest
Posts: n/a
 
      2nd Apr 2008
Hi All,

I have a list of 34 items, all of which are numbers that are 8 digits long.
For example 86978700. This 34 item list is the list of parts that I want to
make as 'acceptable' entries in this workbook.

What I've done is gone to Insert>Name>Define, and named the selection (which
happens to be G4:G38) as CH. Then I highlight cells A4:A65536 and go to
Data>Validation, select Allow:List and Source: =CH . When I click on any of
the 'A' cells a drop down list appears, and I can choose any of the 34 items.
When I try to key in any of the numbers except the first one, I get an error
message that says, "The value you entered is not valid. A user has
restricted values that can be entered into this cell".

People have already suggested that I manually type in the list under the
'Source:', but there seems to be a limit to the length of the list, and I
can't get all my 36 parts in. Someone also suggested that I uncheck the box
under the error alert tab that says 'show error allert after invalid data is
entered'. This will not work either, as then the users will not be
restricted from enterering bad data.

Thanks!... and please help!
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      2nd Apr 2008
There's a difference in the values in the data|validation list and the way
you're typing in the data.

If your list is really numbers, then make sure that the cell with data
validation is formatted as General.

If your list is really text (but look like digits), then make sure the cell with
the data validation is formatted as text.

But remember that just changing the format of a cell isn't enough to change the
value within the cell.

You can check the count of real numbers in G4:G38 with a formula like:
=count(g4:g38)
If this doesn't return 35, then you have at least one cell that isn't numeric.

You can check individual cells with:
=isnumber(g4)



Cam1234 wrote:
>
> Hi All,
>
> I have a list of 34 items, all of which are numbers that are 8 digits long.
> For example 86978700. This 34 item list is the list of parts that I want to
> make as 'acceptable' entries in this workbook.
>
> What I've done is gone to Insert>Name>Define, and named the selection (which
> happens to be G4:G38) as CH. Then I highlight cells A4:A65536 and go to
> Data>Validation, select Allow:List and Source: =CH . When I click on any of
> the 'A' cells a drop down list appears, and I can choose any of the 34 items.
> When I try to key in any of the numbers except the first one, I get an error
> message that says, "The value you entered is not valid. A user has
> restricted values that can be entered into this cell".
>
> People have already suggested that I manually type in the list under the
> 'Source:', but there seems to be a limit to the length of the list, and I
> can't get all my 36 parts in. Someone also suggested that I uncheck the box
> under the error alert tab that says 'show error allert after invalid data is
> entered'. This will not work either, as then the users will not be
> restricted from enterering bad data.
>
> Thanks!... and please help!


--

Dave Peterson
 
Reply With Quote
 
Cam1234
Guest
Posts: n/a
 
      2nd Apr 2008
That worked great. Thanks Dave.

"Dave Peterson" wrote:

> There's a difference in the values in the data|validation list and the way
> you're typing in the data.
>
> If your list is really numbers, then make sure that the cell with data
> validation is formatted as General.
>
> If your list is really text (but look like digits), then make sure the cell with
> the data validation is formatted as text.
>
> But remember that just changing the format of a cell isn't enough to change the
> value within the cell.
>
> You can check the count of real numbers in G4:G38 with a formula like:
> =count(g4:g38)
> If this doesn't return 35, then you have at least one cell that isn't numeric.
>
> You can check individual cells with:
> =isnumber(g4)
>
>
>
> Cam1234 wrote:
> >
> > Hi All,
> >
> > I have a list of 34 items, all of which are numbers that are 8 digits long.
> > For example 86978700. This 34 item list is the list of parts that I want to
> > make as 'acceptable' entries in this workbook.
> >
> > What I've done is gone to Insert>Name>Define, and named the selection (which
> > happens to be G4:G38) as CH. Then I highlight cells A4:A65536 and go to
> > Data>Validation, select Allow:List and Source: =CH . When I click on any of
> > the 'A' cells a drop down list appears, and I can choose any of the 34 items.
> > When I try to key in any of the numbers except the first one, I get an error
> > message that says, "The value you entered is not valid. A user has
> > restricted values that can be entered into this cell".
> >
> > People have already suggested that I manually type in the list under the
> > 'Source:', but there seems to be a limit to the length of the list, and I
> > can't get all my 36 parts in. Someone also suggested that I uncheck the box
> > under the error alert tab that says 'show error allert after invalid data is
> > entered'. This will not work either, as then the users will not be
> > restricted from enterering bad data.
> >
> > Thanks!... and please help!

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
custom data validation on cells with data validation values AKrobbins Microsoft Excel Worksheet Functions 2 21st Jun 2011 04:20 PM
Data Validation -> Validation list is larger than the cell width Barb Reinhardt Microsoft Excel Programming 1 4th Mar 2010 08:24 PM
Crazy Data Validation ... List Validation Not Working TW Bake Microsoft Excel Programming 1 29th Mar 2007 02:41 AM
data validation invalid in dynamic validation list ilia Microsoft Excel Programming 0 7th Nov 2006 12:54 PM
When pasting data into a column with data validation I lose validation check Brad Microsoft Excel Misc 5 17th Apr 2004 01:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:35 AM.