Difference between revisions of "Manuals/calci/XIRR"
Jump to navigation
Jump to search
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <div style="font-size:30px">'''XIRR( | + | <div style="font-size:30px">'''XIRR (CashFlowEvents,Dates,StartGuess,Accuracy,NoOfIterations)'''</div><br/> |
− | *<math> | + | *<math>CashFlowEvents</math> is the array of values. |
− | *<math>Dates</math> is | + | *<math>Dates</math> is the date value. |
− | *<math> | + | *<math>StartGuess</math> is the starting number is close to the result of XIRR. |
+ | *<math>Accuracy</math> is the accuracy value. | ||
+ | *<math>NoOfIterations </math> is the number of iterations. | ||
+ | **XIRR(), returns the internal rate of return for a schedule of cash flows that is not necessarily periodic | ||
==Description== | ==Description== | ||
− | *This function | + | *This function gives the internal rate of return for a series. |
− | * | + | *In this function the cash flows that occur at uniform intervals which means that is not necessarily periodic. |
− | * | + | *To calculate the internal rate of return for a series in a periodic time ,we can use the IRR function. |
− | * | + | *<math>XIRR</math> is the <math>IRR</math> when the periodicity between cash flows is not equal. |
− | + | *<math>XIRR</math> function uses the iterative process to calculate the returns, so it is not possible to trial by hand. | |
− | + | *So this is most powerful function in CALCI. | |
− | + | *In <math>XIRR (CashFlowEvents,Dates,StartGuess,Accuracy,NoOfIterations)</math> ,<math>CashFlowEvents</math> is an values which is the array or a reference to cells that contain numbers for which you want to calculate the internal rate of return. | |
+ | *<math>CashFlowEvents</math> must have atleast one positive and one negative value to find the internal rate of return. | ||
+ | *Normally the first payment is optional,so the corresponding payment that occurs at the beginning of the investment. | ||
+ | *Then the first payment should be negative value. | ||
+ | *<math>Dates</math> is the date value which is indicating the schedule of the payment. | ||
+ | *Also the first payment date is the beginning of the schedule of payments. | ||
+ | *And date should entered in [[Manuals/calci/DATE | DATE ]] function format. | ||
+ | *<math>StartGuess</math> is the guess which is indicating the number that you guess is close to the result of <math>XIRR</math>. | ||
+ | *<math>Accuracy</math> is the accuracy value . | ||
+ | *<math>NoOfIterations</math> is the number of iterations. | ||
+ | *suppose when we are omitting the value of <math>NoOfIterations</math>,by default it will consider as 10. | ||
+ | *The value of <math>CashFlowEvents</math> can be array or reference argument contains text, logical values or empty cells, the values which are ignored. | ||
+ | *The <math>StartGuess</math> value is optional, when we are omitting the <math>StartGuess</math> value,by default it will consider the value as 10%(0.1). | ||
+ | *This function is using iterative technique, so we can't find a result after 100 iterations. | ||
+ | *So the rate is changed until: | ||
+ | di=the ith, or last,payment date. | ||
+ | d1=the 0th payment date. | ||
+ | Pi=the ith or last payment. | ||
+ | *The rate of return calculated by <math>XIRR</math> is the interest rate corresponding to <math>XNPV = 0</math>. | ||
+ | *This function will give the result as error when | ||
+ | 1. Any date is not a valid date or not in a date function format. | ||
+ | 2. Any date is precedes the starting date. | ||
+ | 3. Also CashFlowEvents and Dates is having different number of values. | ||
− | + | ==Examples== | |
− | + | {| class="wikitable" | |
− | + | |+Spreadsheet | |
− | = | + | |- |
− | + | ! !! A !! B | |
− | XIRR( | + | |- |
− | + | ! 1 | |
+ | | -25000 || 2/1/2012 | ||
+ | |- | ||
+ | ! 2 | ||
+ | | 5700 || 5/12/2012 | ||
+ | |- | ||
+ | ! 3 | ||
+ | | 4900 || 10/28/2012 | ||
+ | |- | ||
+ | ! 4 | ||
+ | | 13500 || 1/16/2013 | ||
+ | |- | ||
+ | ! 5 | ||
+ | | 10000 || 4/3/2013 | ||
+ | |} | ||
+ | #=XIRR(A1:A5,B1:B5,0,0.1)=0.43578123326 | ||
+ | #=XIRR(A1:A5,B1:B5,0,0,2) = 0.43572667130 | ||
+ | #=XIRR(A1:A5,B1:B5,1,5,0) =0.18336350930 | ||
− | + | ==Related Videos== | |
− | + | {{#ev:youtube|f0KUuHVscaI|280|center|XIRR}} | |
− | + | ==See Also== | |
+ | *[[Manuals/calci/IRR | IRR ]] | ||
+ | *[[Manuals/calci/NPV | NPV ]] | ||
+ | *[[Manuals/calci/RATE | RATE ]] | ||
+ | *[[Manuals/calci/MIRR | MIRR ]] | ||
− | + | ==References== | |
+ | *[https://wiki.openoffice.org/wiki/Documentation/How_Tos/Calc:_XIRR_function Xirr] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *[[Z_API_Functions | List of Main Z Functions]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *[[ Z3 | Z3 home ]] | |
− |
Latest revision as of 17:15, 30 July 2018
XIRR (CashFlowEvents,Dates,StartGuess,Accuracy,NoOfIterations)
- is the array of values.
- is the date value.
- is the starting number is close to the result of XIRR.
- is the accuracy value.
- is the number of iterations.
- XIRR(), returns the internal rate of return for a schedule of cash flows that is not necessarily periodic
Description
- This function gives the internal rate of return for a series.
- In this function the cash flows that occur at uniform intervals which means that is not necessarily periodic.
- To calculate the internal rate of return for a series in a periodic time ,we can use the IRR function.
- is the when the periodicity between cash flows is not equal.
- function uses the iterative process to calculate the returns, so it is not possible to trial by hand.
- So this is most powerful function in CALCI.
- In , is an values which is the array or a reference to cells that contain numbers for which you want to calculate the internal rate of return.
- must have atleast one positive and one negative value to find the internal rate of return.
- Normally the first payment is optional,so the corresponding payment that occurs at the beginning of the investment.
- Then the first payment should be negative value.
- is the date value which is indicating the schedule of the payment.
- Also the first payment date is the beginning of the schedule of payments.
- And date should entered in DATE function format.
- is the guess which is indicating the number that you guess is close to the result of .
- is the accuracy value .
- is the number of iterations.
- suppose when we are omitting the value of ,by default it will consider as 10.
- The value of can be array or reference argument contains text, logical values or empty cells, the values which are ignored.
- The value is optional, when we are omitting the value,by default it will consider the value as 10%(0.1).
- This function is using iterative technique, so we can't find a result after 100 iterations.
- So the rate is changed until:
di=the ith, or last,payment date. d1=the 0th payment date. Pi=the ith or last payment.
- The rate of return calculated by is the interest rate corresponding to .
- This function will give the result as error when
1. Any date is not a valid date or not in a date function format. 2. Any date is precedes the starting date. 3. Also CashFlowEvents and Dates is having different number of values.
Examples
A | B | |
---|---|---|
1 | -25000 | 2/1/2012 |
2 | 5700 | 5/12/2012 |
3 | 4900 | 10/28/2012 |
4 | 13500 | 1/16/2013 |
5 | 10000 | 4/3/2013 |
- =XIRR(A1:A5,B1:B5,0,0.1)=0.43578123326
- =XIRR(A1:A5,B1:B5,0,0,2) = 0.43572667130
- =XIRR(A1:A5,B1:B5,1,5,0) =0.18336350930
Related Videos
See Also
References