Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Change color without conditional formating

I know that I can use conditional formatting to change the color of a cell,
but this can prove cumbersome for multiple cells and multiple values.

Is there a way to change the color of a cell based on a formula in that cell?

For example, assume I have cell A1 = 10 and plan on entering a list of data.
I want to compare each value to cell A1 and change the color accordingly.

I would assume the code would then be as follows:
=if(a2<a1,color=red,color=green)

However, there appears to be no command such as "color" or "fill".
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Change color without conditional formating

Format/ Conditional Format/ Formula is:
=A2<$A$1 and choose your red format.
--
David Biddulph

"spacesyco" wrote in message
...
I know that I can use conditional formatting to change the color of a cell,
but this can prove cumbersome for multiple cells and multiple values.

Is there a way to change the color of a cell based on a formula in that
cell?

For example, assume I have cell A1 = 10 and plan on entering a list of
data.
I want to compare each value to cell A1 and change the color accordingly.

I would assume the code would then be as follows:
=if(a2<a1,color=red,color=green)

However, there appears to be no command such as "color" or "fill".



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Change color without conditional formating

Is there a way to do it without using conditional formatting?

"David Biddulph" wrote:

Format/ Conditional Format/ Formula is:
=A2<$A$1 and choose your red format.
--
David Biddulph

"spacesyco" wrote in message
...
I know that I can use conditional formatting to change the color of a cell,
but this can prove cumbersome for multiple cells and multiple values.

Is there a way to change the color of a cell based on a formula in that
cell?

For example, assume I have cell A1 = 10 and plan on entering a list of
data.
I want to compare each value to cell A1 and change the color accordingly.

I would assume the code would then be as follows:
=if(a2<a1,color=red,color=green)

However, there appears to be no command such as "color" or "fill".




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Change color without conditional formating

Why are you so keen on avoiding CF?
--
David Biddulph

"spacesyco" wrote in message
...
Is there a way to do it without using conditional formatting?

"David Biddulph" wrote:

Format/ Conditional Format/ Formula is:
=A2<$A$1 and choose your red format.


"spacesyco" wrote in message
...
I know that I can use conditional formatting to change the color of a
cell,
but this can prove cumbersome for multiple cells and multiple values.

Is there a way to change the color of a cell based on a formula in that
cell?

For example, assume I have cell A1 = 10 and plan on entering a list of
data.
I want to compare each value to cell A1 and change the color
accordingly.

I would assume the code would then be as follows:
=if(a2<a1,color=red,color=green)

However, there appears to be no command such as "color" or "fill".






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Change color without conditional formating

Formulas return values.

Some formatting can be done with a formula like

="Payment due " &TEXT(H15,"mmmm, d yyyy") & " " & TEXT(I15,"$#,##0.00")

But cannot change colors.

That's what CF is used for.

You always have the recourse of VBA code.


Gord Dibben MS Excel MVP


On Tue, 20 Mar 2007 14:00:36 -0700, spacesyco
wrote:

Is there a way to do it without using conditional formatting?

"David Biddulph" wrote:

Format/ Conditional Format/ Formula is:
=A2<$A$1 and choose your red format.
--
David Biddulph

"spacesyco" wrote in message
...
I know that I can use conditional formatting to change the color of a cell,
but this can prove cumbersome for multiple cells and multiple values.

Is there a way to change the color of a cell based on a formula in that
cell?

For example, assume I have cell A1 = 10 and plan on entering a list of
data.
I want to compare each value to cell A1 and change the color accordingly.

I would assume the code would then be as follows:
=if(a2<a1,color=red,color=green)

However, there appears to be no command such as "color" or "fill".







  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default Change color without conditional formating


You can change the font color as the cell value changes using a
custom number format. For instance...
[Blue][10]General;[Red][<=10]General; General
(more than ten the font is blue; ten and under the font is red)
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"spacesyco"
wrote in message
I know that I can use conditional formatting to change the color of a cell,
but this can prove cumbersome for multiple cells and multiple values.

Is there a way to change the color of a cell based on a formula in that cell?

For example, assume I have cell A1 = 10 and plan on entering a list of data.
I want to compare each value to cell A1 and change the color accordingly.

I would assume the code would then be as follows:
=if(a2<a1,color=red,color=green)

However, there appears to be no command such as "color" or "fill".
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
Applying conditional formating to make cells change color [email protected] Excel Discussion (Misc queries) 1 March 6th 07 10:51 PM
Conditional Formating Background Color tankerman Excel Discussion (Misc queries) 2 January 31st 07 02:02 PM
Conditional Formating - Different row color also when using filter Steen Excel Discussion (Misc queries) 5 January 3rd 07 10:56 PM
Conditional formating-change color of cells over than one with for carrera Excel Discussion (Misc queries) 4 November 28th 06 07:49 AM
list two columnar values based on conditional formating (text color) beechum1 Excel Worksheet Functions 2 February 12th 06 09:53 AM


All times are GMT +1. The time now is 01:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"