ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   Highlight Duplicate on entry (https://www.excelbanter.com/setting-up-configuration-excel/98630-highlight-duplicate-entry.html)

jk

Highlight Duplicate on entry
 
Hi,

I need something that would highlight the cell entry if there is a duplicate
entry located on the sheet.For instance, i enter account N15650 in the
account column and if this entry has previosly been made in the same column
then i want this new entry to be highlighted as a flag for me.Does this
require a macro or vb for this action?
Thanks

Paul B

Highlight Duplicate on entry
 
jk, have a look here for a way to do it,

http://www.cpearson.com/excel/duplic...tingDuplicates
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"jk" wrote in message
...
Hi,

I need something that would highlight the cell entry if there is a
duplicate
entry located on the sheet.For instance, i enter account N15650 in the
account column and if this entry has previosly been made in the same
column
then i want this new entry to be highlighted as a flag for me.Does this
require a macro or vb for this action?
Thanks




Max

Highlight Duplicate on entry
 
"jk" wrote:
I need something that would highlight the cell entry if there is a duplicate
entry located on the sheet.For instance, i enter account N15650 in the
account column and if this entry has previosly been made in the same column
then i want this new entry to be highlighted as a flag for me.Does this
require a macro or vb for this action?


Perhaps try also Data Validation ..

Assuming it's for inputs into col A ..

Select col A
Click Data Validation
Allow: Custom
Formula: =COUNTIF(A:A,A1)<2
Click OK

Test it out ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


All times are GMT +1. The time now is 06:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com