Converting fractions to decimals

richardthelionheart

Board Regular
Joined
Mar 25, 2016
Messages
95
Office Version
  1. 2016
Platform
  1. Windows
I have data which looks like this -
9/4 JF
6/4 F
5/2 F
2/1 F
etc etc
Using this formula I can convert these to -
9/4
6/4
5/2
2/1

' =IFERROR(LEFT(T136,FIND("/",T136)+1),T136)

But what I'm really looking for is -
2.25
1.5
2.5
2

I'm happy to use an extra column to achieve my goal but
if it can be done in " One Go" that would be even better.
Any help would be gladly appreciated.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Must be a better way, but this appears to work

=LEFT(G2,FIND("/",G2&"/")-1)/MID(G2,FIND("/",G2&"/")+1,FIND(" ",G2&" ")-FIND("/",G2&"/")-1)
 
Upvote 0
Have you tried formatting the cells as "General"?
 
Upvote 0
One way:

=--("0 "&LEFT(A1,FIND(" ",A1)-1))
 
Last edited:
Upvote 0
Must be a better way, but this appears to work

=LEFT(G2,FIND("/",G2&"/")-1)/MID(G2,FIND("/",G2&"/")+1,FIND(" ",G2&" ")-FIND("/",G2&"/")-1)

Well indeed it does work, Yipee ! Thank You so much gaz chops. (Poor old England - what a mess !)
 
Upvote 0
You're welcome, although I would go with Phuoc's solution, maybe with a tweak in case there are no alpha characters after.

=--("0 "&LEFT(G8,FIND(" ",G8&" ")-1))
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,685
Members
448,977
Latest member
dbonilla0331

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