#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF Statements

Hi,
I am trying to set up a IF statement that if true would make the cells a
certain colour. Specifically, if the number is less than 1, make red. Is this
possible to do with an IF statement?

Thanks,

Tracy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 380
Default IF Statements

Conditional formatting.

Select the cells.
FormatConditional Formatting.
Change the dropdown to less than, and 1 in the value box
Click format, select Pattern, select red
OK
OK

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Tracy D" <Tracy wrote in message
...
Hi,
I am trying to set up a IF statement that if true would make the cells a
certain colour. Specifically, if the number is less than 1, make red. Is

this
possible to do with an IF statement?

Thanks,

Tracy



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF Statements


No, not possible with an IF statement, but you should take a look at
conditional formatting under Format


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=558643

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 222
Default IF Statements

You should have a look at conditional formatting

"Tracy D" wrote:

Hi,
I am trying to set up a IF statement that if true would make the cells a
certain colour. Specifically, if the number is less than 1, make red. Is this
possible to do with an IF statement?

Thanks,

Tracy

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF Statements

Hi thanks for the help.

I actually would like to first look up a seperate cell and see if that is
less than one or not and then make a different cell red if it is. I was
hoping to use an IF statement but am not sure how to incorporate fomatting.
Any help is greatly appreciated!

Tracy

"Tracy D" wrote:

Hi,
I am trying to set up a IF statement that if true would make the cells a
certain colour. Specifically, if the number is less than 1, make red. Is this
possible to do with an IF statement?

Thanks,

Tracy



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 380
Default IF Statements

Then just use CF with a condition of Cell Value Is and a formula, a formula
such as

=$M2<=1

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Tracy D" wrote in message
...
Hi thanks for the help.

I actually would like to first look up a seperate cell and see if that is
less than one or not and then make a different cell red if it is. I was
hoping to use an IF statement but am not sure how to incorporate

fomatting.
Any help is greatly appreciated!

Tracy

"Tracy D" wrote:

Hi,
I am trying to set up a IF statement that if true would make the cells a
certain colour. Specifically, if the number is less than 1, make red. Is

this
possible to do with an IF statement?

Thanks,

Tracy



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
Excel MS Query multiple select statements Revenger Excel Discussion (Misc queries) 3 May 12th 06 12:32 PM
UDFunctions and nested If-the-else statements JDB Excel Worksheet Functions 1 January 25th 06 03:29 PM
"IF Statements in Microsoft Excel Kathy Excel Discussion (Misc queries) 5 December 5th 05 05:02 PM
Linking two IF statements together trixma Excel Discussion (Misc queries) 2 September 29th 05 06:07 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM


All times are GMT +1. The time now is 11:17 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"