Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Talking Mass covertion from faction odds to decimal odds

I am hoping to shorten a very long winded manual entry of fractions by using cut and paste!
I would like to cut and past web based fractions write in the clasic method 1/2 6/4 extra with the next coulum then converting straight away.
Would welcome any help.
many thanks
Adrian
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by strongcoffee View Post
I am hoping to shorten a very long winded manual entry of fractions by using cut and paste!
I would like to cut and past web based fractions write in the clasic method 1/2 6/4 extra with the next coulum then converting straight away.
Would welcome any help.
many thanks
Adrian
You could create a VLOOKUP table with the fraction in the first column and the decimal representations in the second and use that to convert.

And shouldn't "6/4" be "1 1/2"?
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 151
Default Mass covertion from faction odds to decimal odds

Hi Spencer

If I am reading this correctly, and the emphasis on the word ( Odds ),
the representation of 6/4 would mean odds of 6 to 4 and the other would
1 to 2 meaning in order to win 1 dollar you would have to invest 2.

Assuming I am on the money here then 6/4 in decimal would be 1.50 and
1/2 would be 0.50... That said, I'm with you Spencer on the VLookUp.

Cheers
Mick.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Mass covertion from faction odds to decimal odds

Mick,

Good catch on the "Odds" piece. I missed that. Fractional odds are a little different from fractions in general. There's a great article about them at http://www.bettingtraders.com/tradin...t/decimal-odds. According to the article, the formula for converting fractional odds to decimal odds is:

1/(Denominator/(Numerator + Denominator))

for example, 9/4 odds translates to 3.25:

1/(4/(9+4)) = 1/(4/13) = 1/.3077 = 3.25

Using the article as a guide, you could convert a string value to a decimal with the following formula (assuming that the fractional odds are stored as a string value in cell A1):

=1/(--RIGHT(A1, LEN(A1)-FIND("/",A1))/(--LEFT(A1, FIND("/",A1)-1)+--RIGHT(A1, LEN(A1)-FIND("/",A1))))



Ben
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 173
Default Mass covertion from faction odds to decimal odds

Adrian,

Try the DOLLARDE function (2007/2010). It converts a fraction into decimals. For example, each of the following functions would return a value of 1.5 (assumes fraction is in cell A1):

=DOLLARDE(6/4, 1)
=DOLLARDE(0 6/4, 1)
=DOLLARDE(A1, 1)

If you use cell references, be careful to ensure that the cells containing fractions are not perceived by Excel to be dates. You can accomplish this by formatting the cells as Fractions or ensuring that the fractions are entered with a "number, space, fraction" syntax such as:

0 6/4

Hope this helps,

Ben



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Odds need period, evens need semicolon Curious[_6_] Excel Programming 2 July 30th 08 03:13 PM
how to calculate games odds pm_sam Excel Worksheet Functions 0 June 20th 08 12:03 AM
Sorting Odds & Evens Tom Ogilvy Excel Programming 0 July 13th 03 09:30 PM
Sorting Odds & Evens Bob Phillips[_5_] Excel Programming 1 July 13th 03 08:37 PM
Sorting Odds & Evens JMay Excel Programming 0 July 13th 03 02:50 PM


All times are GMT +1. The time now is 10:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"