Hello I am stuck. I am trying to make a formula to calculate a premature baby's corrected gestational age using todays date (L1), Baby's Birthdate (D27) and Gestational age at birth (F27).
Baby's gestational age is in the WW.D format. I THINK I am placing F27 in the wrong place because some of my results are resulting in 35.9 which cannot be because there aren't 9 days in 1 week. Can anyone help, please?
Here is what I have:
=IF(ISBLANK(F27),"",(+INT(DATEDIF(D27,$L$1,"D")/7)&"."&MOD(DATEDIF(D27,$L$1,"D"),7))+F27)
Baby's gestational age is in the WW.D format. I THINK I am placing F27 in the wrong place because some of my results are resulting in 35.9 which cannot be because there aren't 9 days in 1 week. Can anyone help, please?
Here is what I have:
=IF(ISBLANK(F27),"",(+INT(DATEDIF(D27,$L$1,"D")/7)&"."&MOD(DATEDIF(D27,$L$1,"D"),7))+F27)