Re: CountIF by T
T
Sat Mar 15 20:00:40 CDT 2008
Assume the range of interest is A1:A10. Use this as the validation formula:
=AND(INT(A1)=A1,AND(A1>=100000,A1<=999999),COUNTIF($A$1:$A$10,A1)<2)
--
Biff
Microsoft Excel MVP
"JohnButt" <JohnButt@discussions.microsoft.com> wrote in message
news:FE273600-EA2D-43CC-8DC8-1B5538F12BD2@microsoft.com...
> It could vary - 123567 - 234567 - 556777 - 776688 etc
>
> "T. Valko" wrote:
>
>> >Is there a way of combining the COUNTIF formula to ensure
>> >that at least 6 numeric characters are imputed?
>>
>> What is the format of these 6 numbers? Will there be any leading 0s? Is
>> this
>> a legitimate number: 000000 ?
>>
>> --
>> Biff
>> Microsoft Excel MVP
>>
>>
>> "JohnButt" <JohnButt@discussions.microsoft.com> wrote in message
>> news:9AD08FEF-A5F8-4914-9F9D-129F8A2A9041@microsoft.com...
>> >I have a column named PTS Number
>> > I have used the custom validation to ensure that duplicate values are
>> > not
>> > repeated.
>> > Is there a way of combining the COUNTIF formula to ensure that at least
>> > 6
>> > numeric characters are imputed?
>>
>>
>>