View Single Post
  #16   Report Post  
yonny yonny is offline
Junior Member
 
Posts: 2
Default

I have used some formulas I found here to manipulate some fractions but i need to combine them in order to save space
this is for getting decimal values for inches and their fractions
I have read that just changing the format of the cells is enough but that is not working for me, it does not do it for all the cells

here is my structure
--------------------------------------…
G8 | H8 | I8 | J8 | K8 |
--------------------------------------…
27 1/2 | 27 | 1/2 | 0.5 | 27.5 |
--------------------------------------…
Here are the formulas im using
in H8 - =TRIM(LEFT(G8;SEARCH(" ";G8)-1)) gets 27
in I8 - =TRIM(RIGHT(G8;SEARCH(" ";G8)+1)); gets 1/2
in J8 - =LEFT(I8;FIND("/";I8)-1)/MID(I8;FIND("/"… gets 0.5
in K8 - =SUM(H8+J8) gets 27.5 which is what I was after

however I dont know enough excel to combine all of the formulas into one and get the results in H8
so it looks like
--------------------------
G8 | H8 |
--------------------------
27 1/2 | 27.5 |
--------------------------
having H8 contain the combined formula without the other steps as I have other steps for which I need the space
hopefully someone out there knows the answer
Thanks in advance