Conditional formatting based on data in other columns?

Greymud

New Member
Joined
Feb 19, 2016
Messages
33
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
I have a worksheet with data in columns E - J that I want to use to highlight duplicate values in column B.

What I have so far is in column S a formula of =E2&F2&G2&H2&I2&J2 and column S has conditional formatting to highlight duplicates. It's not elegant, but functional. Column B is a list of dates. I'd like to have that column highlight based on the same data, but without having that extra column. I'm not sure it's possible.

Thanks for any guidance!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,969
Office Version
  1. 365
Platform
  1. Windows
You could use this formula with CF
Excel Formula:
=COUNTIFS($E$2:$E$16,E2,$F$2:$F$16,F2,$G$2:$G$16,G2,$H$2:$H$16,H2,$I$2:$I$16,I2,$J$2:$J$16,J2)>1
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,969
Office Version
  1. 365
Platform
  1. Windows
As CF is volatile I would keep the formula in col S and then use
Excel Formula:
=countifs(S$2:S$16,S2)>1
and with 365 you could replace the formula in col S with
Excel Formula:
=CONCAT(E2:J2)
 
Solution

Greymud

New Member
Joined
Feb 19, 2016
Messages
33
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
As CF is volatile I would keep the formula in col S and then use
Excel Formula:
=countifs(S$2:S$16,S2)>1
and with 365 you could replace the formula in col S with
Excel Formula:
=CONCAT(E2:J2)

What do you mean by volatile?

Also, thanks for the quick reply.
 

Fluff

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

ADVERTISEMENT

Volatile means that it recalculates whenever Excel recalculates, so can seriously slow down the workbook, especially if you have a large amount of data.
 

Greymud

New Member
Joined
Feb 19, 2016
Messages
33
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Thanks for all the assistance.

Sorry it took forever to get back here and reply.
 

Fluff

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

Watch MrExcel Video

Forum statistics

Threads
1,130,323
Messages
5,641,531
Members
417,215
Latest member
Diaryman

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