How can I highlight duplicates from 2 rows using set criteria

S

Sam.D

Basically I have a list of people from A2:A1475 who report into people in
N2:N1475.

I need to highlight everyone in column A who is duplicated in column N but
do not report into themselves, so when row A and N don't match.

I'm guessing I have to use conditional formatting but I really need help
with it.

Many thanks in advance

Sam.D
 
M

Max

Maybe this suffices
Select A2:A1475 (A2 active), then apply CF using Formula Is:
=COUNTIF($N:$N,A2)
Format to taste, ok out
 
S

Sam.D

Thanks,

Unfortunately this highlights all duplicates. I only need the duplicates
highlighted when they do not report directly into themselves as in when what
is in row A does not match row N.

Sorry for my vague explanation.

Sam.D
 
M

Max

Try this as the CF formula for the dual condition:
=AND(COUNTIF($N:$N,A2),A2<>N2)
Success? celebrate it, hit the YES below
 
S

Sam.D

No Success I'm afraid.

Still has the same results.

Can I use formatting on both conditions?

Sam.D
 
M

Max

Lost you there, I'm afraid. It should have worked. Maybe you could post some
sample/representative data from the 2 cols. Indicate exactly which data are
to be highlighted by the CF.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top