Convert Function

ChrisHockley

New Member
Joined
Feb 6, 2017
Messages
35
Guys,

I'm at a loss. I am using the convert formula successfully in an excel doc. However, 3/16 or 5/16 won't convert. I get some large number. Is there a way around this or do i just need to forget convert and just multiply by 28.35? Thanks all!
 

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 don't know exactly what you mean, but check the Precision as displayed option in Excel.

Click File > Options. Click Advanced, and then under When calculating this workbook, select the Set precision as displayed check box, and then click OK
 
Upvote 0
I don't know exactly what you mean, but check the Precision as displayed option in Excel.

Click File > Options. Click Advanced, and then under When calculating this workbook, select the Set precision as displayed check box, and then click OK
1729555870960.png

Here's an example... the formula =CONVERT(AP1082,"ozm","g") changes the 1/8 to 3.5. But 3/16 is 1,286,132.8...
 
Upvote 0
Book1
AB
1Inchesmm
23/164.76
PP_Own
Cell Formulas
RangeFormula
B2B2=CONVERT(A2*1000,"in","m")
 
Upvote 0
Make sure that you Format fractional values a Fractions in Cell Format.
 
Upvote 0
ooooh... i see what the issue is... to show 3/16 the cell is '3/16 because EXCEL won't show 3/16 as a fraction by itself... at least I don't know how. It converts it to 1/5?!?! And that's what's messing with this.
 
Upvote 0
varios 21oct2024.xlsm
ABC
1Ouncesg
23/165.669904625Format cell as fraction as sixteenths
3mar-161202870.266here it is taking it as a date
Hoja2
Cell Formulas
RangeFormula
B2:B3B2=CONVERT(A2,"ozm","g")
 
Upvote 0
Solution
ooooh... i see what the issue is... to show 3/16 the cell is '3/16 because EXCEL won't show 3/16 as a fraction by itself... at least I don't know how. It converts it to 1/5?!?! And that's what's messing with this.
Nice. You good then?
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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