Conditional formatting based on data in other columns?

Greymud

New Member
Joined
Feb 19, 2016
Messages
42
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

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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
 
Upvote 0
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)
 
Upvote 0
Solution
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.
 
Upvote 0
Volatile means that it recalculates whenever Excel recalculates, so can seriously slow down the workbook, especially if you have a large amount of data.
 
Upvote 0
Thanks for all the assistance.

Sorry it took forever to get back here and reply.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,718
Members
448,986
Latest member
andreguerra

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