The Excel YEARFRAC function returns a decimal value that represents fractional years between two dates.more