Format cell based on conditional fill color

Robert_G

New Member
Joined
Jul 13, 2018
Messages
48
I have one columns that conditionally fills the cell color based on a criteria. I would like the adjacent column to look at the first column and if the color is green, to display a word ex: "go". If there's no fill color, to remain blank.

I've tried defining by name & attempts with VBA, but to no luck.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi Robert_G,

Why look at the Conditional Format to populate the "Go" vs. the value of the cell, that triggers the Conditional Format?

So lets say that in the cell that has the Conditional Format to turn in green when that cell has a value of "Ready, Set..." then =IF(A1="Ready, Set...","Go","") should do the trick?

Will that work?
 
Upvote 0
35bawk7.jpg
9
 
Upvote 0
I have 2 columns of information. Column A looks at Column D. If the values don't match, it conditionally formats a fill in green. Column D looks at column A. If it doesn't match the same values, it highlights in green as new information.

What I want is to the right of the highlighted cell, is to display another highlighted cell either <<<Tested or <<<Print as shown in B2 & E2. If the cell is not highlighted, to just remain blank to the right of the highlighted cell.
 
Upvote 0
As WassimN has stated it is a simple formula then you can apply conditional formatting as you have done with the values, why do you need VBA?

Formula as below

Excel Workbook
ABCDE
22 2 
333
444
555
666
777
868
999
101010
11811
121212
131313
Pilots
 
Last edited:
Upvote 0
This would fine for me but the two rows of information may be in a different order. In conditional formatting, I'm highlighting any cells that are unique between the two columns.
 
Upvote 0
Then as WassimN stated use the same condition that you are using to conditionally format the data. You already have the conditional format rules so just put it in an IF/OR statement.
 
Last edited:
Upvote 0
Alternatively, you can use, vlookup with if function to find if the data exists in another table.

Like : =IF(VLOOKUP(F18,B18:B26,1,0), "<<< Tested",0)

You can then add Conditional formatting.
 
Upvote 0
I currently have this formula and it's doing what I want except if the cell is blank, I would like it to be blank and not say <<< Print This Record. I just want to reserve that for a field with a value in it. I've tried a couple ideas with no luck.
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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