Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have and & TEXT formula that makes a statement like:
Month: 5.1 Chg YTD -2.5 In the &TEXT formula, how do I format the numbers so that all negative value's will show in red. Below is my formula: =B5&TEXT(" ",0)&TEXT(C5,"0.0")&TEXT(" ",0)&E5&TEXT(" ",0)&TEXT(F5,"0.0%") |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
No need for those extra TEXT parts
=B5&" "&TEXT(C5,"0.0")&" "&E5&" "&TEXT(F5,"0.0%") However you cannot change part of the formula to red, you can change the whole formula result to red based on any of the values by using formatconditional formatting -- Regards, Peo Sjoblom "lrcburgers" wrote in message ... I have and & TEXT formula that makes a statement like: Month: 5.1 Chg YTD -2.5 In the &TEXT formula, how do I format the numbers so that all negative value's will show in red. Below is my formula: =B5&TEXT(" ",0)&TEXT(C5,"0.0")&TEXT(" ",0)&E5&TEXT(" ",0)&TEXT(F5,"0.0%") |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"Peo Sjoblom" wrote...
No need for those extra TEXT parts =B5&" "&TEXT(C5,"0.0")&" "&E5&" "&TEXT(F5,"0.0%") .... No need for most of those text constants. =B5&TEXT(C5," 0.0")&" "&E5&TEXT(F5," 0.0%") |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
or even:
=B5&TEXT(C5," 0.0 ")&E5&TEXT(F5," 0.0%") Harlan Grove wrote: "Peo Sjoblom" wrote... No need for those extra TEXT parts =B5&" "&TEXT(C5,"0.0")&" "&E5&" "&TEXT(F5,"0.0%") ... No need for most of those text constants. =B5&TEXT(C5," 0.0")&" "&E5&TEXT(F5," 0.0%") -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula Text String: Formatting Text and Numbers? | Excel Discussion (Misc queries) | |||
Link to text and return text into a formula? | Excel Worksheet Functions | |||
Excel:Get concatenated text to be recognised as formula not text? | Excel Discussion (Misc queries) | |||
Formula to count text and alert me if a text appears more than twi | Excel Discussion (Misc queries) | |||
match cell text with text in formula | Excel Worksheet Functions |