Here is what i have and have wrote these formulas all the way to the 9th horse winning. Yea 3078 combinations and don't look forward to doing the remaining combinations. I'm Hoping someone could help me by sharing some code that would calculate this for me without writing another 3762 formulas. I hope my table below explains it well enough. I enter ratings on each entrant and have formulas that give me each entrants probability. From these probabilities the formulas shown Known as the harville formula gives me the permutations(Trifecta) winning probability.
<tbody>
[TD="class: xl94"]Betting Number[/TD]
[TD="class: xl87"]My Rating[/TD]
[TD="class: xl87"]My Win Odds[/TD]
[TD="class: xl87"]My Win Probability[/TD]
[TD="class: xl95, width: 78"]Permutation
Combination[/TD]
[TD="class: xl96, width: 81"]Permutation Probability[/TD]
[TD="class: xl91, width: 194"]Formula used for each Permutation[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl83"]90[/TD]
[TD="class: xl68"]3.91[/TD]
[TD="class: xl69"]20.37%[/TD]
[TD="class: xl85"]1-2-3[/TD]
[TD="class: xl86"]0.008%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$4*($E$5/(1-$E$4))*(E6/(1-($E$4+$E$5)))),($E$4*($E$5/(1-$E$4))*(E6/(1-($E$4+$E$5)))),"-")[/TD]
[TD="class: xl65"]2[/TD]
[TD="class: xl82"]65[/TD]
[TD="class: xl68"]72.25[/TD]
[TD="class: xl81"]1.37%[/TD]
[TD="class: xl85"]1-2-4[/TD]
[TD="class: xl86"]0.056%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$4*($E$5/(1-$E$4))*(E7/(1-($E$4+$E$5)))),($E$4*($E$5/(1-$E$4))*(E7/(1-($E$4+$E$5)))),"-")[/TD]
[TD="class: xl71"]3[/TD]
[TD="class: xl83"]67[/TD]
[TD="class: xl68"]57.21[/TD]
[TD="class: xl69"]1.72%[/TD]
[TD="class: xl85"]1-2-5[/TD]
[TD="class: xl86"]0.030%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$4*($E$5/(1-$E$4))*(E8/(1-($E$4+$E$5)))),($E$4*($E$5/(1-$E$4))*(E7/(1-($E$4+$E$5)))),"-")[/TD]
[TD="class: xl70"]4[/TD]
[TD="class: xl82"]85[/TD]
[TD="class: xl68"]7.01[/TD]
[TD="class: xl81"]12.49%[/TD]
[TD="class: xl84"]1-2-ETC[/TD]
[TD="class: xl88"]ETC[/TD]
[TD="class: xl92"]ETC[/TD]
[TD="class: xl73"]5[/TD]
[TD="class: xl83"]79[/TD]
[TD="class: xl68"]14.11[/TD]
[TD="class: xl69"]6.62%[/TD]
[TD="class: xl85"]2-1-3[/TD]
[TD="class: xl86"]0.006%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$5*($E$4/(1-$E$5))*(E6/(1-($E$5+$E$4)))),($E$5*($E$4/(1-$E$5))*(E6/(1-($E$5+$E$4)))),"-")[/TD]
[TD="class: xl72"]6[/TD]
[TD="class: xl82"]67[/TD]
[TD="class: xl68"]57.21[/TD]
[TD="class: xl81"]1.72%[/TD]
[TD="class: xl85"]2-1-4[/TD]
[TD="class: xl86"]0.045%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$5*($E$4/(1-$E$5))*(E7/(1-($E$5+$E$4)))),($E$5*($E$4/(1-$E$5))*(E6/(1-($E$5+$E$4)))),"-")[/TD]
[TD="class: xl75"]7[/TD]
[TD="class: xl83"]88[/TD]
[TD="class: xl68"]4.94[/TD]
[TD="class: xl69"]16.84%[/TD]
[TD="class: xl85"]2-1-5[/TD]
[TD="class: xl86"]0.024%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$5*($E$4/(1-$E$5))*(E8/(1-($E$5+$E$4)))),($E$5*($E$4/(1-$E$5))*(E6/(1-($E$5+$E$4)))),"-")[/TD]
[TD="class: xl74"]8[/TD]
[TD="class: xl82"]83[/TD]
[TD="class: xl68"]8.85[/TD]
[TD="class: xl81"]10.15%[/TD]
[TD="class: xl84"]2-1-ETC[/TD]
[TD="class: xl88"]ETC[/TD]
[TD="class: xl92"]ETC[/TD]
[TD="class: xl77"]9[/TD]
[TD="class: xl83"]80[/TD]
[TD="class: xl68"]12.56[/TD]
[TD="class: xl69"]7.38%[/TD]
[TD="class: xl85"]3-1-2[/TD]
[TD="class: xl86"]0.006%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$6*($E$4/(1-$E$6))*(E5/(1-($E$6+$E$4)))),($E$6*($E$4/(1-$E$6))*(E5/(1-($E$6+$E$4)))),"-")[/TD]
[TD="class: xl76"]10[/TD]
[TD="class: xl82"]77[/TD]
[TD="class: xl68"]17.82[/TD]
[TD="class: xl81"]5.31%[/TD]
[TD="class: xl85"]3-1-4[/TD]
[TD="class: xl86"]0.057%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$6*($E$4/(1-$E$6))*(E7/(1-($E$6+$E$4)))),($E$6*($E$4/(1-$E$6))*(E5/(1-($E$6+$E$4)))),"-")[/TD]
[TD="class: xl79"]11[/TD]
[TD="class: xl83"]73[/TD]
[TD="class: xl68"]28.41[/TD]
[TD="class: xl69"]3.40%[/TD]
[TD="class: xl85"]3-1-5[/TD]
[TD="class: xl86"]0.030%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$6*($E$4/(1-$E$6))*(E8/(1-($E$6+$E$4)))),($E$6*($E$4/(1-$E$6))*(E5/(1-($E$6+$E$4)))),"-")[/TD]
[TD="class: xl78"]12[/TD]
[TD="class: xl82"]85[/TD]
[TD="class: xl68"]7.01[/TD]
[TD="class: xl81"]12.49%[/TD]
[TD="class: xl93"]20-19-18[/TD]
[TD="class: xl90"]ETC[/TD]
</tbody>
<tbody>
[TD="class: xl94"]Betting Number[/TD]
[TD="class: xl87"]My Rating[/TD]
[TD="class: xl87"]My Win Odds[/TD]
[TD="class: xl87"]My Win Probability[/TD]
[TD="class: xl95, width: 78"]Permutation
Combination[/TD]
[TD="class: xl96, width: 81"]Permutation Probability[/TD]
[TD="class: xl91, width: 194"]Formula used for each Permutation[/TD]
[TD="class: xl66"]1[/TD]
[TD="class: xl83"]90[/TD]
[TD="class: xl68"]3.91[/TD]
[TD="class: xl69"]20.37%[/TD]
[TD="class: xl85"]1-2-3[/TD]
[TD="class: xl86"]0.008%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$4*($E$5/(1-$E$4))*(E6/(1-($E$4+$E$5)))),($E$4*($E$5/(1-$E$4))*(E6/(1-($E$4+$E$5)))),"-")[/TD]
[TD="class: xl65"]2[/TD]
[TD="class: xl82"]65[/TD]
[TD="class: xl68"]72.25[/TD]
[TD="class: xl81"]1.37%[/TD]
[TD="class: xl85"]1-2-4[/TD]
[TD="class: xl86"]0.056%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$4*($E$5/(1-$E$4))*(E7/(1-($E$4+$E$5)))),($E$4*($E$5/(1-$E$4))*(E7/(1-($E$4+$E$5)))),"-")[/TD]
[TD="class: xl71"]3[/TD]
[TD="class: xl83"]67[/TD]
[TD="class: xl68"]57.21[/TD]
[TD="class: xl69"]1.72%[/TD]
[TD="class: xl85"]1-2-5[/TD]
[TD="class: xl86"]0.030%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$4*($E$5/(1-$E$4))*(E8/(1-($E$4+$E$5)))),($E$4*($E$5/(1-$E$4))*(E7/(1-($E$4+$E$5)))),"-")[/TD]
[TD="class: xl70"]4[/TD]
[TD="class: xl82"]85[/TD]
[TD="class: xl68"]7.01[/TD]
[TD="class: xl81"]12.49%[/TD]
[TD="class: xl84"]1-2-ETC[/TD]
[TD="class: xl88"]ETC[/TD]
[TD="class: xl92"]ETC[/TD]
[TD="class: xl73"]5[/TD]
[TD="class: xl83"]79[/TD]
[TD="class: xl68"]14.11[/TD]
[TD="class: xl69"]6.62%[/TD]
[TD="class: xl85"]2-1-3[/TD]
[TD="class: xl86"]0.006%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$5*($E$4/(1-$E$5))*(E6/(1-($E$5+$E$4)))),($E$5*($E$4/(1-$E$5))*(E6/(1-($E$5+$E$4)))),"-")[/TD]
[TD="class: xl72"]6[/TD]
[TD="class: xl82"]67[/TD]
[TD="class: xl68"]57.21[/TD]
[TD="class: xl81"]1.72%[/TD]
[TD="class: xl85"]2-1-4[/TD]
[TD="class: xl86"]0.045%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$5*($E$4/(1-$E$5))*(E7/(1-($E$5+$E$4)))),($E$5*($E$4/(1-$E$5))*(E6/(1-($E$5+$E$4)))),"-")[/TD]
[TD="class: xl75"]7[/TD]
[TD="class: xl83"]88[/TD]
[TD="class: xl68"]4.94[/TD]
[TD="class: xl69"]16.84%[/TD]
[TD="class: xl85"]2-1-5[/TD]
[TD="class: xl86"]0.024%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$5*($E$4/(1-$E$5))*(E8/(1-($E$5+$E$4)))),($E$5*($E$4/(1-$E$5))*(E6/(1-($E$5+$E$4)))),"-")[/TD]
[TD="class: xl74"]8[/TD]
[TD="class: xl82"]83[/TD]
[TD="class: xl68"]8.85[/TD]
[TD="class: xl81"]10.15%[/TD]
[TD="class: xl84"]2-1-ETC[/TD]
[TD="class: xl88"]ETC[/TD]
[TD="class: xl92"]ETC[/TD]
[TD="class: xl77"]9[/TD]
[TD="class: xl83"]80[/TD]
[TD="class: xl68"]12.56[/TD]
[TD="class: xl69"]7.38%[/TD]
[TD="class: xl85"]3-1-2[/TD]
[TD="class: xl86"]0.006%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$6*($E$4/(1-$E$6))*(E5/(1-($E$6+$E$4)))),($E$6*($E$4/(1-$E$6))*(E5/(1-($E$6+$E$4)))),"-")[/TD]
[TD="class: xl76"]10[/TD]
[TD="class: xl82"]77[/TD]
[TD="class: xl68"]17.82[/TD]
[TD="class: xl81"]5.31%[/TD]
[TD="class: xl85"]3-1-4[/TD]
[TD="class: xl86"]0.057%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$6*($E$4/(1-$E$6))*(E7/(1-($E$6+$E$4)))),($E$6*($E$4/(1-$E$6))*(E5/(1-($E$6+$E$4)))),"-")[/TD]
[TD="class: xl79"]11[/TD]
[TD="class: xl83"]73[/TD]
[TD="class: xl68"]28.41[/TD]
[TD="class: xl69"]3.40%[/TD]
[TD="class: xl85"]3-1-5[/TD]
[TD="class: xl86"]0.030%[/TD]
[TD="class: xl92"]IF(ISNUMBER($E$6*($E$4/(1-$E$6))*(E8/(1-($E$6+$E$4)))),($E$6*($E$4/(1-$E$6))*(E5/(1-($E$6+$E$4)))),"-")[/TD]
[TD="class: xl78"]12[/TD]
[TD="class: xl82"]85[/TD]
[TD="class: xl68"]7.01[/TD]
[TD="class: xl81"]12.49%[/TD]
[TD="class: xl93"]20-19-18[/TD]
[TD="class: xl90"]ETC[/TD]
</tbody>