Highlighting duplicates using conditional formatting

Minx_Minxy

New Member
Joined
Jul 13, 2015
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Hi,
I need to highlight duplicates in column A, but only if column B is equal to 10.

68923
10
68923
20
68923
30
68924
10
68924
20
68925
10
68926
10
68927
10
68928
10
68923

<tbody>
</tbody>



In the example above, what I want it to do is, as soon as I input the value on column A the cell automatically changes colour highlighting only cells A1 and A10.
I have tried using sumproduct and countifs on conditional formatting, but it does not highlight the values.
Thank you in advance.


<tbody>
</tbody>
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Excel Workbook
AB
16892310
26892320
36892330
46892410
56892420
66892510
76892610
86892710
96892810
1068923
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A11. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A21. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A31. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A41. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A51. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A61. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A71. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A81. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A91. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
A101. / Formula is =AND(COUNTIFS(A:A,A1,B:B,"")>0,COUNTIFS(A:A,A1,B:B,10)>0,B1<=10)Abc
 
Upvote 0

Forum statistics

Threads
1,215,569
Messages
6,125,600
Members
449,238
Latest member
wcbyers

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