ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If statement (https://www.excelbanter.com/excel-worksheet-functions/117401-if-statement.html)

Matt Dawson

If statement
 
I was just wondering if it was possible to write an If statement so that if a
value is below a certain level, then you can make it a certain fill colour
i.e. =IF(<10, Red, White) but obviously not like this!

Many Thanks,
Matt

Ron Coderre

If statement
 
Try this:

Select the cells to be impacted.
Then...From the Excel main menu:
<format<conditional formatting
Cell value is: Less than..(enter the value, e.g. 10)
Click the [formatting] button.....and set the format you want to use
Click the [OK] buttons

Is that something you can work with?
Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Matt Dawson" wrote:

I was just wondering if it was possible to write an If statement so that if a
value is below a certain level, then you can make it a certain fill colour
i.e. =IF(<10, Red, White) but obviously not like this!

Many Thanks,
Matt


Teethless mama

If statement
 
Highlight your range
FormatConditional FormattingCell Value Isselect less than10
Click Format and pick any color you want


"Matt Dawson" wrote:

I was just wondering if it was possible to write an If statement so that if a
value is below a certain level, then you can make it a certain fill colour
i.e. =IF(<10, Red, White) but obviously not like this!

Many Thanks,
Matt


Matt Dawson

If statement
 
Ah yes that is far more simple than what i was tihnking
Many Thanks guys!

"Teethless mama" wrote:

Highlight your range
FormatConditional FormattingCell Value Isselect less than10
Click Format and pick any color you want


"Matt Dawson" wrote:

I was just wondering if it was possible to write an If statement so that if a
value is below a certain level, then you can make it a certain fill colour
i.e. =IF(<10, Red, White) but obviously not like this!

Many Thanks,
Matt



All times are GMT +1. The time now is 05:54 PM.

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