ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I convert decimals to fractional odds for horse racing? (https://www.excelbanter.com/excel-programming/320853-how-do-i-convert-decimals-fractional-odds-horse-racing.html)

Tiznow

How do I convert decimals to fractional odds for horse racing?
 
I have been struggling with this for 2 hours now. I want to format my "odds"
into a factional format like they use at race tracks. For example:

0.1 = 1/10
1.2 = 6/5
3.5 = 7/2
6.0 = 6/1

Basically, I need everything to be formated with a denominator of either
1,2,5,10

I tried using a customer format using a conditional formula:
[=0.1]?/10;[=0.4]?/5

but it only let me add two conditions, and I would need dozens.

Is there any help for me out there? Thanks in advance!



Fredrik Wahlgren

How do I convert decimals to fractional odds for horse racing?
 

"Tiznow" wrote in message
...
I have been struggling with this for 2 hours now. I want to format my

"odds"
into a factional format like they use at race tracks. For example:

0.1 = 1/10
1.2 = 6/5
3.5 = 7/2
6.0 = 6/1

Basically, I need everything to be formated with a denominator of either
1,2,5,10

I tried using a customer format using a conditional formula:
[=0.1]?/10;[=0.4]?/5

but it only let me add two conditions, and I would need dozens.

Is there any help for me out there? Thanks in advance!


This is the closest I could find
http://www.j-walk.com/ss/excel/usertips/tip81.htm

/Fredrik



Lonnie M.

How do I convert decimals to fractional odds for horse racing?
 
Hi, use a custom format like:

???#/???#

Regards, Lonnie M.


Bernd Plumhoff

How do I convert decimals to fractional odds for horse racing?
 
If you need to calculate nominator and denominator explicitly:
http://www.sulprobil.com/html/neares...al_number.html

HTH,
Bernd




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com