ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multiple Validations in for 1 cell (https://www.excelbanter.com/excel-worksheet-functions/57044-multiple-validations-1-cell.html)

dmcnutt_ghg

Multiple Validations in for 1 cell
 

I am using the validation tool to verfy data entry. I want to make sure
that I am not letting the user enter duplicate data and have entered a
custom validation rule of

=COUNTIF($A$3:$A$1000,A15)=1

I would aslo like to limit the data entry to no more than 10
characters.

How do I make this happen?

I am not a programmer and do not know any vb code.

Debbie


--
dmcnutt_ghg
------------------------------------------------------------------------
dmcnutt_ghg's Profile: http://www.excelforum.com/member.php...o&userid=29044
View this thread: http://www.excelforum.com/showthread...hreadid=487748


Bob Phillips

Multiple Validations in for 1 cell
 
Use a DV formula of

=AND(COUNTIF($A$3:$A$1000,A15)=1,LEN(A15)<=10)

no need for VBA

--

HTH

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


"dmcnutt_ghg"
wrote in message
...

I am using the validation tool to verfy data entry. I want to make sure
that I am not letting the user enter duplicate data and have entered a
custom validation rule of

=COUNTIF($A$3:$A$1000,A15)=1

I would aslo like to limit the data entry to no more than 10
characters.

How do I make this happen?

I am not a programmer and do not know any vb code.

Debbie


--
dmcnutt_ghg
------------------------------------------------------------------------
dmcnutt_ghg's Profile:

http://www.excelforum.com/member.php...o&userid=29044
View this thread: http://www.excelforum.com/showthread...hreadid=487748





All times are GMT +1. The time now is 11:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com