Google Sheets functions / Date & Time
Date & Time function · Google Sheets
YEARFRAC function
Year fraction between two dates.
Reference entry. Syntax, tested examples and a practice file arrive with the full guide. Open the official function list.
Year fraction between two dates.