The YEARFRAC function is one of the date and time functions. It is used to return the fraction of a year represented by the number of whole days from start-date to end-date calculated on the specified basis.
The YEARFRAC function syntax is:
YEARFRAC(start-date, end-date [,basis])
start-date is a number representing the first date of the period, entered using the Date function or other date and time function.
end-date is a number representing the last date of the period, entered using the Date function or other date and time function.
basis is the day count basis to use, a numeric value greater than or equal to 0, but less than or equal to 4. It can be one of the following:
Note: if the start-date, end-date or basis is a decimal value, the function will ignore the numbers to the right of the decimal point.
To apply the YEARFRAC function,
The result will be displayed in the selected cell.
Please note that AVS4YOU programs do not allow you to copy protected material. You may use this software in copying material in which you own the copyright or have obtained permission to copy from the copyright owner.
AVS4YOU is a registered trademark of Online Media Technologies, Ltd., UK. Intel and Core 2 Duo are registered trademarks of Intel Corporation. AMD and Athlon X2 are registered trademarks of Advanced Micro Devices, Inc. Windows 10/8.1/8/7/XP/2003/Vista are registered trademarks of Microsoft Corporation. All other trademarks are the property of their respective owners.