Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using CF to change colour in cell based on date? Steve[_26_] Excel Discussion (Misc queries) 4 March 21st 10 10:52 PM
Macro to change cell colour based on words tiger Excel Programming 3 July 4th 07 01:42 PM
change current cell colour based on the value of adjacent cell on other worksheet Rits Excel Programming 2 November 23rd 06 11:57 AM
How to change cell colour based on numer of months? Tiago Excel Programming 6 May 11th 06 01:20 PM
Change the colour of a bunch of cells, based on one cell. Craig & Co. Excel Programming 2 October 14th 04 06:28 AM


All times are GMT +1. The time now is 01:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"