Dynamic cell reference using INDIRECT..

  • Thread starter Thread starter Jason.Alden.Benoit
  • Start date Start date
J

Jason.Alden.Benoit

Hi,

Is there a way to take this formula "=INDIRECT("'"&$P$3&"'!X9")" and
make X9 dynamic upon copying to other cells? For P3 I only need to
remove the $'s.

Thanks!

- Alden
 
Try this one..

=INDIRECT("'"&$P$3&"'!"&ADDRESS(ROW(),COLUMN()))

Hope this helps.
 
I should have been more specific, I need the cell reference to be
relative to the cell, but it will likely not match. Instead of ROW()
and COLUMN() I entered in the correct number, and that returned the
correct value, however it did not let me copy it dynamically. Thank
you for your help so far.
 
Is there a way to take this formula "=INDIRECT("'"&$P$3&"'!X9")" and
make X9 dynamic upon copying to other cells? For P3 I only need to
remove the $'s.

=INDIRECT("'"&$P$3&"'!"&CELL("Address",X9))

or if you want it internationalization-safe,

=INDIRECT(ADDRESS(ROW(X9),COLUMN(X9),,,$P$3))
 
=INDIRECT("'"&$P$3&"'!"&CELL("Address",X9))

or if you want it internationalization-safe,

=INDIRECT(ADDRESS(ROW(X9),COLUMN(X9),,,$P$3))

I am not sure what internationalization safe could mean except if
referring to another language version of excel. This did the trick, I
still have a lot of editing while copy/pasting to do but this will
make it much better! Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top