Dragging Indirect Formula Down

c0087

Board Regular
Joined
Jul 13, 2015
Messages
85
Office Version
  1. 365
Platform
  1. Windows
In cell M3 i have the formula =INDIRECT("C"&M1) M1=the value 3, so my formula is basically calling for the value that is in cell C3.

How would I edit the formula, so that when I drag down, it will give me the values that are in cells C4, C5, etc.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
It stands to reason that you would need to populate Cells M2, M3, etc. with sequential values (4, 5, etc.). Alternatively, you could just change the original INDIRECT formula to =INDIRECT(C3) and Copy it down.
 
Upvote 0
I would not point to the value in M1. I would use a row counter, or if you know the number of rows the SEQUENCE function.

Excel Formula:
=INDIRECT("C"&(ROW(M3)))

or
Excel Formula:
=INDIRECT("C" & SEQUENCE(1000,1,3,1))
 
Last edited:
Upvote 0
How about
Excel Formula:
=INDEX(C:C,M$1+ROWS(M$3:M3)-1)
 
Upvote 0
Solution
NOTE: If you are going to have lots of other calculations based on this INDIRECT function it will cause your worksheet to slow down more than normal.
 
Upvote 0

Forum statistics

Threads
1,215,139
Messages
6,123,259
Members
449,093
Latest member
Vincent Khandagale

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