Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Excel Bar Chart
  • How To Sort One Column or Multiple Columns in Excel
  • How to Use Solver Tool in Excel
  • Conflicting Multiple Conditional Formatting Rules in Excel
  • Managing Conditional Formatting Rules in Excel

References

  • Find closest match in Excel
  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • How to get first row number in range in Excel
  • How to get address of first cell in range in Excel
  • Convert text string to valid reference in Excel using Indirect function

Data Validations

  • Excel Data validation unique values only
  • Excel Data validation require unique number
  • Excel Data validation don’t exceed total
  • Data validation must not exist in list
  • Excel Data validation number multiple 100

XIRR function: Description, Usage, Syntax, Examples and Explanation

by

What is XIRR function in Excel?

XIRR function is one of Financial functions in Microsoft Excel that returns the internal rate of return for a schedule of cash flows that is not necessarily periodic. To calculate the internal rate of return for a series of periodic cash flows, use the IRR function.

Syntax of XIRR function

XIRR(values, dates, [guess])

The XIRR function syntax has the following arguments:

  • Values: A series of cash flows that corresponds to a schedule of payments in dates. The first payment is optional and corresponds to a cost or payment that occurs at the beginning of the investment. If the first value is a cost or payment, it must be a negative value. All succeeding payments are discounted based on a 365-day year. The series of values must contain at least one positive and one negative value.
  • Dates: A schedule of payment dates that corresponds to the cash flow payments. Dates may occur in any order. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text. .
  • Guess(Optional):  A number that you guess is close to the result of XIRR.

XIRR formula explanation

  • Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.
  • Numbers in dates are truncated to integers.
  • XIRR expects at least one positive cash flow and one negative cash flow; otherwise, XIRR returns the #NUM! error value.
  • If any number in dates is not a valid date, XIRR returns the #VALUE! error value.
  • If any number in dates precedes the starting date, XIRR returns the #NUM! error value.
  • If values and dates contain a different number of values, XIRR returns the #NUM! error value.
  • In most cases you do not need to provide guess for the XIRR calculation. If omitted, guess is assumed to be 0.1 (10 percent).
  • XIRR is closely related to XNPV, the net present value function. The rate of return calculated by XIRR is the interest rate corresponding to XNPV = 0.
  • Excel uses an iterative technique for calculating XIRR. Using a changing rate (starting with guess), XIRR cycles through the calculation until the result is accurate within 0.000001 percent. If XIRR can’t find a result that works after 100 tries, the #NUM! error value is returned. The rate is changed until:where:
    • di = the ith, or last, payment date.
    • d1 = the 0th payment date.
    • Pi = the ith, or last, payment.

Example of XIRR function

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Data
Values Dates
-10,000 1-Jan-08
2,750 1-Mar-08
4,250 30-Oct-08
3,250 15-Feb-09
2,750 1-Apr-09
Formula Description (Result) Result
=XIRR(A3:A7, B3:B7, 0.1) The internal rate of return (0.373362535 or 37.34%) 37.34%

Post navigation

Previous Post:

XNPV function: Description, Usage, Syntax, Examples and Explanation

Next Post:

VDB function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel OR Function
  • Excel If, Nested If, And/Or Criteria Examples
  • IF, AND, OR and NOT Functions Examples in Excel
  • Complete List of Excel Logical Functions, References and Examples
  • Invoice status with nested if in Excel

Date Time

  • Get month from date in Excel
  • Convert Excel time to Unix time in Excel
  • Get days, months, and years between dates in Excel
  • Get project midpoint in Excel
  • How to determine year is a leap year in Excel

Grouping

  • Group arbitrary text values in Excel
  • Group times into unequal buckets in Excel
  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel
  • Group numbers at uneven intervals in Excel

General

  • How to calculate percentage of total in Excel
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
  • Cell References: Relative, Absolute and Mixed Referencing Examples
  • How to calculate decrease by percentage in Excel
  • Using Existing Templates in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning