I'm not convinced that this is a valid cash flow model, in the first place. Be that as it may....
The #N/A error arises because XIRR requires at least 2 data points for its calculation. That is, a pair of values and a pair of corresponding dates.
The
#NUM errors arise because XIRR requires at least 2 values with opposite signs. That is, at least one negative
and one positive value.
If you reformat the cells that display 0%, you will see that their actual value is 2.98E-09. In my experience, +/-2.98E-09 should be treated the same as
#NUM and #DIV/0, to wit: usually, they indicate that XIRR requires a "guess".
When I enter a "guess" of -0.5 (-50%), XIRR is able to return valid IRRs.
Frankly, -0.5 was a quick-and-dirty "guess". Just got lucky with it.