Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I have a cell that contains a formula that can yield either a dollar value or
a percentage value, depending on inputs. How can I format the cell to correctly match the result? |
#2
![]() |
|||
|
|||
![]()
If the percent is never greater than 100%, then you could custom format the
font color. For example: [Red][<1]0%;[Blue]$#.00 HTH Jason Atlanta, GA "elad" wrote: I have a cell that contains a formula that can yield either a dollar value or a percentage value, depending on inputs. How can I format the cell to correctly match the result? |
#3
![]() |
|||
|
|||
![]()
Since you didn't state examples, try this custom format, where you'll
*never* have a return of 100%: [=1]$#,###.00;[<1]#.0%;General If you anticipate a return of 100%, try this, where you'll lose the ability to display $1: [1]$#,###.00;[<=1]#.0%;General -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "elad" wrote in message ... I have a cell that contains a formula that can yield either a dollar value or a percentage value, depending on inputs. How can I format the cell to correctly match the result? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I conditionally format a chart? | Excel Discussion (Misc queries) | |||
How do I get brackets in format cells accounting? | Excel Discussion (Misc queries) | |||
Combining data (numeric format) in multiple cells into one cell (t | Excel Discussion (Misc queries) | |||
How do I format cells to a specific number of digits? | Excel Discussion (Misc queries) | |||
Find cells without multiple spacebars and format... | Excel Discussion (Misc queries) |