Question: what is the excel formula yearfrac?
Answer: The Microsoft Excel YEARFRAC function returns the number of days between 2 dates as a year fraction. The YEARFRAC function is a built-in function in Excel that is categorized as a Date/Time Function. It can be used as a worksheet function (WS) in Excel.