YEARFRAC Function
What is the YEARFRAC Function? The YEARFRAC Function is categorized under Excel DATE/TIME functions. YEARFRAC will return the number of days between two dates as a year fraction, in decimal form, in Excel. In financial analysis, one can use the function to, for example, calculate a portion of annual revenues. Formula =YEARFRAC(start_date, end_date, [basis]) The…