JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,687
- Office Version
- 365
- Platform
- Windows
I can have different formats for positive, negative, and zero values: +0;-0;=0.
And I can have different formats up to two conditional value ranges: [<1]0.00;[<10]0.0;#,##0.
Is there any way to combine the two so that I can both the +/-/= prefix and the variable number of decimal places?
I would like the numbers in the left column formatted as shown in the right column:
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD="align: right"]-23.45[/TD]
[TD="align: right"]-23[/TD]
[/TR]
[TR]
[TD="align: right"]37.52[/TD]
[TD="align: right"]+38[/TD]
[/TR]
[TR]
[TD="align: right"]7.83[/TD]
[TD="align: right"]+7.8[/TD]
[/TR]
[TR]
[TD="align: right"]-1.28[/TD]
[TD="align: right"]-1.3[/TD]
[/TR]
[TR]
[TD="align: right"]0.737[/TD]
[TD="align: right"]+0.74[/TD]
[/TR]
[TR]
[TD="align: right"]-0.482[/TD]
[TD="align: right"]-0.48[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD="align: right"]=0[/TD]
[/TR]
</tbody>[/TABLE]
Can this be done?
And I can have different formats up to two conditional value ranges: [<1]0.00;[<10]0.0;#,##0.
Is there any way to combine the two so that I can both the +/-/= prefix and the variable number of decimal places?
I would like the numbers in the left column formatted as shown in the right column:
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD="align: right"]-23.45[/TD]
[TD="align: right"]-23[/TD]
[/TR]
[TR]
[TD="align: right"]37.52[/TD]
[TD="align: right"]+38[/TD]
[/TR]
[TR]
[TD="align: right"]7.83[/TD]
[TD="align: right"]+7.8[/TD]
[/TR]
[TR]
[TD="align: right"]-1.28[/TD]
[TD="align: right"]-1.3[/TD]
[/TR]
[TR]
[TD="align: right"]0.737[/TD]
[TD="align: right"]+0.74[/TD]
[/TR]
[TR]
[TD="align: right"]-0.482[/TD]
[TD="align: right"]-0.48[/TD]
[/TR]
[TR]
[TD="align: right"]0[/TD]
[TD="align: right"]=0[/TD]
[/TR]
</tbody>[/TABLE]
Can this be done?