Adding trailing zeros to rounding formula containing text

cisrael

New Member
Joined
Aug 16, 2018
Messages
5
Hello. I am using the following formula: =$G$5&ROUND(F134/F25,2)& "/eqv.". I am wanting the output to show zeros in the hundredths place instead of being dropped by Excel's default function. Right now my output is "0.4/eqv." but I would like for it to be "0.40/eqv.". Is there any way I can do this? I am open to a new formula as well as long as my results are the same.

Thanks :)
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
How about
=$G$5&TEXT(ROUND(F134/F25,2),"#0.00")& "/eqv."
 
Upvote 0
Hello. I am using the following formula: =$G$5&ROUND(F134/F25,2)& "/eqv.". I am wanting the output to show zeros in the hundredths place instead of being dropped by Excel's default function. Right now my output is "0.4/eqv." but I would like for it to be "0.40/eqv.". Is there any way I can do this? I am open to a new formula as well as long as my results are the same.
I am not sure what is supposed to be in cell G5, but from your posting, it looks like the empty text string (""). Anyway, see if this does what you want...

=G$5$&TEXT(F134/F25,"0.00")&"/eqv"
 
Upvote 0
I am not sure what is supposed to be in cell G5, but from your posting, it looks like the empty text string (""). Anyway, see if this does what you want...

=G$5$&TEXT(F134/F25,"0.00")&"/eqv"

Thank you, Mr. Rothstein! I really appreciate everyone's advice. You are correct it is an empty text string, I wanted to delete it but my President instructed me to leave it for some reason. Thank so much again for your help.
 
Upvote 0
Thank you very much, Sandy. I appreciate you taking the time to reply. This one worked great, too!
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,306
Members
452,633
Latest member
DougMo

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