Get rid of the percent symbol or help with (#DIV/0!)

kkmatheso

New Member
Joined
May 6, 2012
Messages
3
Help....I have a column that is the sum of 2 other columns. I need it to list as a percentage, but without the percentage symbol. I used the formula of dividing one cell against the other than times it by 100. [ie. (A1/A2)*100], which works. However when the value is 0 (ie. 10/10) then I get a zero error (#DIV/0!) instead of 100%.

Does anyone know any other way to make a cell compute as a percentage without having the percent symbol....OR.... a way that I can get around the zero error (#DIV/0!) in cases where it is 100%.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Help....I have a column that is the sum of 2 other columns. I need it to list as a percentage, but without the percentage symbol. I used the formula of dividing one cell against the other than times it by 100. [ie. (A1/A2)*100], which works. However when the value is 0 (ie. 10/10) then I get a zero error (#DIV/0!) instead of 100%.

Does anyone know any other way to make a cell compute as a percentage without having the percent symbol....OR.... a way that I can get around the zero error (#DIV/0!) in cases where it is 100%.

Maybe:

=IF(A2>0,(A1/A2)*100,"")
 
Upvote 0
Not sure how your sheet is set-up but couldn't you just wrap the whole thing in IFERROR ?

=IFERROR((A1/A2)*100,"") - to hide

or

=IFERROR((A1/A2)*100,1) - for 100%

HTH
 
Upvote 0
assumes of course 2007

else in 2003

=IF(ISERROR((A1/A2)*100,"",(A1/A2)*100) - to hide

or

=IF(ISERROR((A1/A2)*100,1,(A1/A2)*100) - for 100%
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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