Yesterday, 09:14 PM
I am guessing from the image that you want to get the max of 3 numbers.
Code: (Select All)
maxOfThree = _IIF(a > b, _IIF(a > c, a, c), _IIF(b > c, b, c))