I am trying to construct a formula to calculate the number of days between 2 dates. If cell A1(starting date) is blank, return "0". If cell B1 (end date) is blank, return the difference between A1 and today's date. I have this: =ABS(TODAY()-E7)
=if(isblank(E7),0,if(isblank(F7),today()-E7,F7-E7))
=if(isblank(F7),today()-E7,(F7-E7)*(E7>0))