CF help.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,266
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
 

Some videos you may like

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows
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
 

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,266
Office Version
  1. 2007
Platform
  1. Windows
Thank you Fluff, it works perfect, to bad I can't get 2 colors, I appreciate your help.
Serge.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows
Pretty sure I've seen it done with two colours, but can't remember how.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

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
 

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,266
Office Version
  1. 2007
Platform
  1. Windows
You are a Genius Thank you so much.
Serge.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,358
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,222
Messages
5,623,470
Members
415,973
Latest member
johnemaile

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
Top