ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Address Row and column Reference (https://www.excelbanter.com/excel-worksheet-functions/159227-address-row-column-reference.html)

Sandy

Address Row and column Reference
 
Hello

I would like to use the contents of cell A16 as my sheet sheet reference and
the current row,colum as the cell.
A16=Sheet1
then formula in b16 would return 'Sheet1!B16
I have tried (ADDRESS(ROW(),COLUMN(),1,FALSE,A16))
but it returns "Sheet1!R16C2" not the actual value in that cell.
What am I doing wrong?
Thanks!


Max

Address Row and column Reference
 
Try:
=INDIRECT("'"&A16&"'!"&ADDRESS(ROW(),COLUMN(),4))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Sandy" wrote:
Hello

I would like to use the contents of cell A16 as my sheet sheet reference and
the current row,colum as the cell.
A16=Sheet1
then formula in b16 would return 'Sheet1!B16
I have tried (ADDRESS(ROW(),COLUMN(),1,FALSE,A16))
but it returns "Sheet1!R16C2" not the actual value in that cell.
What am I doing wrong?
Thanks!


Sandy

Address Row and column Reference
 
Thanks for the response Max
That works great
!



"Max" wrote:

Try:
=INDIRECT("'"&A16&"'!"&ADDRESS(ROW(),COLUMN(),4))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Sandy" wrote:
Hello

I would like to use the contents of cell A16 as my sheet sheet reference and
the current row,colum as the cell.
A16=Sheet1
then formula in b16 would return 'Sheet1!B16
I have tried (ADDRESS(ROW(),COLUMN(),1,FALSE,A16))
but it returns "Sheet1!R16C2" not the actual value in that cell.
What am I doing wrong?
Thanks!


Max

Address Row and column Reference
 
welcome. good to hear that.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Sandy" wrote in message
...
Thanks for the response Max
That works great
!





All times are GMT +1. The time now is 02:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com