Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default two data validations for same cell

Try:

Data Validation==Custom==

=AND(ISNUMBER(A1),COUNTIF($A$1:$A$10,A1)=1,LEN(A1) =10)

Cells are formatted as number

HTH

"dandiehl" wrote:

I would like to perform two unique validation on the same cell. For
instance, I would like to ensure the cells A1:A10 only contain 10 digits
(phone number) and also that there are no duplicates in the range.

Can this be done?

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
Can I do two validations on a cell? [email protected] Excel Worksheet Functions 3 September 1st 06 01:16 PM
data validations Catfish25 Excel Discussion (Misc queries) 2 August 30th 06 06:43 PM
3 data validations Mohan Excel Worksheet Functions 2 June 7th 06 07:47 PM
Combine 2 Data Validations Q John Excel Worksheet Functions 5 December 19th 05 05:28 PM
Multiple Validations in for 1 cell dmcnutt_ghg Excel Worksheet Functions 1 November 23rd 05 08:09 PM


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