ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Change Cell Color On Condition Of Cell (https://www.excelbanter.com/excel-programming/361012-change-cell-color-condition-cell.html)

Sean

Change Cell Color On Condition Of Cell
 
I have tried using conditional formatting for this already and can not get it
to work I am wondering if there is something else or another way to look at
it.

I have a worksheet with columns A to H, if any individual cell reads OFF
which is set in cell validation as an option in a list box. Then I want that
cell to turn yellow, if it is changed to anything else then it should turn
back to clear.

Is there a way to do this?

Thanks,

Sean

JakeyC

Change Cell Color On Condition Of Cell
 
Two ways, either:

Apply Conditional Formatting to your chosen cells and using 'Cell value
is' with 'equal to', enter the formula,

="OFF" and choose the format you want (yellow was it?)

OR

In Cell A1, apply Conditional Formatting using 'Formula Is' option and
in sert the formula, =IF(A1="OFF",TRUE,FALSE) and choose your format,
then AutoFill to the row you want.



All times are GMT +1. The time now is 03:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com