Cells color change based on another cell's color

craig2525

New Member
Joined
Oct 30, 2018
Messages
44
Office Version
  1. 2016
Platform
  1. Windows
Hi all,

I need to change the cells in a row based on the color of one cell. Column E has a conditional format of specific text of clock in to change green and clock out to change red. I need the cells of columns A, B, C and D to change to green or red based on column E.

Excel 1.jpg
Excel 2.jpg
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Just expand your current Conditional Foramtting Rule to apply to the other columns as well.
You may just need to lock down any current column references in the Conditonal Formatting formula.

If you need any help with that, please post your current Conditional Formatting Rule/formula.
 
Upvote 0
Excel 3.jpg


This is what I have now. Can you show me "expand" the current conditional formatting?
 
Upvote 0
OK, instead of using the "Format all cells based on their values" or the "Format only cells that contain" Rule Types, use the "Use a formula to determine which cells to format".
So select columns A:E, then use this formula for green:
Excel Formula:
=$E1="clock in"
and then this formula for your red rule:
Excel Formula:
=$E1="clock out"
 
Upvote 0
Solution
You are welcome!
Glad I was able to help.
 
Upvote 0

Forum statistics

Threads
1,215,330
Messages
6,124,308
Members
449,152
Latest member
PressEscape

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