0

As screenshot shows below. Variable sum is 1 but still I end up in the else statement. How come?

enter image description here

Edit: Solution. Wrote code as below. Good enough precision, included as many 9's and 0's before Excel change to 1# which does not work either:

If sum > 0.999...99 and sum < 1.00...001 Then
David
  • 167
  • 1
  • 3
  • 10

0 Answers0