### Excel XIRR Function

##### Associated Files Download Links

Contents

This Excel Tutorial demonstrates how to use the **Excel XIRR Function** in Excel to calculate the internal rate of return of a set of cash flows, with formula examples.

## XIRR Function Description:

The XIRR Function Calculates the internal rate of return for a series of cash flows. The cash flows do not need to be periodic.

## Formula Examples:

Example | Formula | Result |
---|---|---|

1 | =XIRR(B5:B10,C5:C10,E5) | 0.510201412439346 |

## Syntax and Arguments:

The Syntax for the XIRR Formula is:

1 | =XIRR(values,dates,guess) |

### Function Arguments ( Inputs ):

**values** – The series of payments.

**dates** – The series of dates representing the payment schedule for the series of payments.

**guess** – A guess of the IRR. Default is .1.

## Additional Notes

Use the XIRR Function to calculate the Internal Rate of Return of an investment.

Cash Flows do not need to be periodic. Instead, you must enter the corresponding dates along with the cash flows.

The result of the XIRR Function may appear as a decimal. Change the cell Number Formatting to Percentage to display the function result as a percentage:

## XIRR Examples in VBA

You can also use the XIRR function in VBA. Type:

`application.worksheetfunction.xirr(values,dates,guess)`

For the function arguments (values, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

## How to use the XIRR Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:

`=AND(`

After entering it in the cell, notice how the AND formula inputs appear below the cell:

You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=XIRR(” into a cell, without leaving the cell, use the shortcut **CTRL + A** (**A** for **A**rguments) to open the “Insert Function Dialog Box” for detailed instructions:

For more information about the XIRR Formula visit the

Microsoft Website.