Offset formula help.

CROY1985

Well-known Member
Joined
Sep 21, 2009
Messages
501
Office Version
  1. 365
Platform
  1. Windows
Hi all

I need help with on offset sum formula.

I have a cascading data flow of customers, sowing how many customers we lose each month. based on the initial inflow. Here is theformula i used to obtain the data flow:

=OFFSET(B$8,0,-(ROW()-ROW(B$12)*$b21

I have uploaded the output to my picassa account:

https://picasaweb.google.com/croy1985/Excel#5647687400779447330

Basically we have 13 periods per year, and I have highlighted the cells accordingly to show which belong to year 1 (yellow), year 2 (green) and year 3 (orange).

What i need is a set of formulas, that will enable me to calculate on any given period, how many customers are from year 1, year 2, year 3 etc.
In the picture ive posted, For Column AI, that would mean Year 1 = 0, Year2 = 72.4 and year 3 = 8.52.

And i need to be able to pull these formulas across a range of columns, s a dynamic formula that doesnt need to be changed for each column is what i am after.

Thank You.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Sorry gys the link isnt working for the image. Hopefuly i have explained it in enough detail.

**Update** link appears to be working now.
 
Upvote 0
Christopher

Your offset formula is incomplete!

Perhaps this will help -

=SUM(OFFSET(Reference cell, No of Columns, No of Rows, Height, Width))

Also regarding the formula you have ROW(B$12) which can be replaced by 12 because you anchor it to that row irrespective of the column you're in.

hth
 
Upvote 0
Hi Mike

The intial offset formula works as we want it to. Can you offer any help as to a sum that adds all re year 1 (yellow), year 2(green), year 3 (orange) etc. as per below.

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,865
Members
452,948
Latest member
UsmanAli786

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