How do I add to a formula to include duplicated entries

ghrek

Active Member
Joined
Jul 29, 2005
Messages
427
Hi

I have the following formula but im trying to add to it so it marks duplicated entries up as "DUPLICATE" in column F. When I mean duplicate I need it just to mark the 2nd entry onwards as a duplicate and not the first one as thats correct.

Formula so far.
VBA Code:
=IFNA(IF(E2=VLOOKUP(A2,WATFORD!A:E,5,FALSE),"OK",""),"N/A")

Any Ideas?
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
where are the duplicates.

I would use a countif($A$1:A1,A1)>1

=IF( countif($A$1:A1,A1)>1, "dublicated","")

if in column a
 
Upvote 0
Solution
The duplicates as in column F but will jut use same formula and change A to F.

Many thanks
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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
Back
Top