Formula Question

bullionbuks

New Member
Joined
May 27, 2004
Messages
12
I am trying to create a formula where a range i.e. ($B$2:B8) that has an absolute reference for the first cell and a relative reference i.e. ($B$2:B8) for the other end of the range, but as the formula passes over 1 year (12 months) the absolute value changes to be the first month of the next year. Any help on this would be greatly appreciated. Also if any addition clarification is needed please let me know.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
as the formula passes over 1 year (12 months) the absolute value changes to be the first month of the next year.
I take it you've got a formula in B2 that is updating?
What formula do you have in there?
 
Upvote 0
B2 is the beginning of the percent values of a sales curve. Each month as we get actual sales the model is forecasting the remaining sales based on the previous year's sales curve. It dose it by taking the SUM(YTD Monthly Sales)/SUM(Prior YTD Sales %)*Monthly Sales Curve. The problem is the formula needs to be reset at the end of the year to start with month 1's sales.
 
Upvote 0
So... what actions do you take to reset the formula - and what's the formula look like?
 
Upvote 0
(SUM($B22:F22)/SUM($B15:F15))*G15*((1+Sales_Growth_Rate)^G$19) this what the formula looks like. I would like to add something that changes both B22 and B15 to new absolute references when the forecast passes December 31. I might not be explaining it well so please let me know if this makes sense. Thank you in advance.
 
Upvote 0
Well, We can't write a formula that will change the value (or formula) of another cell, so I suppose we could write a little vba routine that would get run once a year (presumably right after New Years) to change the formulas in those cells (B15 & B22).
Knowing what the formula looks like now, what would you change it to if you were changing (resetting) it manually?
And, if we were to make this automated so anyone could reset it by running this code, how would we determine what the formula should get changed to in years 2, 3, 4, etc.?
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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