INDIRECT formula question

zami

New Member
Joined
Jul 23, 2005
Messages
45
Assume Sheet1 has indexed sheetnames in Column A.

=INDIRECT("'"&$A$3&"'!B4")


The above formula in A9 on Sheet1 will return the cell contents of B4 from the indexed sheetname in A3.

How would I adjust my formula if I wanted A9 on Sheet2 to populate from B4 of the sheetname in A3 on Sheet1?

TIA
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
and along the same line...

Re the above formula, how can I make the INDIRECT formula in the target cell follow the source cell (B4); i.e., if a row is inserted above the source cell (B4 becomes B5), etc.? I wouldn't think $B$4 would apply here and in fact doesn't produce the desired result.

possible?
 
Upvote 0
just prevent inserting rows
this looks to me the most obvious thing to do !

or at least only allow inserting rows with code (button) so you can update in the same run the indirect formula

To my feeling the nature of indirect has its disadvantages which you have to accept: there will be workarounds but that would lead to far to my sense.

Better prevent than cure, would be my objective.

best regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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