View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.newusers
davesexcel davesexcel is offline
external usenet poster
 
Posts: 1
Default Any Way of Creating a 'Unique Key'?


Highlight the range say A:A if it is in column A
goto data, validation,custom
enter this formula in the box
=COUNTIF(A:A,A1)<2
then go to the error alert tab and enter the message you want, when a
duplicate number is entered


here's a little clip on data Validation

http://www.datapigtechnologies.com/f...alidation.html


--
davesexcel


------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=573409