CF help.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,404
Office Version
  1. 2007
Platform
  1. Windows
Hi everyone,

I'm looking for a CF formula that will highlight duplicate per row and if it is possible to have 2 color to differentiate 2 different duplicate if not one color.See table.
Thank you.

CF.PNG
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
For one colour how about.
+Fluff New.xlsm
ABCDEF
1
22527242724
32027272523
42328232221
52821302927
62730272324
72525203023
82929242029
92122243021
102721253030
112722252527
12
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:E11Expression=COUNTIFS($A2:$E2,A2)>1textNO
 
Upvote 0
Thank you Fluff, it works perfect, to bad I can't get 2 colors, I appreciate your help.
Serge.
 
Upvote 0
Pretty sure I've seen it done with two colours, but can't remember how.
 
Upvote 0
Got it.
+Fluff New.xlsm
ABCDE
1
22527242724
32027272523
42328232221
52821302927
62730272324
72525203023
82929242029
92122243021
102721253030
112722252527
Main
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:E11Expression=AND(MODE($A2:$E2)<>A2,COUNTIFS($A2:$E2,A2)>1)textNO
A2:E11Expression=COUNTIFS($A2:$E2,A2)>1textNO
 
Upvote 0
You are a Genius Thank you so much.
Serge.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,376
Members
449,080
Latest member
Armadillos

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