Excel – how to drag down formula while keeping horizontal cell reference continuity

microsoft excelworksheet-function

I been trying few formulas and google search, but wasn't able to find anything that would help my problem. To keep it simple, as explained in the attached picture, how do I drag down formula vertically, while continue the horizontal cell reference in the formula

screenshot here?

As in picture – formula vertical direction – green arrow, while following the horizontal cells – orange arrow.

Thank you a million!

Best Answer

You can use the OFFSET function in order to specify a cell offset from cell A1. Even if the formula is being copied downward, this can still be a horizontal offset. For example, the following formula inserted into cell B2 in your screenshot will offset to the right when it is copied downward (it uses the numbers in column A as the offset values):

=OFFSET($A$1, 0, A2)
Related Question