1. #1
    Waterstpub87
    Slan go foill
    Waterstpub87's Avatar Become A Pro!
    Join Date: 09-09-09
    Posts: 4,044
    Betpoints: 7292

    Excel Help

    Trying to make an automated backtest system in excel.

    I pull SBRodds for particular days and parse it to get the spread which looks like this:
    -1½

    However, excel does not recognize this as a number.

    Does anyone know how to easily convert that to -1.5?

  2. #2
    nash13
    nash13's Avatar Become A Pro!
    Join Date: 01-21-14
    Posts: 1,122
    Betpoints: 7160

    You can do a macro which replaces that expression with -1.5

  3. #3
    Waterstpub87
    Slan go foill
    Waterstpub87's Avatar Become A Pro!
    Join Date: 09-09-09
    Posts: 4,044
    Betpoints: 7292

    Excel doesnt recognize as number. Surely someone must have used the data import function in excel to import daily lines and would have figured out a fix for this.

  4. #4
    Thunderground
    Thunderground's Avatar Become A Pro!
    Join Date: 09-09-15
    Posts: 256
    Betpoints: 277

    have you tried resetting the column from 'fraction' to 'number'? Those options are under 'general'.

  5. #5
    Waterstpub87
    Slan go foill
    Waterstpub87's Avatar Become A Pro!
    Join Date: 09-09-09
    Posts: 4,044
    Betpoints: 7292

    Yes. Excel does not recognize the output as a number, so changing the number format will not work.

  6. #6
    HeeeHAWWWW
    HeeeHAWWWW's Avatar Become A Pro!
    Join Date: 06-13-08
    Posts: 5,487
    Betpoints: 578

    Tried the VALUE function?

  7. #7
    Waterstpub87
    Slan go foill
    Waterstpub87's Avatar Become A Pro!
    Join Date: 09-09-09
    Posts: 4,044
    Betpoints: 7292

    I didn't. Problem solved though

    =replace(A116,3,1,.5)

  8. #8
    HeeeHAWWWW
    HeeeHAWWWW's Avatar Become A Pro!
    Join Date: 06-13-08
    Posts: 5,487
    Betpoints: 578

    If at all possible, try to do this in R instead. I did it in Excel originally, and after a few more years and a mass of extra stats, it's become ridiculously slow and unstable.

  9. #9
    Waterstpub87
    Slan go foill
    Waterstpub87's Avatar Become A Pro!
    Join Date: 09-09-09
    Posts: 4,044
    Betpoints: 7292

    Quote Originally Posted by HeeeHAWWWW View Post
    If at all possible, try to do this in R instead. I did it in Excel originally, and after a few more years and a mass of extra stats, it's become ridiculously slow and unstable.
    familiar with R, some people use it at work. Need to learn more about it. More familiar with VBA for now. Hope to learn more about R soon.

Top