# XIRR vs IRR in Excel (Differences with Examples)

In order to assess the return on investment over time, the IRR function determines the internal rate of return on the capital after taking the discount rate into account. Contrarily, in order to precisely calculate the return, the XIRR function, which is an extension of the internal rate of return, takes into account the cash flows, discount rates, and associated dates. So, in this article, I will show you the key difference between XIRR vs IRR functions in Excel with examples.

## Basics of Excel XIRR vs IRR Functions

The IRR function (Internal Rate of Return) calculates the internal rate of return for a series of given periodic cash flows. However, these cash flows do not have to be even, though they should include the initial input investment and the subsequent values that denote the net income. The internal rate of return is utilized, in order to give an indication of the profitability of a potential investment.

Also, the higher the internal rate of return for a particular investment, the more likely it is that the investment will be profitable. Besides, The IRR function is similar to the NPV function. The IRR function, however, works on the premise that the NPV is 0.Â  Hence, The IRR input values are spaced at regular, equal intervals. The XIRR function is used to calculate the internal rate of return for cash flows that are not periodic. Consequently, The XIRR value is closely related to the XNPV function and is the internal rate of return calculated for a corresponding XNPV of 0.

## XIRR vs IRR Function: Comparisons in Tabular Form

Hence, in this section, I will show the comparison between XIRR vs IRR functions in a tabular format. So, this comparison will be based on their meaning, their operational process, and so on.

Points of Comparison The XIRR function The IRR function
Context Firstly, The XIRR function (Internal Rate of Return) is used to calculate the internal rate of return for a series of given periodic cash flows. Contrarily, The XRR function is used to calculate the internal rate of return for cash flows that are not periodic
Modus Operandi Secondly, The XIRR function requires three parameters for working; they are values, dates, and guesses. The values must contain at least one positive value and one negative value. The values must be entered in the correct sequence as well. All subsequent dates must be later than the starting date. Conversely, The IRR function requires two parameters to work; they are: values and guess. The values must contain at least one positive value and one negative value. Furthermore, the values must be entered in the correct sequence as well.
Expansion Rate Thirdly, the users donâ€™t have to input the expansion or inflation rate in the argument in general. By default, the function guesses it as 10%(0.1). But if the calculation requires it, then the user can manually input the rate. This point is the same as the XIRR function for the IRR function.
Specific Time Fourthly, to work with this function, users need to mention time or periods to get the return on investment. On the other hand, to work with this function, users do not need to mention specific times or periods.
Superior Analyzer Finally, The XIRR function reviews the time flow or periods for getting the final result. So, it is more dependable than the IRR function. However, the IRR function does not review the time flow or periods for getting the final result. So, the users might not get an accurate result.

## Excel XIRR Function: Syntax and Arguments

Summary:

• The XIRR function shows the internal rate of return for a sequence of cash flows that are not periodic.
• The values entered into the argument must contain at least one positive value and one negative value. Otherwise, it will result in an error.
• Available from Excel 2007.

Syntax:

The syntax of the XIRR function is:

`=XIRR(values, dates, [guess])`

Arguments:

Argument Required or Optional Value
Values Required Refers to a series of numbers that represent cash flows with a corresponding date schedule.
Dates Required Is a schedule of payment dates that corresponds to the cash flow payments.
Guess Optional Is a guess at the internal rate of return, if left out Excel assumes a guess value of 0.1 or 10%.

Return:

The XIRR function shows the internal rate of return for a series of cash flows that are not periodic all the time.

## Excel IRR Function: Syntax and Arguments

Summary:

• The IRR function shows the internal rate of return for a sequence of cash flows enacted by given numbers as cell values.
• The values entered into the argument must contain at least one positive value and one negative value. Furthermore, the values must be entered in the correct sequence as well.
• Available from Excel 2007.

Syntax:

The syntax of the IRR function is:

`=IRR(values, [guess])`

Arguments:

Argument Required or Optional Value
Values Required Refers to a series of numbers that represent cash flows.
Guess Optional Is a guess at the internal rate of return, if left out Excel assumes a guess value of 0.1 or 10%.

Return:

Returns the internal rate of return for a sequence of given periodic cash flows.

## XIRR vs IRR Function: Applicational Differences

Consequently, in this section, I will demonstrate to you how to use these two functions in Excel and what the outcome will be after using these functions. So, from the outcome, you will be able to see the XIRR vs IRR in Excel. To proceed further, we will use the following data set.

Basically, I have the income statement, cash flow, and particular dates of a random organization. So, this data will help me to differentiate between those functions.

### 1. Using the XIRR Function in Excel

I have discussed the details of the XIRR function in the earlier sections. So, in the following steps, I will show you the use of this function in Excel.

Step 1:

• First of all, write the following formula of the XIRR function in cell D10.
`=XIRR(D5:D9,C5:C9)`

Step 2:

• Secondly, press Enter to get the Return on Investment (ROI) from the above formula.

### 2. Using IRR Function in Excel

Secondly, I will show the procedure to use the IRR function in Excel. For that, follow the below-given steps.

Step 1:

• Firstly, in cell D10 type the following formula of the IRR function.
`=IRR(D5:D9)`

Step 2:

• Secondly, to see the Return on Investment (ROI), press Enter.

From the above two examples, you can see that, by using the XIRR function, you will be able to get more Return on Investment (RO)) percentage (23.7%) compared to the IRR function (16.2%). This is because, we have considered a particular date scheduled cash flow in the formula of the XIRR function, which gives you a more accurate result.

## Conclusion

Therefore, The main key difference between XIRR vs IRR functions in Excel is that XIRR is utilized for irregular cash flows. Both give an indication of the potential profitability of a project or investment and can be utilized as a comparative benchmark. Moreover, The IRR and XIRR functions, like the NPV and XNPV, can be used as indicators of the attractiveness of a potential investment or project. The IRR and XIRR functions, however, rate attractiveness as a percentage versus an actual dollar amount (as in the case of the NPV and XNPV functions)

Please feel free to comment and tell us what projects/investments, you use IRR and XIRR for.

## Related Articles

<< Go Back to Excel Formulas for Finance | Excel for Finance | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Taryn Nefdt

Taryn is a Microsoft Certified Professional, who has used Office Applications such as Excel and Access extensively, in her interdisciplinary academic career and work experience. She has a background in biochemistry, Geographical Information Systems (GIS), and biofuels. She enjoys showcasing the functionality of Excel in various disciplines. She has over ten years of experience using Excel and Access to create advanced integrated solutions.

We will be happy to hear your thoughts

Advanced Excel Exercises with Solutions PDF