Too lazy to read all your code, but:
"Offset" determines the number of cells "away" from the cell you're working with - where the first number is the offset in rows and the second number is the offset in columns.
A few examples:
would be cell A2, since it's A1 offset by 1 row and 0 columns
would be cell B2, since it's A1 offset by 1 row and 1 column
would be cell F1, since it's 4 rows less and two columns extra.
would be cell D25, since there's only 1 number specified, excel assumes it's rows, since there's no comma
is cell X5, since it's offset 20 columns.
I hope this clarifies things.
Bookmarks