Return a percentage in a cell, Not a decimal value

syntex0

New Member
Joined
Oct 17, 2003
Messages
2
How do I return a percentage value in a cell. I am using Excel 2000. I need to divide the value of two cell and return the percentage with a label before it.

I enter the formula ="Margin " &(A15/C45)

I want the return to look like this: Margin 52%

But, I keep getting this: Margin .52458457856

What is wrong with my formula. Also tried to format cell for percentage, That didn't work ether.

Thank You in advance for any help :biggrin:
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Try something like this

Assuming value you want is in range("B2")

MsgBox "Margin: " & Format(Range("B2").Value, "Percent")
 
Upvote 0
Welcome to the Board!

Try this:

="Margin "&TEXT(A15/C45,"0.00%")

Hope that helps,

Smitty
 
Upvote 0

Forum statistics

Threads
1,214,601
Messages
6,120,460
Members
448,965
Latest member
grijken

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