Add Extra Zeros in a formula

Cred69

New Member
Joined
Jan 8, 2015
Messages
20
How can I force a formula to pull in extra zeros pass the decimal point?

I have a fixed formula that drops off all the ending zeros and adds a zero to the left of the decimal. The ending zeros show up in the cell that the data is pulling from, but only displays the zero left of the decimal point. Can I either set it per cell within the formula or as a whole? If so, how would that be accomplished?

Hex Bolt - Zeros.jpg - Google Drive

In the attached image I am looking for my cell to look like this:

HHBOLT .500-20 x 2.000 x 1.750

FYI some times I will need 4 places past the decimal... I don't know if that is relevant or not:confused:

Kind Regards,
Scott
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hello,

try wrapping those cells in TEXT()

so maybe something like

=$AC$19&""&TEXT($AF$17,"0.0000")&"-"&$AG$17&" x "&TEXT($AH$17,"0.0000")&" x "&TEXT($AI$17,"0.0000")

see if that helps
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,247
Messages
6,171,007
Members
452,374
Latest member
keccles

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