Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Data validation - comma

Is there a way to have data validation NOT allow commas in a cell?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Data validation - comma

Select the cell you want to validate
Select Data - Validation - Custom
Add this formula

=IF(ISERROR(FIND(",",A5)), TRUE, FALSE)

This is for Cell A5 but you can use it for whatever cell you just selected...

HTH

"Steph" wrote:

Is there a way to have data validation NOT allow commas in a cell?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Data validation - comma

Steph,

Do you mean DataValidation, or just checking input?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Steph" wrote in message
...
Is there a way to have data validation NOT allow commas in a cell?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 312
Default Data validation - comma

Thank you!!

"Jim Thomlinson" wrote in message
...
Select the cell you want to validate
Select Data - Validation - Custom
Add this formula

=IF(ISERROR(FIND(",",A5)), TRUE, FALSE)

This is for Cell A5 but you can use it for whatever cell you just

selected...

HTH

"Steph" wrote:

Is there a way to have data validation NOT allow commas in a cell?





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
custom data validation on cells with data validation values AKrobbins Excel Worksheet Functions 2 June 21st 11 04:20 PM
How do I add an item with comma in the list of data validation bhavna Excel Discussion (Misc queries) 9 October 2nd 08 04:13 PM
Data Validation - Allow numbers, comma, - and space [email protected] Excel Discussion (Misc queries) 8 April 28th 08 04:30 PM
Comma Delimited-need comma at beginnng & end Tattoo Excel Discussion (Misc queries) 2 December 11th 07 04:39 PM
Show comma in data validation list? [email protected] Excel Discussion (Misc queries) 7 May 17th 05 02:07 AM


All times are GMT +1. The time now is 06:32 AM.

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"