Go Back   Sports Handicapping Forum > Welcome Forums > Main Street > Capping

Capping All handicapping, betting systems, spreadsheets, mathematics & quantitative technicapping.

Like Tree1Likes
  • 1 Post By thom321

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-22-2011, 04:03 PM
Registered User
 
Join Date: Feb 2009
Location: 604, 310, & 775 via 416
Posts: 1,785
Rewards: 404
excel formula american odds to decimal odds

i'm dumb in excel

anyone have a formula i can enter in to convert American odds into decimal odds?

thanks
__________________
hi
Reply With Quote
  #2  
Old 05-22-2011, 04:13 PM
Registered User
 
Join Date: Sep 2006
Location: Mississauga
Posts: 9,747
Rewards: 3,093
I looked this awhile ago. Go to pinny or bet365. They have an odds calculator. Enter in $1.00. It should give you the factor
Reply With Quote
  #3  
Old 05-22-2011, 07:38 PM
Hall of Fame
 
Join Date: Oct 2005
Location: Salem, VA
Posts: 22,450
Rewards: 1,800
THis is a User Defined Function so you can use the formula "US2DEC" in excel. Go to the Visual Basic editor (Alt + F11) and copy and paste the function below

Code:
Function US2DEC(US) as Double

  If US < 0 Then
    US2DEC = 1 / (US / (US -100))
  Else 
    US2DEC = 1 / (100 / (US + 100))
  End If

End Function
__________________
"Nobody goes there anymore, its too crowded." --Yogi Berra

"Always tell the truth, that way you won't have to remember what you said." --Mark Twain


*=$50,000
Reply With Quote
  #4  
Old 05-23-2011, 02:59 PM
Registered User
 
Join Date: May 2010
Posts: 11
Rewards: 295
Just to make it really clear how to do it (using the function provided by uva), in case you haven't added a user defined function or macro before.

Once you do the Alt+F11 to open the editor, you will see a list of workbooks on the top left side. Find the workbook where you want the function to be added. It will show up in the list as VBAProject("Name of your workbook"). Right click on the workbook and select "Insert", then select "Module". Paste all the code provided by uva in the blank space that was just opened. Close out of the editor and save the workbook as a macro enabled workbook (.xlsm extension).

To use the function e.g. enter the US odds in cell B2. In cell C2, enter =US2DEC(B2) and press Enter. Cell C2 should now show the decimal odds.

I don't want to offend anyone by explaining all the steps but I know that when I got started with Excel a long time ago, I did not have a clue how to add my own macros or functions.
Reply With Quote
  #5  
Old 05-25-2011, 01:17 PM
Registered User
 
Join Date: Feb 2009
Location: 604, 310, & 775 via 416
Posts: 1,785
Rewards: 404
uhmm i hate you guys


because why weren't you my match teachers in high school or college


no helps a ton guys, i will probably have more questions


thanks yous
__________________
hi
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



All times are GMT -5. The time now is 05:46 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.