Percentage Formating

luke1438

Board Regular
Joined
Nov 1, 2004
Messages
156
I need to format a positive percentage as 0.00% and a negative percentage as (0.00%). There is not a format listed under percentage formating or under the custom formating. Anyone have any suggestions?

Thank you
Luke
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Re: Percentage Formatting - Default?

shift-del's answer works with a minor modification - ";" instead of "," - but it is coming up as bold red. Is there any way to make it black and not bold?

Thanks
Luke
 
Upvote 0
Re: Percentage Formatting - Default?

but it is coming up as bold red.
Maybe the cell is formatted as bold red, because it works allright for me.
<table valign="middle" colspan="2" style="font-family: Calibri; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 11px; font-weight: normal; font-style: normal;" border="1" cellpadding="2" cellspacing="0"><colgroup><col width="28pt"><col width="84,75pt"></colgroup><tbody><tr style="background-color: rgb(250, 250, 250);"><td colspan="2" align="middle">Worksheet 'Tabelle1'</td></tr><tr style="background-color: rgb(202, 202, 202);"><td>
</td><td align="middle">A</td></tr><tr><td style="background-color: rgb(202, 202, 202);" align="middle">1</td><td align="right">3,00%</td></tr><tr><td style="background-color: rgb(202, 202, 202);" align="middle">2</td><td align="right">(3,00%)</td></tr><tr><td style="background-color: rgb(202, 202, 202);" align="middle">3</td><td style="color: rgb(255, 0, 0); font-weight: bold;" align="right">3,00%</td></tr><tr><td style="background-color: rgb(202, 202, 202);" align="middle">4</td><td style="color: rgb(255, 0, 0); font-weight: bold;" align="right">(3,00%)</td></tr></tbody></table>
<table valign="middle" colspan="3" style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri; font-size: 10px;" border="3" cellpadding="2" cellspacing="0"><tbody><tr style="background-color: rgb(170, 238, 170);"><td>Cell</td><td>Format</td><td align="right">Value</td></tr><tr><td>A1</td><td>0.00%;(0.00%)</td><td align="right">0,03</td></tr><tr><td>A2</td><td>0.00%;(0.00%)</td><td align="right">-0,03</td></tr><tr><td>A3</td><td>0.00%;(0.00%)</td><td align="right">0,03</td></tr><tr><td>A4</td><td>0.00%;(0.00%)</td><td align="right">-0,03</td></tr></tbody></table><table style="font-family: Arial; font-size: 7pt;"><tbody><tr><td style="color: rgb(51, 51, 51);">Created with Tab2HTML (v2.4.1). ©Gerd alias Bamberg</td></tr></tbody></table>
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top