Enter investments as negative amounts and returns as positive amounts. This calculates XIRR (annualized IRR) for irregular dates.