Highlight duplicates - combo of 2 columns

reesie

New Member
Joined
Feb 20, 2011
Messages
25
Hi

I have 2 columns one contains a po number and the other contains a product number. I need to highlight where there are 2 occurrences of the po and product number so that I can show if the product has been ordered twice on the one purchase order number.

Please could you help.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
I just did a similar thing
Assuming you are starting with c3 and end at c80 in the first column and d80 in the second column
First cell in your first column using conditional format
=COUNTIF(C$3:D$80,C3)>1
Next cell down
=COUNTIF(C$3:D$80,C4)>1
Not that the last part of the formula will change as you go down the cells

Column D cell D3
=COUNTIF(D$3:D$80,D3)>1
cell D4 =COUNTIF(D$3:D$80,D4)>1
and so on
 
Upvote 0
HI thank you - just tried that and then selected conditional formatting to show highlight if duplicate and it highlighted all in range so Im really confused - thanks again new to conditional formatting
 
Upvote 0
HI

I selected the 2 columns and then used conditional formatting and if duplicates show in red. But it changed all to red.

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,153
Members
452,891
Latest member
JUSTOUTOFMYREACH

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