ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   using offset function (https://www.excelbanter.com/excel-worksheet-functions/150958-using-offset-function.html)

garwoos

using offset function
 
I am trying to use the offset function to find a value and bring over bits of
information from the table the value represents. My only problem is getting
the function to use the value inside a cell for the cell reference. ie.
=offset(B29,5,1,1,1) where cell B29's contents are
"sheet1!D263". How do I get the function to recognize the sheet1!D263
instead of the actual cell B29?

T. Valko

using offset function
 
Try it like this:

=OFFSET(INDIRECT(B29),5,1,1,1)

--
Biff
Microsoft Excel MVP


"garwoos" wrote in message
...
I am trying to use the offset function to find a value and bring over bits
of
information from the table the value represents. My only problem is
getting
the function to use the value inside a cell for the cell reference. ie.
=offset(B29,5,1,1,1) where cell B29's contents are
"sheet1!D263". How do I get the function to recognize the sheet1!D263
instead of the actual cell B29?




garwoos

using offset function
 
thank you, it works, you are a life saver.

"T. Valko" wrote:

Try it like this:

=OFFSET(INDIRECT(B29),5,1,1,1)

--
Biff
Microsoft Excel MVP


"garwoos" wrote in message
...
I am trying to use the offset function to find a value and bring over bits
of
information from the table the value represents. My only problem is
getting
the function to use the value inside a cell for the cell reference. ie.
=offset(B29,5,1,1,1) where cell B29's contents are
"sheet1!D263". How do I get the function to recognize the sheet1!D263
instead of the actual cell B29?





T. Valko

using offset function
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"garwoos" wrote in message
...
thank you, it works, you are a life saver.

"T. Valko" wrote:

Try it like this:

=OFFSET(INDIRECT(B29),5,1,1,1)

--
Biff
Microsoft Excel MVP


"garwoos" wrote in message
...
I am trying to use the offset function to find a value and bring over
bits
of
information from the table the value represents. My only problem is
getting
the function to use the value inside a cell for the cell reference.
ie.
=offset(B29,5,1,1,1) where cell B29's contents are
"sheet1!D263". How do I get the function to recognize the sheet1!D263
instead of the actual cell B29?








All times are GMT +1. The time now is 08:20 AM.

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