Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jen
 
Posts: n/a
Default Validation - no dups and text length requirement

Hi - Please help if you know how to address the following required validation
in single rule. I would like to prevent duplicates and limit the text entry
to 100 characters. Is there a way to do this?

Assuming that my range is in C71:C100 I have the following but the length
part is not working right?
=AND(COUNTIF($C$71:$C$100,C71)=1,LEN(C71<151))

Any help would be appreciated! Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Validation - no dups and text length requirement

Hi!

Try this:

=AND(COUNTIF($C$71:$C$100,C71)<2,LEN(C71)<101)

Biff

"jen" wrote in message
...
Hi - Please help if you know how to address the following required
validation
in single rule. I would like to prevent duplicates and limit the text
entry
to 100 characters. Is there a way to do this?

Assuming that my range is in C71:C100 I have the following but the length
part is not working right?
=AND(COUNTIF($C$71:$C$100,C71)=1,LEN(C71<151))

Any help would be appreciated! Thanks




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



All times are GMT +1. The time now is 12:32 PM.

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"