YEARFRAC function. Get the percentage of the period between the two dates in a year.(Microsoft Excel)

03/31/2024

Japanese version.

Get the percentage of the period between the two dates in a year.

How it works

=YEARFRAC(Start_date, End_date, Basis)
ArgumentOmissionSpecify
Start_dateRequired argument.Start date of the calculation.
End_dateRequired argument.End date of calculation.
Basis0Calculation Method.

Basis

BasisCalculation Method.
030days / 360days (NASD)
1Actual days / Actual days
2Actual days /360days
3Actual days /365days
430days / 360days (European method)

Example Results

The following cases are also calculated without a sign.

  • End date is more past.
  • The year crosses over.

---

Links

Date & Time(Microsoft Excel Functions)