ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Change cell colour based on an IF statment (https://www.excelbanter.com/excel-programming/414443-change-cell-colour-based-if-statment.html)

VoxBox-Richard

Change cell colour based on an IF statment
 
How can I make a cell change colour based on and IF statment.

I want one cell to go red if the value in another cell is negative.

Thank you.

Richard

Mike H

Change cell colour based on an IF statment
 
You could use conditional formatting.

Seelct your cell then
Format|Conditional format
Select formula is and enter the formula
=$B$1<0

Select a colour
Ok

Mike

"VoxBox-Richard" wrote:

How can I make a cell change colour based on and IF statment.

I want one cell to go red if the value in another cell is negative.

Thank you.

Richard



All times are GMT +1. The time now is 02:18 AM.

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