Formatting number to percent in a formula ?

PCRIDE

Well-known Member
Joined
Jan 20, 2008
Messages
907
I have a shape, and within the shape there is a formula that points to another cell. SO the cell just refers to another cell. In the cell it references I have a IF statement with text combined with another cell reference. Everything works great except the number format is coming through as a decimal not % . Any idea how to force the format? I know sometimes when combining formulas and text it doesn't always work well.

If(A1=1,"Your cell is greater than"&" "&B35)

B35 would be a number formatted as a percent.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I have a shape, and within the shape there is a formula that points to another cell. SO the cell just refers to another cell. In the cell it references I have a IF statement with text combined with another cell reference. Everything works great except the number format is coming through as a decimal not % . Any idea how to force the format? I know sometimes when combining formulas and text it doesn't always work well.

If(A1=1,"Your cell is greater than"&" "&TEXT(B35,"0.0%"))

B35 would be a number formatted as a percent.
Try as shown in red above (adjust the number of decimal places to match your desired output). Note that you might want to provide an output for when A1=1 is false.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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