A B C D E F G H I J K L M N
2
3 IRRT
4
5 Category: Discounted Cash Flow
6 Family: DCF Specific Times
7 Arguments: Dates, Cashflows, [IRRMinOpt], [IRRMaxOpt], [IRRAccOpt], [DayCountDisc], [PrdsDisc], [PVTOptions]
8 Meaning: Internal Rate of Return of cashflows at specific times
9 Description: Returns the IRR (internal rate of return) of the cashflow represented by Dates and the corresponding Amounts
10        
11 Dates    1 Jan 00  1 Jan 01  1 Jan 02  1 Jan 03  
12 CashFlows   (100)   50   50   50  
13        
14
15
16
17
18
19
20 DayCount IRRT
21   Omitted Actual Days/Actual Days In Month ('Decimal Year').     23.3752%   
22     30/360 (PSA).     23.3752%   
23     1 Actual/Actual (365 or 366).     23.3752%   
24     2 Actual Days/360.     22.9832%    Excel XIRR
25     3 Actual Days/365.     23.3371%      23.3371%   
26     4 30/360 (European).     23.3752%     
27     5 Actual Days/Actual Days In Month ('Decimal Year'). Periods     23.3752%   
28     6 Actual/Actual (Within Period).   4     23.3752%   
29      
30
31
32
33
34 More Complex Example:
35              
36 Dates    1 Jan 02  1 Jan 03  1 Jan 04  1 Jan 05  1 Jan 06  1 Jan 07  1 Jan 08  
37 CashFlows   -200 100 100 100 100 100 -300  
38 Minimum   10%            
39 Maximum   30%       
40 Accuracy     0.0001%   
41 DayCount   3       
42 Periods           
43  
44
45   Excels XIRR
46 IRRT Function     19.07%    #NUM!   Excel function fails, presumably, because of multiple roots
47    
48
49
50
51 DiscountRate NPV Excel's XNPV
52 This example has multiple roots, as follows:  Root 1   0.00%      0.00     0.00  
53  Root 2   19.07%      0.00     0.00  
54 Range      
55 From To Root
56 (20.00% ) (10.00% ) #NUM!  Supposed to be an error. No Root
57 (10.00% )   0.00%  
58   10.00%  0.00%  
59   10.00%    20.00%    19.07%   
60   20.00%    40.00%  #NUM!  Supposed to be an error. No Root
61  
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80