I am trying to get excel to do a calculation for me based on information below. If Column F is blank I want Excel to calculate LOS Years, LOS Months, LOS Days with start date Column A and today. If Column F is not blank like below then I want Excel to calculate LOS years, LOS months, LOS days from date in Column A and Column F. I'm just at a loss for how I need to write this, everything I've tried has not worked.
my last try was =If(F2="", DATEDIF(A2,Today(),"Y")) then I do the same thing in the Month column and days column but its not giving me the answer I'm looking for.
Admit Date-Column A | LOS Years-Column B | LOS Months-Column C | LOS Days-Column D | Assigned to-Column E | Community Date- Column F |
06/12/22 | 01/03/24 |
my last try was =If(F2="", DATEDIF(A2,Today(),"Y")) then I do the same thing in the Month column and days column but its not giving me the answer I'm looking for.