Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Useing IF statements to change a cell color

I know this has been beat to death but I just cant seem to figure it out.

This is what I want to do

=IF(94<D8<97,[change cell color to red],[do nothing])

I have tried the conditional formatting but the value in D8 is referenced
from another page in the same worksheet.

How can I get this to work?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Useing IF statements to change a cell color

It will be a conditional format. A cf wants either a true or false answer. So
for your example this formula should do

=and(D894, D8<97)

which will colour the cell based on your formatting choice when D8 is
between 94 and 97...
--
HTH...

Jim Thomlinson


"edward/" wrote:

I know this has been beat to death but I just cant seem to figure it out.

This is what I want to do

=IF(94<D8<97,[change cell color to red],[do nothing])

I have tried the conditional formatting but the value in D8 is referenced
from another page in the same worksheet.

How can I get this to work?

Thanks.

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
change color of a box with using if statements Mark M Excel Worksheet Functions 3 November 19th 07 09:44 PM
Change cell color for more than 3 conditional statements Katie Excel Worksheet Functions 1 March 5th 07 06:34 PM
Excel: Syntax to change cell color based on color of another cell davew18 Excel Worksheet Functions 1 January 4th 07 01:24 PM
can i setup if, then statements to change the color of a row Ed New Users to Excel 7 August 8th 06 11:59 PM
Useing a Logrithmic y=intercept in a cell swissforestry Excel Worksheet Functions 2 January 2nd 06 02:16 PM


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