Days Delta Colum: project done on time, pending, done early, done overdue

Hi everyone, I have a column with my formula for days delta, a column for our tracking (done on time, overdue, early, pending, etc. ). I don’t know why the formula will spit out a 1 instead of a 0 for some of the projects done on time for the days delta, but not others. Any thoughts? I am sharing my formulas. TY!2023-03-17T05:00:00Z


image (34)
image (33)