Please see attached spreadsheet, showing the mathematical error. You'll see in Column B is a repeating formula that calculates an integer number that changes every 14 days on a Tuesday.
The problem is in line 47, where suddenly thereafter it changes the integer number every Monday!!
If you dissect the formula:
=IF(ABS(B46-TRUNC(B46)) + ((A47-A46)*0.01) > 0.01*$C$4, TRUNC(B46)+1.01, B46 + ((A47-A46)*0.01))
The blue formula calculates as FALSE, and yet the TRUE part of the IF statement (red) is executed!!!
Does anyone know why? Thanks!!!
Bookmarks