Inches to Fractions

bschwartz

Well-known Member
Joined
Jan 5, 2013
Messages
1,367
Hello,

How would I turn these inch values into decimals (they are originally fractions entered as text):

C8 = 5/8"
C9 = 3/4"

Thanks!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
4,142
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS

Excel 2010
AB
15/8"0.625
23/4"0.75
33/5"0.6
Sheet3
Cell Formulas
RangeFormula
B1=1*LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,LEN(A1)-FIND("/",A1)-1)
 

bschwartz

Well-known Member
Joined
Jan 5, 2013
Messages
1,367
That works great for the fractions. Thanks! Unfortunately, I failed to mention another possible value which is a whole number of inches. For instance 1" or 12". Can that be worked into your formula?
 

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
4,142
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Maybe not the most elegant way but here:


Excel 2010
AB
15/8"0.625
23/4"0.75
33/5"0.6
41"1
52.5"2.5
63/8"0.375
72/5"0.4
Sheet3
Cell Formulas
RangeFormula
B1=IFERROR(1*LEFT(A1,FIND("/",A1)-1)/MID(A1,FIND("/",A1)+1,LEN(A1)-FIND("/",A1)-1),1*SUBSTITUTE(A1,"""",""))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,826
Messages
5,855,866
Members
431,771
Latest member
CoryMelth

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
Top