Be careful simply adding total tax paid back to determine XIRR - the result is not the same as having not paid tax - time value of money and all that...depends on what you really want the final figure to be...