Dragging the =INDIRECT Formula

snowdyce

New Member
Joined
May 13, 2014
Messages
7
Hello experts,

I have an excel sheet that is linked to a database. I have noticed when I Refresh Data from the database, my excel formulas that are referencing that data would lose the cell, resulting in a #REF error. To get around this I have been using the =INDIRECT formula. My question is, is there an easy way to drag and auto fill the cell reference using this formula? I have about 1,000 rows, and do not want to hand type each one.

Example Cell A2: =INDIRECT("B2")

I want to drag that down to A1000 and the formula to change accordingly (=INDIRECT("B1000")). When I attempt, its stays at B2 because it is text.

Anyway around this?

Thanks!
Sean
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,215,336
Messages
6,124,328
Members
449,155
Latest member
ravioli44

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