Can a formula automatically adjust at the end of each year?

leopardhawk

Well-known Member
Joined
May 31, 2007
Messages
611
Office Version
  1. 2016
Platform
  1. Windows
Cell D100 on my sheet has a simple formula pulling data from G11.

Code:
=G11

I need help with modifying the formula so that on December 31st at midnight the formula will automatically pull data from the next cell G12 and then the following year from G13 and so on each year into perpetuity...

Of course, only if this is even possible.

Thanks!
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
leopardhawk,

Perhaps something like....

=OFFSET(G11,YEAR(NOW())-2019,0)

Where 2019 is the year at the time you establish / require the return from G11

or maybe replace 2019 with an absolute cell reference containing the base year.

Hope that helps.
 
Last edited:
Upvote 0
Snakehips, thank you! I likely need to give you more info and possibly even a screenshot or two. Am I allowed to use DuckCapture to post screenshots?
 
Upvote 0
I'm afraid I have no idea at all re the use of DuckCapture.
You can check out the links in my signature.
 
Upvote 0
In the screenshot below from the 'income analysis' tab, you can see cell D100 and below that, you can see the formula used to derive the data.


Excel 2016 (Windows) 32 bit
BCDEF
100RRIF Monthly Withdrawals$ 329.11Annual Withdrawals$ 3,949.35
101Combined Total IncomeMonthly$ 329.11
102Yearly$ 3,949.35
income analysis
Cell Formulas
RangeFormula
D100=(rrif!G11)


In the screenshot below from the 'rrif' tab, you can see cell G11 and the corresponding cell B11 which contains the year. So, what I need is for the formula in D100 on the 'income analysis' tab to pull data from column G for the actual year that it is at that time, even if it is thirty years in the future.


Excel 2016 (Windows) 32 bit
BCDEFG
8RRIF Withdrawals
9Estimated Value of RRSP at end of YYYY$ 78,987.00
10YearAge *Percentage **AmountRRIF Value ***Monthly Withdrawals
112018700.05$ 3,949.35$ 79,184.47$ 329.11
122019710.0528$ 4,180.94$ 79,160.71$ 348.41
132020720.054$ 4,274.68$ 79,041.97$ 356.22
142021730.0553$ 4,371.02$ 78,820.65$ 364.25
rrif
 
Upvote 0
not sure why it did all that, it looked fine in the preview...?!?
 
Upvote 0
Then assuming that the years in column B are in number format and that there are sufficient not to cause an error then...

=OFFSET(rrif!G11,YEAR(NOW())-rrif!B11,0)
 
Upvote 0
Tony, fantastic! That appears to do the trick... I will run some more tests by changing dates in B11 to ensure that there are no errors. Thanks so much for your help!
 
Upvote 0
Tony, one more related question.

Where in the formula would I put a /2 if I want to cut the amount in half that is being imported from 'rrif' G11...?

Thanks!
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,624
Latest member
gregg777

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