Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
J. Kerr
 
Posts: n/a
Default IF statements if the value is True it changes the cell colour?

Is there a way to change the colour of the cell when using an IF statement.
ie: I would like to see the cell Green if it is TRUE and Red if it is FALSE
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

No need for if statements,

=A1

as opposed to =IF(A11

look up conditional formatting in help

--
Regards,

Peo Sjoblom

(No private emails please)


"J. Kerr" <J. wrote in message
...
Is there a way to change the colour of the cell when using an IF
statement.
ie: I would like to see the cell Green if it is TRUE and Red if it is
FALSE


  #3   Report Post  
bj
 
Posts: n/a
Default

use <format<conditional format formula is your if statement format green
use your if statement with a NOT in front with format red

"J. Kerr" wrote:

Is there a way to change the colour of the cell when using an IF statement.
ie: I would like to see the cell Green if it is TRUE and Red if it is FALSE

  #4   Report Post  
David McRitchie
 
Posts: n/a
Default

The easiest way is to use Conditional Formatting
Conditional Formatting
http://www.mvps.org/dmcritchie/excel/condfmt.htm

The formula used in Conditional Formatting is a worksheet formula
and you want to think in terms of selecting an entire column rather
than an individual cell at a time.


select column C1 then column C, just so you have C1 as the active cell
format, conditional formatting
formula is: =C120 is going to be True (used) or False (ignored) errors are ignored
format button, use patterns then chose color for interior

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"J. Kerr" <J. wrote in message ...
Is there a way to change the colour of the cell when using an IF statement.
ie: I would like to see the cell Green if it is TRUE and Red if it is FALSE



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
True to TRUE Nikki@CustomMortgageSolutions Excel Discussion (Misc queries) 3 June 14th 05 05:35 PM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
Adding True False Results Arla M Excel Worksheet Functions 6 January 27th 05 06:29 PM
Grand Totals @ Same Place Amber M Excel Worksheet Functions 2 December 30th 04 07:13 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 11:03 AM.

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"