Change text of one cell based on the color of another cell.

Eric Livesay

Board Regular
Joined
Feb 13, 2008
Messages
127
Hello!

Once again I turn to the mighty comprehensive knowledge of The Board.

I have a spreadsheet on excel 2007 that tracks info on several hundred people. The info is from each persons personell folder.
I have columns D thru M that tracks personal info and then in column O i have a "Folder Complete" column that i use to indicate if that persons folder is good to go.

My problem is that when i change anything in columns D thru M to a negative response i have to manually change column O from Yes to No. Another issue is that i have several date formulas in columns D thru M that automatically change the color of the cell to red based on certain requirements.

The basic question is how can i format cells O5:O350 to change the text from a "YES" to a "NO" based on the red color of a cell in columns D5:M350? I already have conditional formatting set to turn the cell red if the cell is "NO".

My guess is VBA, but I hope not as the security on my work computer doesn't allow VBA code to run. I hope it's just a formula.

Thanks in advance!

Eric.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Hello Eric,

I'm not aware of any way to read the color of a cell using formulas alone.

Since each of your conditional formatting rules defines a test formula which, when true, formats the cell, it should be possible for you to make a formula in Column that tests if all those separate formulas are true.

A typical formula in Column O might have this pattern:
=if(and(D3="Done", E3>=$E$1, ISBLANK(F3)),"NO","YES")

Depending on the complexity of your ~10 formulas for Columns D:M this could get lengthy :eeek:...but it is one way to solve this with formulas alone.
 
Upvote 0

Forum statistics

Threads
1,224,617
Messages
6,179,914
Members
452,949
Latest member
beartooth91

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