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

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
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,216,458
Messages
6,130,757
Members
449,588
Latest member
accountant606

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