Need help with formula mod

leopardhawk

Well-known Member
Joined
May 31, 2007
Messages
611
Office Version
  1. 2016
Platform
  1. Windows
This formula works 100% as intended which is fine when users are 69 years of age or younger. I have discovered that I need to modify it for those users who are 70+ years of age.

Code:
=IF(personal_info!$E$12=0,"Estimated value of RRSP at 69 years of age","Estimated value of RRSP at end of "& YEAR(personal_info!$E$12)+69)

Keeping the formula as it is, I need help to modify it somewhat so that if the user's age is 70 or higher, the formula will return "Estimated value of RRSP at the end of CURRENTYEAR".

I hope this makes sense, please let me know if you need more information.

Cheers!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Sorry, I made an assumption there... my bad.

They will be entering their DOB on 'personal_info'! in cell E12

Cheers!
 
Upvote 0
How about
Code:
=IF(personal_info!$E$12=0,"Estimated value of RRSP at 69 years of age",IF(YEAR(TODAY())-YEAR(personal_info!$E$12) >=70,"Estimated value of RRSP at end of current year","Estimated value of RRSP at end of "& YEAR(personal_info!$E$12)+69))
 
Last edited:
Upvote 0
My bad again. Okay the formula is now returning "Estimated value of RRSP at the end of current year". I should have said that "CURRENTYEAR" meant whatever year happens to be the current year, like now it is 2019. Sorry about that.

Cheers!
 
Upvote 0
In that case change
"Estimated value of RRSP at end of current year"
to
"Estimated value of RRSP at end of "&year(today())
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,873
Messages
6,127,470
Members
449,384
Latest member
purevega

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