It is a sort of a nasty calculation, but here is how you do it:
[PTS]
+ [TRB] * 1.25
+ [AST] * 1.5
+ [STL] * 2
+ [BLK] * 2
- [TOV] * 0.5
+ iif(
iif([PTS] >= 10, 1, 0)
+ iif([Reb] >= 10, 1, 0)
+ iif([AST] >= 10, 1, 0)
+ iif([Blk] >= 10, 1, 0)
+ iif([Stl] >= 10, 1, 0) = 2
, 1.5
, 0
)
+ iif(
iif([PTS] >= 10, 1, 0)
+ iif([Reb] >= 10, 1, 0)
+ iif([AST] >= 10, 1, 0)
+ iif([Blk] >= 10, 1, 0)
+ iif([Stl] >= 10, 1, 0) = 3
, 3
, 0
)
That is, use iif()
to convert each comparison to 0
or 1
, then add these together and compare to the threshold number.