Cookie Policy: This web site uses cookies. By using this site you agree to our cookie policy.
Disclaimer: By posting on this web site it is accepted that you have agreed to the T&C. This is an information forum, and it is just that information, all views are of the individual poster and not that of the site owner. Please DO NOT publish copyrighted material without the owners permission. If you copy news or articles include a link back to the original site. Threads/Posts may be deleted on request. No other links without permission.
BEFORE POSTING A QUESTION: Your question has probably been asked before, so please use the
SEARCH FUNCTION, as we grow tired of answering the same question again and again.


Results 1 to 9 of 9

Thread: Excel Question!

  1. #1

    Join Date
    Feb 2002
    Location
    N Wales
    Age
    47
    Posts
    49,053
    Rep Power
    250

    Excel Question!

    May as well use my own forum for a bit of advice.

    I always use VBasic for checking systems, but with little racing today I thought I'd have a go at Excel.

    I've imported 2 years of results.

    Column A - The horses odds. IE. 1.25, 2.0, 0.8...
    Column B - Where the horse was placed. IE 1 (1st), 2 ,3 ...

    I want the average odds of those placed '1' only, ignoring the losers. How would I do this in nice baby steps :) I have an idea, but don't want to waste time piddling about with it.



  2. #2

    Join Date
    Mar 2002
    Location
    Leicester
    Age
    56
    Posts
    7,624
    Rep Power
    55
    Highlight all the data by clicking on upper left corner of the sheet.

    Menu bar data/sort option. Use this to put all the wins together.

    Then in an empty cell type =average(A1:A200) where A1 is your start cell and A200 your end cell of all the values you wish to average.

    Marcus

    I believe in the Mathematics of large numbers or ask you the occasional dumb question


  3. #3

    Join Date
    Feb 2002
    Location
    N Wales
    Age
    47
    Posts
    49,053
    Rep Power
    250
    That seems like cheating to me. but hey if it works :)

    Don't know why I didn't think about that, although I'm in the middle of installing a new monitor and other bit.

    Cheers



  4. #4

    Join Date
    Mar 2002
    Location
    Leicester
    Age
    56
    Posts
    7,624
    Rep Power
    55
    You said you did not want to piddle about :D

    Marcus

    I believe in the Mathematics of large numbers or ask you the occasional dumb question


  5. #5

    Join Date
    May 2003
    Location
    Up the creek
    Age
    38
    Posts
    7,897
    Rep Power
    58
    If you want to be flash:

    If the positions are in cells A1:A10 and odds in B1:B10, type the formula underneath:

    "=SUMIF(A1:A10,"=1",B1:B10)/COUNTIF(A1:A10,"=1")

    Saves any sorting which if you are not careful can corrupt you data (lesson learned through painful experience!)

    Also has the advantage that you can then sort anyway you like and you keep the average.

    If you want the average for seconds just change the "=1" to "=2".


    "Be Right and Sit Tight" - Jesse Livermore, trading legend...


  6. #6

    Join Date
    Mar 2002
    Location
    Leicester
    Age
    56
    Posts
    7,624
    Rep Power
    55
    I don't trust that countif to be accurate. Tried using on one of my sheets and got false result because it would not count right.

    Marcus

    I believe in the Mathematics of large numbers or ask you the occasional dumb question


  7. #7

    Join Date
    May 2003
    Location
    Up the creek
    Age
    38
    Posts
    7,897
    Rep Power
    58
    It has to be exact so if you use any kind of formula to create the "IF" value, it is liable to go tits up.

    All a matter of personal preference. :D

    "Be Right and Sit Tight" - Jesse Livermore, trading legend...


  8. #8

    Join Date
    Mar 2002
    Location
    Leicester
    Age
    56
    Posts
    7,624
    Rep Power
    55
    I checked and could find no difference between the cells, it just seemed to decide that the last part of the range did not exist.

    Marcus

    I believe in the Mathematics of large numbers or ask you the occasional dumb question


  9. #9

    Join Date
    May 2003
    Location
    Up the creek
    Age
    38
    Posts
    7,897
    Rep Power
    58
    Spooky!

    "Be Right and Sit Tight" - Jesse Livermore, trading legend...


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •