Drag down formula and change ROW references instead of COLUMNS

Unknownymous picture Unknownymous · Mar 7, 2014 · Viewed 77.6k times · Source

In excel I have sheet1 contains total every month. (please see image below)

enter image description here

Then in my sheet2 it will display horizontally. (please see image below)

enter image description here

I used the formula =Sheet1!$B$1, my problem is when i drag it to the right it increments the column letters. How should i make it increment the row only and the column letter is constant in column "B".

Any ideas and alternatives is much appreciated.

Thank you in advance!

Answer

Tim Williams picture Tim Williams · Mar 7, 2014

You can use OFFSET:

=OFFSET(Sheet1!$B$1,COLUMN()-2,0)

Or TRANSPOSE: Select B2:M2 and then enter

=TRANSPOSE(Sheet1!$B$1:B12)

as an array formula (using Ctrl+Shift+Enter)