Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 21
Default Do not allow duplicates

Hi y'all,
I'm keeping a log which will ultimately grow quite lengthy. I've searched through 6 pages of this forum using the keywords allow duplicate, but they're all how to find, remove, etc., which isn't what I'm trying to accomplish,

I don't want the user to be able to enter a serial # (column E) if the serial number has already been entered on another row.

Cpearson's website gives an example, but I must be doing something wrong.
I have substituted =COUNTIF($E$4:$E$200,A4)=1 instead of his example =COUNTIF($A$1:$A$50,A1)=1 but that is telling me duplicate even when it's not. The column with the data that I don't want duplicates allowed is E.

On the Cpearson example above, what does the final A1 do? Does that need to be changed to E something?

Y'all are truly sanity savers and your help has been VERY appreciated each and every time you've helped me. I look forward to your reply.

Thanks -
Ky
  #2   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by txheart View Post
Hi y'all,
I'm keeping a log which will ultimately grow quite lengthy. I've searched through 6 pages of this forum using the keywords allow duplicate, but they're all how to find, remove, etc., which isn't what I'm trying to accomplish,

I don't want the user to be able to enter a serial # (column E) if the serial number has already been entered on another row.

Cpearson's website gives an example, but I must be doing something wrong.
I have substituted =COUNTIF($E$4:$E$200,A4)=1 instead of his example =COUNTIF($A$1:$A$50,A1)=1 but that is telling me duplicate even when it's not. The column with the data that I don't want duplicates allowed is E.

On the Cpearson example above, what does the final A1 do? Does that need to be changed to E something?

Y'all are truly sanity savers and your help has been VERY appreciated each and every time you've helped me. I look forward to your reply.

Thanks -
Ky
The COUNTIF function is:

=COUNTIF(Range, Criteria)

Range is where you have a list to be checked and Criteria is what needs to be looked for in your list.
__________________
Asobi Wa Owari Da
  #3   Report Post  
Junior Member
 
Posts: 21
Default

Quote:
Originally Posted by wickedchew View Post
The COUNTIF function is:

=COUNTIF(Range, Criteria)

Range is where you have a list to be checked and Criteria is what needs to be looked for in your list.
According to your reply, if the don't duplicate data is in range E4:E200 my formula should be =COUNTIF($E$4:$E$200,E4)=1
correct?

Thank you for helping Wicked!

~Ky



Thank you for your help Wicked
  #4   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by txheart View Post
According to your reply, if the don't duplicate data is in range E4:E200 my formula should be =COUNTIF($E$4:$E$200,E4)=1
correct?

Thank you for helping Wicked!

~Ky



Thank you for your help Wicked
If the COUNTIF function outputs a value more than 1, hence there are duplicates within the list.
__________________
Asobi Wa Owari Da
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
Condensing a list with duplicates to a list with non-duplicates Nuclear Excel Worksheet Functions 2 July 29th 08 08:03 PM
Duplicates in excel that aren't 100% DUPLICATES ... [email protected] Excel Discussion (Misc queries) 4 May 2nd 08 06:43 PM
Duplicates - not all the same blander Excel Discussion (Misc queries) 1 July 28th 06 01:44 PM
Duplicates Alex Excel Discussion (Misc queries) 0 May 20th 05 07:22 PM
Duplicates bj Excel Discussion (Misc queries) 0 May 20th 05 07:21 PM


All times are GMT +1. The time now is 09:47 AM.

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"