Offset Problem

Tian1

Board Regular
Joined
Jan 11, 2012
Messages
140
Hallo,

I've got the following data as an example in my sheet (see the table below). I'm trying to determine what the offset properties should be.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]ROW
[/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]Answer
[/TD]
[/TR]
[TR]
[TD]33
[/TD]
[TD]10
[/TD]
[TD]2
[/TD]
[TD]=A33-OFFSET(FROM B21 BY 12 ROWS)
[/TD]
[TD]8
[/TD]
[/TR]
[TR]
[TD]34
[/TD]
[TD]11
[/TD]
[TD][/TD]
[TD]=A34-OFFSET(FROM B21 BY 13 ROWS)
[/TD]
[TD]9
[/TD]
[/TR]
[TR]
[TD]35
[/TD]
[TD]12
[/TD]
[TD][/TD]
[TD]=A35-OFFSET(FROM B21 BY 14 ROWS)
[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]etc...
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]45
[/TD]
[TD]22
[/TD]
[TD]3
[/TD]
[TD]=A45-OFFSET(FROM B21 BY 24 ROWS)
[/TD]
[TD]19
[/TD]
[/TR]
[TR]
[TD]46
[/TD]
[TD]23
[/TD]
[TD][/TD]
[TD]=A46-OFFSET(FROM B21 BY 25 ROWS)
[/TD]
[TD]20
[/TD]
[/TR]
[TR]
[TD]47
[/TD]
[TD]24
[/TD]
[TD][/TD]
[TD]=A47-OFFSET(FROM B21 BY 26 ROWS)
[/TD]
[TD]21
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]etc...
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


Any ideas?

Thanks!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi,

My apologies.. I framed the question wrong. It should be:

Cell C33: =A33-OFFSET(FROM B21 BY 12 ROWS)
Cell C34: =A34-OFFSET(FROM B21 BY 12 ROWS)
Cell C35: =A35-OFFSET(FROM B21 BY 12 ROWS)

Cell C45:=A45-OFFSET(FROM B21 BY 24 ROWS)
Cell C46:=A46-OFFSET(FROM B21 BY 24 ROWS)
Cell C47:=A47-OFFSET(FROM B21 BY 24 ROWS)

You can see the pattern that I'm after in this example.
 
Upvote 0

Forum statistics

Threads
1,226,287
Messages
6,190,069
Members
453,593
Latest member
Mubashar Ali

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