Identify Duplicate entry in a field

windsurfit

Board Regular
Joined
Mar 27, 2003
Messages
228
I would like to have an entry in a field note when there is a duplicate entry in another field. ie:

if a1 input is 12345 then b1 displays "date"
if a2 input is 12346 then b2 displays "date"
if a3 input is 12345 again then b3 displays "Duplicate Entry" and so on..

It would also be great if I could have that b3 field change font color when there is a duplicate?

Help always appreciated...
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

just_jon

Legend
Joined
Sep 3, 2002
Messages
10,473
One way, in B1, copied down:

=IF(MATCH(A1,A$1:A1,0)=ROW(),"date","Duplicate Entry")
 

Forum statistics

Threads
1,136,519
Messages
5,676,333
Members
419,619
Latest member
jalme

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top