ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using result from ADDRESS function as a cell reference itself (https://www.excelbanter.com/excel-worksheet-functions/7803-using-result-address-function-cell-reference-itself.html)

LShutzberg

Using result from ADDRESS function as a cell reference itself
 
How can I use the result from a ADDRESS function as a cell reference itself?

Bob Phillips

Something like =INDIRECT(ADDRESS(1,2)) ?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"LShutzberg" wrote in message
...
How can I use the result from a ADDRESS function as a cell reference

itself?



Harlan Grove

"Bob Phillips" wrote...
Something like =INDIRECT(ADDRESS(1,2)) ?

....

If so, either

=OFFSET($A$1,1-1,2-1) [or just =OFFSET($A$1,0,1)]

or

=INDIRECT("R"&1&"C"&2,0)

would be better because they use only one function call. INDIRECT(ADDRESS())
is never necessary. INDIRECT with derived R1C1 references could always be
used instead.



Bob Phillips

I agree, just tried to answer his question.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Harlan Grove" wrote in message
...
"Bob Phillips" wrote...
Something like =INDIRECT(ADDRESS(1,2)) ?

...

If so, either

=OFFSET($A$1,1-1,2-1) [or just =OFFSET($A$1,0,1)]

or

=INDIRECT("R"&1&"C"&2,0)

would be better because they use only one function call.

INDIRECT(ADDRESS())
is never necessary. INDIRECT with derived R1C1 references could always be
used instead.






All times are GMT +1. The time now is 06:01 AM.

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