Indirect Formula

aarmartin

New Member
Joined
Feb 27, 2019
Messages
2
I am trying to create a spreadsheet using an indirect formula. When I put the formula in the cell it works. when I drag the formula though, I can get the first cell reference to be relative but I cannot get the second cell reference to become relative. When I drag the formula down it is going A6,F5 to A7, F5 but I need it go A6, F5 to A7, F6. Any ideas on how to fix this?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Welcome to the Board!

What is the exact formula you are using?
What cell are you placing it in?
 
Upvote 0
The issue is that when you place the cell references between quotes like that, they become strings. Strings won't automatically increment as you drag the Indirect formula.
So, you will need to do something in the formula to increment it, using functions like ROW() & COLUMN() (which return the current row or column the formula is in) and maybe the OFFSET function.

But in order to help you write that, I need to know the exact cell address you are putting the first formula in (which "blank cell")?
 
Upvote 0
That formula has constituted has a few issues.

=indirect("'"$$A7&"'!F6")

$ is probably supposed to be &

Also your F6 is in the quotes to it will always be F6. The formula below now has F6 as a cell reference and you can add $ for the absolute reference.

=indirect("'"&$A7&"'!"&F6)

 
Upvote 0

Forum statistics

Threads
1,214,938
Messages
6,122,346
Members
449,080
Latest member
Armadillos

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