#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Data Validation

I several cells with that needs to contain 9 digits or less, with all of the
characters being numeric. Is there a way I can limit the
characters entered to be all numberic (no alpha, no other characters)?
Thanks for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Data Validation

You can use Data Validation (Data Menu) and put in Numeric. You can futher
limit the number to and range by choosing custom and entering a formula

and(F18=0,F18<=999999999)


"JStiehl" wrote:

I several cells with that needs to contain 9 digits or less, with all of the
characters being numeric. Is there a way I can limit the
characters entered to be all numberic (no alpha, no other characters)?
Thanks for your help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Data Validation

Thank you for your help. The problem I run into is I can either choose the
maximum length to be 9 digits in the cell, or I can choose numeric only from
the Data Validation menu. Is there a way I can have both conditions apply?

"Joel" wrote:

You can use Data Validation (Data Menu) and put in Numeric. You can futher
limit the number to and range by choosing custom and entering a formula

and(F18=0,F18<=999999999)


"JStiehl" wrote:

I several cells with that needs to contain 9 digits or less, with all of the
characters being numeric. Is there a way I can limit the
characters entered to be all numberic (no alpha, no other characters)?
Thanks for your help.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Data Validation

I tested the validation by putting non-numeric values and it worked fine.
You don't need to add Numeric. There may be problems with dates because they
are stored as numbers in excel.

Youcould add ISNumber to the formula but it will not do anything additional
to the formula without IsNumber.

and(F18=0,F18<=999999999,IsNumber(F18))


"JStiehl" wrote:

Thank you for your help. The problem I run into is I can either choose the
maximum length to be 9 digits in the cell, or I can choose numeric only from
the Data Validation menu. Is there a way I can have both conditions apply?

"Joel" wrote:

You can use Data Validation (Data Menu) and put in Numeric. You can futher
limit the number to and range by choosing custom and entering a formula

and(F18=0,F18<=999999999)


"JStiehl" wrote:

I several cells with that needs to contain 9 digits or less, with all of the
characters being numeric. Is there a way I can limit the
characters entered to be all numberic (no alpha, no other characters)?
Thanks for your help.

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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
Data Validation Update Validation Selection PCreighton Excel Worksheet Functions 3 September 11th 07 03:32 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM


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