PC Review


Reply
Thread Tools Rate Thread

Data Entry - Avoid Duplicates

 
 
kvc
Guest
Posts: n/a
 
      8th Mar 2007
Is there anyway to set an alert or validation.. to avoid duplicates?

For example:

columnA
abc123
abc122
abc133
abc124


If someone were to add a next entry and tried to type abc123 or any of
the other values listed.. an alert would come up and prevent them from
entering a value that's already listed??

Sort of like in Microsoft Access using a Primary key... if you tried
to enter a primary key that's already in the table.. access won't let
you...

Can this be done in Excel?

Thanks for all your help!

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      8th Mar 2007
Use Data Validation, with a custom type and a formula of

=COUNTIF($A$1:A1,A1)=1

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"kvc" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there anyway to set an alert or validation.. to avoid duplicates?
>
> For example:
>
> columnA
> abc123
> abc122
> abc133
> abc124
>
>
> If someone were to add a next entry and tried to type abc123 or any of
> the other values listed.. an alert would come up and prevent them from
> entering a value that's already listed??
>
> Sort of like in Microsoft Access using a Primary key... if you tried
> to enter a primary key that's already in the table.. access won't let
> you...
>
> Can this be done in Excel?
>
> Thanks for all your help!
>



 
Reply With Quote
 
Ron de Bruin
Guest
Posts: n/a
 
      8th Mar 2007
Hi kvc

See
http://www.cpearson.com/excel/NoDupEntry.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"kvc" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Is there anyway to set an alert or validation.. to avoid duplicates?
>
> For example:
>
> columnA
> abc123
> abc122
> abc133
> abc124
>
>
> If someone were to add a next entry and tried to type abc123 or any of
> the other values listed.. an alert would come up and prevent them from
> entering a value that's already listed??
>
> Sort of like in Microsoft Access using a Primary key... if you tried
> to enter a primary key that's already in the table.. access won't let
> you...
>
> Can this be done in Excel?
>
> Thanks for all your help!
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to avoid double entry of Data Frank Situmorang Microsoft Access Form Coding 8 13th Jan 2010 08:34 PM
after a manual data entry, how avoid automatic move to cell below Auto Cell Movement Microsoft Excel Misc 4 8th Jan 2009 03:32 PM
How to program data entry to avoid zeros or last 5 digit. =?Utf-8?B?c2V2ZWs=?= Microsoft Excel Misc 1 17th Jan 2006 09:35 PM
Avoid duplicates Bruce Microsoft Access Forms 4 7th Jul 2004 01:15 PM
Avoid Printing Duplicates Tom Microsoft Outlook 1 28th May 2004 03:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 AM.