Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default Add "+" plus symbol for a positive percentage

Also want to keep a "-" for a negative percentage and...
want a 0% to remain 0%.

Right now I am using a custom cell format of

+#0#%;-#0#%

This works fine if it is a positive or negative 5% (i.e. +5% or -5%), but if it is a 0% it shows +0%. For a 0% I want it to not show a '+' or a '-'. Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,045
Default Add "+" plus symbol for a positive percentage

On Fri, 5 Oct 2012 18:45:49 +0000, chrisfordflorida wrote:


Also want to keep a "-" for a negative percentage and...
want a 0% to remain 0%.

Right now I am using a custom cell format of

+#0#%;-#0#%

This works fine if it is a positive or negative 5% (i.e. +5% or -5%),
but if it is a 0% it shows +0%. For a 0% I want it to not show a '+' or
a '-'. Thank you.


The third slot is for values equal to zero:

+0%;-0%;0%
  #3   Report Post  
Junior Member
 
Posts: 3
Default

Quote:
Originally Posted by Ron Rosenfeld[_2_] View Post
On Fri, 5 Oct 2012 18:45:49 +0000, chrisfordflorida wrote:


Also want to keep a "-" for a negative percentage and...
want a 0% to remain 0%.

Right now I am using a custom cell format of

+#0#%;-#0#%

This works fine if it is a positive or negative 5% (i.e. +5% or -5%),
but if it is a 0% it shows +0%. For a 0% I want it to not show a '+' or
a '-'. Thank you.


The third slot is for values equal to zero:

+0%;-0%;0%
It works. (+#0#%;-#0#%;#0#%) However, I just realized if I input -5% it will show as -05%. I tried taking the '0' out +##%;-##%;##% and that solved the -5% however anywhere it is 0% it shows a blank. Any solution? Thank you.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,045
Default Add "+" plus symbol for a positive percentage

On Thu, 11 Oct 2012 22:29:11 +0000, chrisfordflorida wrote:

The third slot is for values equal to zero:

+0%;-0%;0%


It works. (+#0#%;-#0#%;#0#%) However, I just realized if I input -5% it
will show as -05%. I tried taking the '0' out +##%;-##%;##% and that
solved the -5% however anywhere it is 0% it shows a blank. Any
solution? Thank you.


The problem you describe does not occur if you use the custom format I recommended: +0%;-0%;0%

Also, I don't understand what you are trying to do with a #0#% type of format anyway. But the reason that ##% (or even #%) will show a blank if you have a zero value is because the # token, by design, does not display insignificant zero's.
  #5   Report Post  
Junior Member
 
Posts: 3
Smile

Quote:
Originally Posted by Ron Rosenfeld[_2_] View Post
On Thu, 11 Oct 2012 22:29:11 +0000, chrisfordflorida wrote:

The third slot is for values equal to zero:

+0%;-0%;0%


It works. (+#0#%;-#0#%;#0#%) However, I just realized if I input -5% it
will show as -05%. I tried taking the '0' out +##%;-##%;##% and that
solved the -5% however anywhere it is 0% it shows a blank. Any
solution? Thank you.


The problem you describe does not occur if you use the custom format I recommended: +0%;-0%;0%

Also, I don't understand what you are trying to do with a #0#% type of format anyway. But the reason that ##% (or even #%) will show a blank if you have a zero value is because the # token, by design, does not display insignificant zero's.
Thank you. You asked why I did the #0#% -- I blame it on my own ignorance. You're recommendation worked perfect.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add "+" plus symbol to positive percentage Hendrik.Kleine Excel Discussion (Misc queries) 5 April 2nd 23 07:59 PM
excel displays "l" instead of "‚¬" symbol for Euro values lex63 Excel Discussion (Misc queries) 1 April 17th 09 10:10 AM
How to Show "+" for positive and "-" for negative Emil Excel Worksheet Functions 10 November 5th 08 02:20 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Why does excell switch my stock symbol "ACN" to "CAN"? garron Setting up and Configuration of Excel 1 June 21st 07 02:35 AM


All times are GMT +1. The time now is 05:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"