#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default DUPLICATE VALUES

On my work place I maintain record which have Sr. Codes, every time I enter
new record I enter New Sr. Code. please tell me some way that duplicate Codes
not enter. if i try to enter code which I have already enter the error
message come which prompt me for duplicate entry.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200707/1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default DUPLICATE VALUES

Try Data=Validation

Select column (in this example it is A)

Allow: Custom

Formula is: =COUNTIF(A:A,A1)=1

Add your message in the "Error Alert" tab

HTH



"adeel via OfficeKB.com" wrote:

On my work place I maintain record which have Sr. Codes, every time I enter
new record I enter New Sr. Code. please tell me some way that duplicate Codes
not enter. if i try to enter code which I have already enter the error
message come which prompt me for duplicate entry.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200707/1


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default DUPLICATE VALUES

Hi,

Select your column (in this case column A) and then

Data|validation
From the dropdown select Custom and then paste this formula in

=MATCH(A1,$A:$A,0)=ROW(A1)

Mike

"adeel via OfficeKB.com" wrote:

On my work place I maintain record which have Sr. Codes, every time I enter
new record I enter New Sr. Code. please tell me some way that duplicate Codes
not enter. if i try to enter code which I have already enter the error
message come which prompt me for duplicate entry.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200707/1


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate Values Lost in Microbiology Excel Discussion (Misc queries) 2 May 10th 07 09:09 PM
Duplicate values [email protected] Excel Discussion (Misc queries) 3 April 6th 07 01:03 AM
DUPLICATE VALUES Saintsman Excel Worksheet Functions 2 October 12th 05 05:21 PM
Duplicate values TUNGANA KURMA RAJU Excel Discussion (Misc queries) 4 October 1st 05 01:07 PM
Sum of Duplicate Values Wynn Excel Worksheet Functions 1 November 13th 04 02:36 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"