nevernine99
New Member
- Joined
- Dec 18, 2021
- Messages
- 10
- Office Version
- 365
- Platform
- Windows
In D7, When I increase value to 10 years or more. (Max is 40 yrs) it's automatically calculated in cells.
But when I decrease value to 5, I see #Div/0 error in cells. How do I leave cell blank if cell has #DIV/0 value?
I was trying with IFERROR function, but it doesn't work for me.
see attached XL2BB here. Thank you so much for your help.
But when I decrease value to 5, I see #Div/0 error in cells. How do I leave cell blank if cell has #DIV/0 value?
I was trying with IFERROR function, but it doesn't work for me.
see attached XL2BB here. Thank you so much for your help.
Cell Formulas | ||
---|---|---|
Range | Formula | |
H5 | H5 | =D8 |
I5 | I5 | =-D6 |
M5 | M5 | =$D$6 |
F6:F30 | F6 | =IF(F5>=($D$7*12),"",F5+1) |
G6:G30 | G6 | =IF(F6="","",DATE(YEAR($D$9),MONTH($D$9)+(F6-1),DAY($D$9))) |
H6:H30 | H6 | =IF(ISNUMBER(G6),INDEX($C$15:$C$22,MATCH(G6,$D$15:$D$22,1)),"") |
I6:I30 | I6 | =IF(F6="","",MIN(ROUND(IF(F6=1,$D$11,IF(H6=H5,I5,-PMT(H6/12,($D$7*12)-F6+1,M5))),2),M5+ROUND(H6/12*M5,2))) |
K6:K30 | K6 | =IF(F6="","",ROUND(H6/12*M5,2)) |
L6:L30 | L6 | =IF(F6="","",I6-K6+J6) |
M6:M30 | M6 | =IF(F6="","",M5-L6) |
N6:N30 | N6 | =IF(F6="","",SUM(K$6:K6)) |
O6:O30 | O6 | =IF(F6="","",SUM(L$6:L6)) |
Q6 | Q6 | =YEAR(D9) |
R6:R30 | R6 | =AVERAGEIFS($H$5:$H$484,$G$5:$G$484,">="&DATE(Q6,1,1),$G$5:$G$484,"<="&DATE(Q6,12,31)) |
S6:S30 | S6 | =IFERROR(SUMIFS(J$5:J$484,$G$5:$G$484,">="&DATE($Q6,1,1),$G$5:$G$484,"<="&DATE($Q6,12,31)),"") |
T6:U30 | T6 | =IFERROR(SUMIFS(K$6:K$485,$G$6:$G$485,">="&DATE($Q6,1,1),$G$6:$G$485,"<="&DATE($Q6,12,31))," ") |
V6:V30 | V6 | =IFERROR(VLOOKUP(DATEVALUE("December 1, " & $Q6),$G$4:$O$485,7,0),"") |
Q7:Q30 | Q7 | =IFERROR(IF(Q6+1>(Q$6+D$7),"",Q6+1),"") |
D11 | D11 | =ROUND(-PMT(D8/12,($D$7*12),$D$6),2) |
D12 | D12 | =IF(($D$7*12)>480,"ERROR: >480 payments",".") |
C15 | C15 | =D8 |
D15 | D15 | =$D$9 |
D25 | D25 | =MAX(I6:I485) |
D26 | D26 | =SUM(K6:K485)+SUM(L6:L485) |
D27 | D27 | =SUM(K5:K485) |
D28 | D28 | =IRR(I5:I485,1%)*12 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
D15 | Any value |