Custom Number Format Not Work in Decimal Format Percentage

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to make in custom number format e.i
<style type="text/css">
table.tableizer-table {
font-size: 12px;
border: 1px solid #CCC ;
font-family: Arial, Helvetica, sans-serif;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #CCC ;
}
.tableizer-table th {
background-color: #104E8B ;
color: #FFF ;
font-weight: bold;
}
</style>
typingtarget/result
1+1%
-1-1%
00%
2,5+2,5%
-2,5-2,5%

<thead>
</thead><tbody>
</tbody>


i have use : +0%;-0%;0% in custom number format but not fully work for decimal number..
note :
mark (,) as decimal mark not use dot.

any help, thanks in advance..

susanto
 
Last edited:

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
You are using European number format. I can't test on it because I use the US format. The following is what works on the US format. Maybe you can adapt it to European format.

I think you can only have one decimal format. So, you can only have 2.5% and 1.0 % but not 2.5% and 1%.

Please keep in mind that multiplication and division will not work. 1 x 1 =1 but 1% x 1% is not 1%, which is the result if you use this number format.

+#.0"%";-#.0"%";0"%"
 
Upvote 0

Forum statistics

Threads
1,215,965
Messages
6,127,967
Members
449,414
Latest member
sameri

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