XIRR but values are from two different cell ranges

EthanP

New Member
Joined
Sep 10, 2022
Messages
9
Office Version
  1. 2016
Platform
  1. Windows
In my IRR function I wish to include, not just cash flows, equity after loan payoff because that is a cash positive event. For my IRR in cell F80 =XIRR($E$77:E77,$E$3:E3,)... how do I include the equity after loan payoff in the values? What is the syntax? For example, I've tried =XIRR($E$77:E77+F84),$E$3:E3,) or =XIRR(sum($E$77:E77,F84),$E$3:E3,). What do I need to do to include that one extra cell in the "values" of the XIRR?






Cell Formulas
RangeFormula
E77,F76E77='Projections '!$C$76
F77:Q77G77=G72+G74
F78:Q78G78=ABS(SUM($F$77:G77)/$F$76)
F79F79='Projections '!C79
F80:Q80F80=XIRR($E$77:E77,$E$3:E3,)
G81:Q81G81=F81
F82F82=F72/F81
G82:Q82G82=SUM($F$72:G72)/G81
F83:Q83F83=-TRANSPOSE('Debt Service Lender 1'!K2:K688)
F84:Q84F84=SUM(F82:F83)
Press CTRL+SHIFT+ENTER to enter array formulas.

Experiment Valuator REV B.xlsm
ABCDEFGHIJKLMNOPQ
1MonthAcquisition123456789101112
2YearAcquisition111111111111
3CheckMonth Ending1/5/20232/28/20233/31/20234/30/20235/31/20236/30/20237/31/20238/31/20239/30/202310/31/202311/30/202312/31/20231/31/2024
Monthly Cash Flow
Cell Formulas
RangeFormula
G1:Q1G1=F1+1
F2:Q2F2=ROUNDUP(F1/12,0)
E3E3='Summary Sheet'!B7
F3:Q3F3=EOMONTH(E3,1)
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I don't completely understand what the table is doing, but it appears that you want to calculate a dynamic IRR...one that changes each month depending on cash flow. Since IRR is based on cash "flow", I would think that your Equity values cannot be used because they do not represent cash flow. You could argue that the difference in equity represents a "flow", so I've added a row (see the pink cell) showing the change in equity. Caveat: I'm not qualified to comment on the validity of using the change in equity in this calculation. From month to month, the cash flows on row 77 are added to the change in equity on row 85, and that cash flow profile is considered against the dates in row 3 to compute the IRR. Check these numbers carefully to decide if this makes sense.

As a side note, your post includes references to worksheets and rows that are not available, so anyone attempting to use the mini-sheet will encounter a lot of errors. I've extended the worksheet from an earlier post and inserted values for the missing references (see blue cells) so that the formulas produce results.
MrExcel_20220912.xlsx
ABCDEFGHIJKLMNOPQRST
1Start Date1/5/2023Month123456789101112Rate of Annual Increase3%
2Year111111111111Monthly factor1.00246627
3Month Ending1/5/20232/28/20233/31/20234/30/20235/31/20236/30/20237/31/20238/31/20239/30/202310/31/202311/30/202312/31/20231/31/2024Number intervals11
4CheckInputs: Yearly TotalSum of monthly amtsIncomeCalculate starting amtSum of Finite Geometric Series11.16411941
70Projections '!$C$76$ (165,000)
71Projections '!$C$79$ (165,000)
72Entries on row 72? (inferred from others & hardwired)$ 4,628$ 4,641$ 4,654$ 4,667$ 4,681$ 4,694$ 4,708$ 4,721$ 4,734$ 4,748$ 4,761$ 4,775Debt Service Lender 1'!K2:K688
73$ 411,905
74Entries on row 74? (inferred from others & hardwired)$ (2,658)$ (7,286)$ (11,927)$ (16,580)$ (21,248)$ (25,929)$ (30,623)$ (35,331)$ (40,051)$ (44,786)$ (49,533)$ (54,295)$ 411,307
75$ 410,705
76Investment$ (165,000)$ 410,101
77Cash Flow$ (165,000)$ 1,970$ (2,645)$ (7,273)$ (11,913)$ (16,567)$ (21,235)$ (25,915)$ (30,610)$ (35,317)$ (40,038)$ (44,772)$ (49,520)$ 409,494
78Cash on Cash Return 1.19%0.41%4.82%12.04%22.08%34.95%50.65%69.20%90.61%114.87%142.01%172.02%$ 408,884
79Cash Flows plus up front capital (line is needed for IRR)$ (165,000)$ 408,270
80IRR#NUM!0.0%0.0%-99.3%-95.5%-87.3%-75.6%-62.4%-49.3%-37.4%-27.3%-19.1%$ 407,654
81Desired Cap Rate (when going to sell)7.0%7.0%7.0%7.0%7.0%7.0%7.0%7.0%7.0%7.0%7.0%7.0%$ 407,034
82Sale Price $ 66,110$ 132,408$ 198,896$ 265,574$ 332,442$ 399,501$ 466,751$ 534,193$ 601,828$ 669,655$ 737,676$ 805,891$ 406,412
83Debt left on loan$ (411,905)$ (411,307)$ (410,705)$ (410,101)$ (409,494)$ (408,884)$ (408,270)$ (407,654)$ (407,034)$ (406,412)$ (405,786)$ (405,157)$ 405,786
84Equity after loan payoff$ (345,795)$ (278,899)$ (211,809)$ (144,527)$ (77,052)$ (9,383)$ 58,481$ 126,539$ 194,794$ 263,243$ 331,890$ 400,734$ 405,157
85Change in Equity$ (345,795)$ 66,896$ 67,090$ 67,282$ 67,475$ 67,669$ 67,864$ 68,058$ 68,255$ 68,449$ 68,647$ 68,844
Sheet2 (2)
Cell Formulas
RangeFormula
F1:Q1F1=COLUMNS($F:F)
F2:Q2F2=ROUNDUP(F1/12,0)
E3E3=B1
F3:Q3F3=EOMONTH($E3,F1)
T2T2=(1+$T$1)^(1/12)
T3T3=COUNT(F3:Q3)-1
T4T4=T2*(1-T2^T3)/(1-T2)
E77E77=F70
F77:Q77G77=G72+G74
F78:Q78G78=ABS(SUM($F$77:G77)/$F$76)
F76F76=F70
F79F79=F71
F80:Q80F80=XIRR($E77:F77+$E85:F85,$E3:F3,)
G81:Q81G81=F81
F82:Q82G82=SUM($F$72:G72)/G81
F83:Q83F83=-TRANSPOSE(S73:S84)
F84:Q84F84=SUM(F82:F83)
F85:Q85F85=F84-E84
Dynamic array formulas.
 
Upvote 0
Is there a way I can send you the whole work book? So you can have the whole picture.
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top