XIRR
Financial

Returns the internal rate of return for a schedule of cash flows

Syntax:

=XIRR(values, dates, [guess])

Example:

=XIRR(B2:B5, A2:A5, 0.1)