Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Data validation, alpha or numeric characters


I need to enter either the letters "nd" in a cell, or a numeric range of
less that 5.0. Can this be done with validation? If not "nd" or <5,
then I would like spreadsheet to pop up the "stop" box.

Please help!!!

Thanks!!!


--
tsammons
------------------------------------------------------------------------
tsammons's Profile: http://www.excelforum.com/member.php...o&userid=30335
View this thread: http://www.excelforum.com/showthread...hreadid=499996

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Data validation, alpha or numeric characters


If you only want "nd" or the integers between 1 and 4, inclusive:
DataValidation
Allow: List
Source: nd,1,2,3,4

Alternatively, If you only want "nd" or any numeric value less that 5,
try this:
DataValidation
Allow: Custom
Formula: =or(A1="nd",A1<5)

Does that help?

Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=499996

  #3   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Data validation, alpha or numeric characters

One way ..

Assume inputs would be made in col A, A1 down

Select col A
Click Data Validation
Select Custom under "Allow"
Put as the "Formula:"
=OR(A1<5,A1="nd")
Click OK

Test it out ..
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"tsammons" wrote in
message ...

I need to enter either the letters "nd" in a cell, or a numeric range of
less that 5.0. Can this be done with validation? If not "nd" or <5,
then I would like spreadsheet to pop up the "stop" box.

Please help!!!

Thanks!!!


--
tsammons
------------------------------------------------------------------------
tsammons's Profile:

http://www.excelforum.com/member.php...o&userid=30335
View this thread: http://www.excelforum.com/showthread...hreadid=499996



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Data validation, alpha or numeric characters


Thank you soooo much . . . this worked.


--
tsammons
------------------------------------------------------------------------
tsammons's Profile: http://www.excelforum.com/member.php...o&userid=30335
View this thread: http://www.excelforum.com/showthread...hreadid=499996

  #5   Report Post  
Posted to microsoft.public.excel.programming
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Data validation, alpha or numeric characters

You're welcome (from us) !
Believe Ron arrived fractionally ahead (1 min? <g),
and provided a more comprehensive response with 2 options
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"tsammons" wrote in
message ...

Thank you soooo much . . . this worked.



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
alpha numeric data validation for excel [email protected] Excel Worksheet Functions 24 March 17th 16 09:16 PM
A validation rule on Alpha and Numeric characters Sar* Excel Worksheet Functions 11 June 11th 07 11:47 PM
Formulas that include alpha and numeric characters Doktor1 at Mile High Excel Worksheet Functions 2 December 23rd 06 07:36 PM
Can you ID a cell that has both Alpha AND Numeric characters? Phil Excel Worksheet Functions 5 April 18th 06 09:32 PM
code that can distinguish between alpha and numeric characters Boffita Excel Programming 1 September 17th 04 01:23 AM


All times are GMT +1. The time now is 08:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"