I do not agree (or actually - I do not have an opinion, but MicroSoft do not agree with you)
According to support.microsoft.com/en-us/office/xirr-function-de1242ec-6477-445b-b11b-a303ad9adc9d the formula is simply
XIRR(values, dates, [guess])
Values Required. A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive and one negative value.
Dates Required. A schedule of payment dates that corresponds to the cash flow payments. Dates may occur in any order. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text. .
Guess Optional. A number that you guess is close to the result of XIRR.
So in my sheet the XIRR calculation on each line is perfect for the entire series UP TO THAT POINT IN THE SERIES
eg the XIRR up to (including) 2016-02-26 (Line 33) is correct as
=XIRR( $C$2:C33 , $B$2:B33 , 1)
resulting in 148.15
... also the XIRR formula for the entire series ending on line 77 is correct (so is the formula on each line)
=XIRR( $C$2:C77 , $B$2:B77 , 1)
resulting in 148.15
I do understand why the first 5 lines throw errors, it is because there are only negative values up to that point, and the formula requires at least one positive value in the range as well.
... and it also does that with your formulas.
Bookmarks