Highlighting duplicates using conditional formatting

Minx_Minxy

New Member
Joined
Jul 13, 2015
Messages
37
Office Version
  1. 365
Platform
  1. Windows
Hi,
68923
10
68923
20
68923
30
68924
10
68924
20
68925
10
68926
10
68927
10
68928
10
68923

<tbody>
[TD="class: votecell"][/TD]
[TD="class: postcell"] I need to highlight duplicates in column A, but only if column B is equal to 10.

[TABLE="class: grid, width: 200, align: center"]
<tbody>[TR]

</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.

[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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