Formula is not dragging down properly

rplohocky

Active Member
Joined
Sep 25, 2005
Messages
292
Office Version
  1. 365
Platform
  1. Windows
Hello,
I have a formula that links a cell from another WB. The formula works fine but when I drag it down the column in order to link other cells it doesn't copy correctly. It actually copies identical without adding the next row as a reference. I know by placing a "$" in front of either letter or number it will remain static but I dont have them and it still remains static.

Code:
=INDIRECT("'[Test 2018 Expences.xlsm]"&A$28&"'!$A3")

The A3 at the end is the issue. When you drag the formula down it remains A3. I need it to grow to A4, then A5 and so on.

Any Idea's?
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Untested, but maybe:
Code:
=INDIRECT("'[Test 2018 Expences.xlsm]"&A$28&"'!$A"&ROW(A3))
 
Upvote 0
Untested, but maybe:
Code:
=INDIRECT("'[Test 2018 Expences.xlsm]"&A$28&"'!$A"&ROW(A3))

JoeMo that works great going down!

I thought I would be able to drag it across as well but that doesn't work. Down the column is fine but dragging it across a few rows doesn't work.

Any way to modify it to work across columns as well???

Thanks for your help!
 
Upvote 0
JoeMo that works great going down!

I thought I would be able to drag it across as well but that doesn't work. Down the column is fine but dragging it across a few rows doesn't work.

Any way to modify it to work across columns as well???

Thanks for your help!

JoeMo,
i believe I fixed my own problem. I switched out the second to the last "A" to a "B" on so on and that worked. I had to change each cell going across the row but there was only 12, then I was able to drag it down and it all worked fine. Thanks for your help again!
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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