Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a the following formula in A1 cell =if(Logic_test, A2,A3).
In A2 I have "increase" in red font and in A3 I have "Decrease" in blue font. But when the value printed in A1 it is black no matter what. How can I make the format (mainly color of the font) of A1 to be same as A2 or A3? <redincrease</red |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
By adding two conditional formats
With A3 selected use: Format | Conditional Format "Cell value is" - "Equal to " - "Increase" ----- and set the font colour Now add the second best wishes -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "Sam" wrote in message ... I have a the following formula in A1 cell =if(Logic_test, A2,A3). In A2 I have "increase" in red font and in A3 I have "Decrease" in blue font. But when the value printed in A1 it is black no matter what. How can I make the format (mainly color of the font) of A1 to be same as A2 or A3? <redincrease</red |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Take a look at XL Help's "Conditional Formatting" topic.
In article , Sam wrote: I have a the following formula in A1 cell =if(Logic_test, A2,A3). In A2 I have "increase" in red font and in A3 I have "Decrease" in blue font. But when the value printed in A1 it is black no matter what. How can I make the format (mainly color of the font) of A1 to be same as A2 or A3? <redincrease</red |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You can't control the format with formulas.
However, you can use "Conditional Formatting" on the cells containing such types of formulas, to change the cells format. depending on the return of the formula. -- HTH, RD ================================================== === Please keep all correspondence within the Group, so all may benefit! ================================================== === "Sam" wrote in message ... I have a the following formula in A1 cell =if(Logic_test, A2,A3). In A2 I have "increase" in red font and in A3 I have "Decrease" in blue font. But when the value printed in A1 it is black no matter what. How can I make the format (mainly color of the font) of A1 to be same as A2 or A3? <redincrease</red |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with this conditional IF statement | Excel Discussion (Misc queries) | |||
if statement format cell | Excel Worksheet Functions | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
Not sure how to format this if statement | Excel Discussion (Misc queries) | |||
Put an if statement according to cell format | Excel Worksheet Functions |