XIRR

Calculates the internal rate of return of an investment based on a specified series of potentially irregularly spaced cash flows. Learn more

Video field
Financial

XIRR is a financial function in Google Sheets that calculates the internal rate of return for a series of cash flows occurring at irregular intervals.

The XIRR function takes in two arrays of arguments:

"cashflowamounts" which represents the cash flows, including the initial investment as a negative value, followed by all subsequent cash flows as positive values. "cashflowdates" which represents the dates of each cash flow. Optionally, you can provide a third argument, "rate_guess", which is an estimate for the expected internal rate of return.

The XIRR function returns the internal rate of return (IRR) for the series of cash flows, which is the interest rate at which the net present value of all cash flows equals zero.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!