CUMIPMT
Financial

Returns the cumulative interest paid between two periods

Syntax:

=CUMIPMT(rate, nper, pv, start_period, end_period, type)

Example:

=CUMIPMT(0.1/12, 36, 5000, 1, 12, 0)