leopardhawk
Well-known Member
- Joined
- May 31, 2007
- Messages
- 611
- Office Version
- 2016
- Platform
- Windows
Hello forum friends!
Okay, this one is complicated (at least for me). However, I am hopeful that someone will be able to help me. There are three sheets involved and the formula in question resides on the ‘income analysis’ sheet in cell D97. The formula works fine for all intents and purposes however, during testing two separate and very strange problems have surfaced. I have tested two ways, by changing the DOB and by changing the system clock in my computer. Both ways of testing have revealed the exact same error. To explain:
On the first sheet (‘personal information’), cell E12 is where the user enters their DOB. In my example, I have intentionally left this field blank.
Below is the 'rrif' sheet where the data resides.
On another sheet ('income analysis') cell D97 looks at the DOB and if the current year is the same as what is in 'rrif' B16, it will return the amount in 'rrif'G16 as long as the user is 70 years of age or more this year (2019). If the user is less than 70 years of age, the field is left blank because the 'first' age on the 'rrif' sheet is 70 (cell C16).
So this is where the two weird errors have manifested themselves. If I change the DOB so that the user is 69 years old now, the formula is returning "Monthly Withdrawals" which resides in cell 'rrif'G15. After that, if the DOB is 70+ years, no errors, the formula returns the expected amount from column G. The other part that's strange is that if I enter a DOB from 1965 or later ('66, '67', '68 etc.), the cell returns a #REF error. I can't see anything that might cause either error and that is why I am asking for help. Sometimes it really helps to get another set of eyes on a problem. Thanks!
Okay, this one is complicated (at least for me). However, I am hopeful that someone will be able to help me. There are three sheets involved and the formula in question resides on the ‘income analysis’ sheet in cell D97. The formula works fine for all intents and purposes however, during testing two separate and very strange problems have surfaced. I have tested two ways, by changing the DOB and by changing the system clock in my computer. Both ways of testing have revealed the exact same error. To explain:
On the first sheet (‘personal information’), cell E12 is where the user enters their DOB. In my example, I have intentionally left this field blank.
Excel 2016 (Windows) 32 bit | |||
---|---|---|---|
E | |||
10 | Date of birth | ||
11 | |||
12 | |||
personal information |
Excel 2016 (Windows) 32 bit | ||||||||
---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | |||
14 | Estimated value of RRSP at 69 years of age | $ 10,375.00 | ||||||
15 | Year | Age * | Percentage ** | Amount | RRIF Value *** | Monthly Withdrawals | ||
16 | 70 | 0.05 | $ 518.75 | $ 10,400.94 | $ 43.23 | |||
rrif |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B14 | =IF('personal information'!$E$12=0,"Estimated value of RRSP at 69 years of age","Estimated value of RRSP at end of "& YEAR('personal information'!$E$12)+69) | |
B16 | =IF('personal information'!$E$12=0,"",YEAR('personal information'!$E$12)+70) | |
F14 | =IFERROR(INDEX(investments!$F$18:$F$102,MATCH(69,investments!$B$18:$B$102,0)),investments!F18) | |
F16 | =SUM(F14+(F14*0.0525)-E16) | |
E16 | =SUM(F14*D16) | |
G16 | =SUM(E16/12) |
Excel 2016 (Windows) 32 bit | |||||
---|---|---|---|---|---|
B | C | D | |||
97 | Monthly Withdrawals | $ - | |||
income analysis |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D97 | =IF('personal information'!E12="",0,OFFSET(rrif!$G$16,YEAR(NOW())-rrif!$B$16,0)) |