Decimal Odds Calculator excluding blanks

ronie85

Board Regular
Joined
Jan 25, 2014
Messages
96
Office Version
  1. 365
Platform
  1. Windows
Hi, i require a formula to calculate decimal betting odds but disregarding the blanks.

As the rows can be 8 cells long, i need the 2nd row showing 1.07 & 1.39 to calculate =SUM(1*A2*B2*C2*D2*E2*F2*G2*H2) and return a value of 1.4873 however as columns C to H are blank, this will return 0.
I need the forumal only to calculate the actual cells with text, disregarding the blanks.
I will then copy this forumla down each row.




Odds 1Odds 2Odds 3Odds 4Odds 5Odds 6Odds 7Odds 8
1.07​
1.39​
1.34​
1.18​
1.29​
1.27​
1.16​
1.28​
1.67​
1.87​
1.71​
1.96​
1.2​
1.43​
1.27​
1.28​
1.21​
1.36​
1.28​
1.06​
1.41​
1.18​
1.2​
1.42​
1.95​
1.67​
1.3​
1.62​
1.64​
1.57​
1.54​
1.24​
1.45​
1.61​
1.69​
1.166667​
1.37​
1.27​
1.21​
1.54​
1.65​
1.58​
1.39​
1.45​
1.39​
1.6​
1.38​
1.61​
1.33​
1.5​
1.44​
1.615385​
1.333333​
1.5​
1.5​
1.45​
1.181818​
1.666667​
1.55​
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Try this:

Mr Excel Questions 71.xlsm
ABCDEFGHI
1Odds 1Odds 2Odds 3Odds 4Odds 5Odds 6Odds 7Odds 8PRODUCT
21.071.391.4873
31.341.181.291.271.161.283.846345
41.671.871.715.340159
51.961.21.433.36336
61.271.281.211.361.281.063.629559
71.411.181.21.99656
81.421.42
91.951.671.31.621.641.571.541.2433.7206
101.451.611.693.945305
111.1666671.371.271.212.45616
121.541.651.581.391.451.391.61.3824.83467
131.611.331.51.444.625208
141.6153851.3333331.51.51.451.1818188.304544
151.6666671.552.583334
ronie85
Cell Formulas
RangeFormula
I2:I15I2=PRODUCT(FILTER(A2:H2,ISBLANK(A2:H2)=FALSE))
 
Upvote 0
Happy you found a solution.

Best Wishes.
 
Upvote 0
No need to FILTER

23 11 05.xlsm
ABCDEFGHI
1Odds 1Odds 2Odds 3Odds 4Odds 5Odds 6Odds 7Odds 8PRODUCT
21.071.391.4873
31.341.181.291.271.161.283.846344645
41.671.871.715.340159
51.961.21.433.36336
61.271.281.211.361.281.063.62955853
71.411.181.21.99656
81.421.42
91.951.671.31.621.641.571.541.2433.72060484
101.451.611.693.945305
111.1666671.371.271.212.456159535
121.541.651.581.391.451.391.61.3824.83467173
131.611.331.51.444.625208
141.6153851.3333331.51.51.451.1818188.304544078
151.6666671.552.58333385
Product
Cell Formulas
RangeFormula
I2:I15I2=PRODUCT(A2:H2)


.. or you could do all the rows at once with this single formula.

23 11 05.xlsm
ABCDEFGHI
1Odds 1Odds 2Odds 3Odds 4Odds 5Odds 6Odds 7Odds 8PRODUCT
21.071.391.4873
31.341.181.291.271.161.283.846344645
41.671.871.715.340159
51.961.21.433.36336
61.271.281.211.361.281.063.62955853
71.411.181.21.99656
81.421.42
91.951.671.31.621.641.571.541.2433.72060484
101.451.611.693.945305
111.1666671.371.271.212.456159535
121.541.651.581.391.451.391.61.3824.83467173
131.611.331.51.444.625208
141.6153851.3333331.51.51.451.1818188.304544078
151.6666671.552.58333385
Product (2)
Cell Formulas
RangeFormula
I2:I15I2=BYROW(A2:H15,LAMBDA(rw,PRODUCT(rw)))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top