by osknows » Fri Oct 30, 2009 8:34 am
To count non nulls in a range you can use =count(A5:A20)
If you assume that a runner's odds go to 0 in the lay market you can count runners still in the race using =COUNTIF(A5:A20,">0")
If you want to count between 2 conditions you could use
=COUNTIF(A5:A20,"<"&A5)-COUNTIF(A5:A20,"=0")
which counts the number of runners with values less than A5 across A5:A20 but greater than 0
You can swap =0, >0 to =1000, <1000 if you are using odds in the back market