ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cell Format (https://www.excelbanter.com/excel-discussion-misc-queries/97991-cell-format.html)

Execeld

Cell Format
 
Could any one help me in getting to change the format of the cell depending
on an if statement. I would like to get the cell to change colour if the
formula result is below 0
IF(A 1<0,then change call format to red ,Cell format green)

Bondi

Cell Format
 

Execeld wrote:
Could any one help me in getting to change the format of the cell depending
on an if statement. I would like to get the cell to change colour if the
formula result is below 0
IF(A 1<0,then change call format to red ,Cell format green)


Hi,
One way would be to use Conditional Formatting.

Goto Format - Conditional Formatting and chose Cell Value Less Than
....
Then Click Format - Patterns and chose Green..

Regards,
Bondi


Roger Govier

Cell Format
 
Hi

You would need to set the default format of the cell to Green.
Then, FormatConditional FormattingCell Value isdropdown to select
Less than enter 0 in white pane
Click Format and set Font to Red
--
Regards

Roger Govier


"Execeld" wrote in message
...
Could any one help me in getting to change the format of the cell
depending
on an if statement. I would like to get the cell to change colour if
the
formula result is below 0
IF(A 1<0,then change call format to red ,Cell format green)





All times are GMT +1. The time now is 12:21 PM.

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