Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Gary King
 
Posts: n/a
Default conditional cell format

Can I set some aspect of the cell format based on a formula value?

For example, I would like to change the cell fill color based on whether the
value in that cell is greater than or less than a value in another cell.

--
Gary King
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Take a look at Format|conditional formatting

Gary King wrote:

Can I set some aspect of the cell format based on a formula value?

For example, I would like to change the cell fill color based on whether the
value in that cell is greater than or less than a value in another cell.

--
Gary King


--

Dave Peterson
  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Suppose we are testing A1 against B1

Select A1
Menu FormatConditional Formatting
Change Condition 1 To Formula Is
Add a formula of =$A$1 $B$1
Click Format
Select Pattern
Choose a colour
OK
Click Add Condition
Change Condition 2 To Formula Is
Add a formula of =$A$1< $B$1
Click Format
Select Pattern
Choose a colour
OK
OK

--
HTH

Bob Phillips

"Gary King" wrote in message
...
Can I set some aspect of the cell format based on a formula value?

For example, I would like to change the cell fill color based on whether

the
value in that cell is greater than or less than a value in another cell.

--
Gary King



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
Format of one cell conditional on another RFJ Excel Worksheet Functions 2 September 5th 05 09:42 PM
Reference Cell in custom format???? lil_ern63 Excel Discussion (Misc queries) 3 September 1st 05 02:27 PM
Why does my format keep changing in the cell? Denise Excel Discussion (Misc queries) 0 August 30th 05 04:23 PM
Office2000: Conditional format behaves strangely Arvi Laanemets Excel Discussion (Misc queries) 1 April 7th 05 08:47 AM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM


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