Trying to figure out how to turn a ratio into a number

MichaelBMF

New Member
Joined
Jul 1, 2015
Messages
2
Searched around the web and MS help and all I could find is people trying to do the reverse of what I need.

So I have a spreadsheet that is exported in a data only method from another program. One of the columns of data provides information in a ratio format, for example "9:1".


How would one go about having that column return the numerical value of that ratio, like returning just a 9 for the above example so that it could be used in a further calculation?

I know it can be done because I have seen someone do it before, but he no longer works with the company.

Thank you in advance for any help that can be provided.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I'm not sure if you mean to return it to a separate cell or isolate it in a formula to use in a calculation....
but you could try something like...

=0+REPLACE(A24,FIND(":",A24),99,"")
 
Upvote 0
More examples would have been useful. Does this do what you want...

=0+LEFT(A1,FIND(":",A1)-1)/MID(A1,FIND(":",A1)+1,9)
 
Upvote 0
Sorry if it was a little confusing but what Rick Rothstein had is exactly what I needed.

Thank you very much everyone for your help and hope you have a great 4th (if you celebrate the 4th if not have a great weekend :)
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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