drag down formula, but i want row to stay fixed, but columns to increase

daveyc18

Well-known Member
Joined
Feb 11, 2013
Messages
707
Office Version
  1. 365
  2. 2010
so i have cell B2 referring to another worksheet (cell e34)

now, i want to drag down the formula, but i want the column to increase but the row to stay fixed (e.g, when dragged down to cell b3, it refers to f34 in the other worksheet, b4 = g34, b5 =h34, etc.)
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Place this in cell B2 and copy down (note that you will need to change the sheet name reference):
Excel Formula:
=OFFSET(Sheet2!$E$34,0,ROW()-2)
 
Upvote 0
Place this in Cell B2 and copy down.

=INDIRECT("Sheet2!R[" & COLUMN() + 32-ROW() & "]C[" & ROW()+1 & "]",FALSE)
 
Upvote 0
@Joe4 Much nicer and cleaner solution!!
Thanks. Note that many people do not like either OFFSET or INDIRECT, due to their volatile nature, and prefer to use INDEX.

I admit I have never tried to use it this way, as OFFSET typically works for me, as I seldom update my data once my analysis is finished (just the nature of my business - doing lots of one time analysis on a particular data set from that day).
 
Upvote 0

Forum statistics

Threads
1,215,042
Messages
6,122,810
Members
449,095
Latest member
m_smith_solihull

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