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.

ROW
A
B
C
Answer
33
10
2
=A33-OFFSET(FROM B21 BY 12 ROWS)
8
34
11
=A34-OFFSET(FROM B21 BY 13 ROWS)
9
35
12
=A35-OFFSET(FROM B21 BY 14 ROWS)
10
etc...
45
22
3
=A45-OFFSET(FROM B21 BY 24 ROWS)
19
46
23
=A46-OFFSET(FROM B21 BY 25 ROWS)
20
47
24
=A47-OFFSET(FROM B21 BY 26 ROWS)
21
etc...

<tbody>
</tbody>


Any ideas?

Thanks!
 

Some videos you may like

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Tian1

Board Regular
Joined
Jan 11, 2012
Messages
140
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,109,360
Messages
5,528,233
Members
409,809
Latest member
VICKRAM

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top