Highlighting duplicate person name on the bais of creterias

Tom1983

New Member
Joined
May 20, 2019
Messages
12
https://www.dropbox.com/s/j14abilgo2yyphu/Test.xlsm?dl=0Hi,

I am working on one huge file.

where I have duplicate person name in col. B.

I am looking for a code which highlight these names if same person has same deptt and same PO issue date.

Like person we have three ZZZ person name but code will highlight B12 and B14. in attached file.

File link given

Many thanks
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hey,

Try in cell E2:
IF(COUNTIFS(B:B,B2,C:C,C2,D:D,D2)>1,"FLAG","")

And drag down column E.
 
Last edited:
Upvote 0
Another option.
Select A2:D17 then on the home tab > Conditional formatting > new rule > use a formula and use
=COUNTIFS($B$2:$B$17,$B2,$C$2:$C$17,$C2,$D$2:$D$17,$D2)>1
Then select your format & ok
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,225,738
Messages
6,186,728
Members
453,368
Latest member
positivemind

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