Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 56
Default Possible to validate entries not to contain 00

Hi,

I need to be able to validate entries within a data range (H2:H1000).
Within these cells I need to be able to put a limit that they must
only have:
1) Four characters (Numeric if poss' to force by type as well)
2) End two characters must not contain 00.
3) Or they can be Null

Is this poss' through data validation, or would this need to be done
via VBA (trying to avoid VBA option if poss').

Cheers, Al.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Possible to validate entries not to contain 00

Use DV with a formula of

=OR(H2="",AND(LEN(H2)=4,ISNUMBER(H2),RIGHT(H2,2)< "00"))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message
...
Hi,

I need to be able to validate entries within a data range (H2:H1000).
Within these cells I need to be able to put a limit that they must
only have:
1) Four characters (Numeric if poss' to force by type as well)
2) End two characters must not contain 00.
3) Or they can be Null

Is this poss' through data validation, or would this need to be done
via VBA (trying to avoid VBA option if poss').

Cheers, Al.



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
Combine Multiple Entries with differing amounts of entries Katie Excel Worksheet Functions 2 November 28th 07 09:53 PM
validate kyoshirou Excel Discussion (Misc queries) 18 June 6th 07 01:08 AM
How to validate edwardpestian Excel Worksheet Functions 4 June 9th 06 01:13 AM
How to validate entries with Data Forms in xls 2003? Marc S. Setting up and Configuration of Excel 1 May 25th 06 03:19 PM
How to validate data entries to be unique within an array Dwight at Boeing Excel Worksheet Functions 1 February 15th 05 06:30 PM


All times are GMT +1. The time now is 02:36 AM.

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"