ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Indirect (https://www.excelbanter.com/excel-worksheet-functions/200212-indirect.html)

waldorf

Indirect
 
i am referencing a worksheet using the indirect function.
excel is automatically adding the active worksheet name to the formula which
returns #REF. how can i how can i stop it from automatically adding the sheet
name?

thanks,

Gord Dibben

Indirect
 
Assume we can't see your worksheet and formula you are attempting to create
using the INDIRECT function.

Now try a re-post with that information.


Gord Dibben MS Excel MVP

On Tue, 26 Aug 2008 05:57:01 -0700, waldorf
wrote:

i am referencing a worksheet using the indirect function.
excel is automatically adding the active worksheet name to the formula which
returns #REF. how can i how can i stop it from automatically adding the sheet
name?

thanks,



waldorf

Indirect
 
i have used this formula before (with 2003) without problems.
=INDIRECT("'" & B13)&"!"&"H56"
i am using excel 2007 now.
when i step through the "Evaluate Formula", the result on the side shows the
cell reference with the workseet name.

"Summary!$B$13" (B13 contains the sheet name i am referencing)
the result is "Summary!Option1!H56 which is not valid.
i need it to drop the current worksheet (Summary).
i can't find a setting or option to tell it not to do this.

i hope this makes more sense.


"Gord Dibben" wrote:

Assume we can't see your worksheet and formula you are attempting to create
using the INDIRECT function.

Now try a re-post with that information.


Gord Dibben MS Excel MVP

On Tue, 26 Aug 2008 05:57:01 -0700, waldorf
wrote:

i am referencing a worksheet using the indirect function.
excel is automatically adding the active worksheet name to the formula which
returns #REF. how can i how can i stop it from automatically adding the sheet
name?

thanks,




T. Valko

Indirect
 
=INDIRECT("'" & B13)&"!"&"H56"
B13 contains the sheet name i am referencing


Try it like this:

=INDIRECT("'"&B13&"'!H56")

Resolves to: =Summary!H56

--
Biff
Microsoft Excel MVP


"waldorf" wrote in message
...
i have used this formula before (with 2003) without problems.
=INDIRECT("'" & B13)&"!"&"H56"
i am using excel 2007 now.
when i step through the "Evaluate Formula", the result on the side shows
the
cell reference with the workseet name.

"Summary!$B$13" (B13 contains the sheet name i am referencing)
the result is "Summary!Option1!H56 which is not valid.
i need it to drop the current worksheet (Summary).
i can't find a setting or option to tell it not to do this.

i hope this makes more sense.


"Gord Dibben" wrote:

Assume we can't see your worksheet and formula you are attempting to
create
using the INDIRECT function.

Now try a re-post with that information.


Gord Dibben MS Excel MVP

On Tue, 26 Aug 2008 05:57:01 -0700, waldorf
wrote:

i am referencing a worksheet using the indirect function.
excel is automatically adding the active worksheet name to the formula
which
returns #REF. how can i how can i stop it from automatically adding the
sheet
name?

thanks,






waldorf

Indirect
 
it actually resolves to "Option1!H56"
which is what i needed.

thank you very much!

"T. Valko" wrote:

=INDIRECT("'" & B13)&"!"&"H56"
B13 contains the sheet name i am referencing


Try it like this:

=INDIRECT("'"&B13&"'!H56")

Resolves to: =Summary!H56

--
Biff
Microsoft Excel MVP


"waldorf" wrote in message
...
i have used this formula before (with 2003) without problems.
=INDIRECT("'" & B13)&"!"&"H56"
i am using excel 2007 now.
when i step through the "Evaluate Formula", the result on the side shows
the
cell reference with the workseet name.

"Summary!$B$13" (B13 contains the sheet name i am referencing)
the result is "Summary!Option1!H56 which is not valid.
i need it to drop the current worksheet (Summary).
i can't find a setting or option to tell it not to do this.

i hope this makes more sense.


"Gord Dibben" wrote:

Assume we can't see your worksheet and formula you are attempting to
create
using the INDIRECT function.

Now try a re-post with that information.


Gord Dibben MS Excel MVP

On Tue, 26 Aug 2008 05:57:01 -0700, waldorf
wrote:

i am referencing a worksheet using the indirect function.
excel is automatically adding the active worksheet name to the formula
which
returns #REF. how can i how can i stop it from automatically adding the
sheet
name?

thanks,






T. Valko

Indirect
 
You're welcome!

--
Biff
Microsoft Excel MVP


"waldorf" wrote in message
...
it actually resolves to "Option1!H56"
which is what i needed.

thank you very much!

"T. Valko" wrote:

=INDIRECT("'" & B13)&"!"&"H56"
B13 contains the sheet name i am referencing


Try it like this:

=INDIRECT("'"&B13&"'!H56")

Resolves to: =Summary!H56

--
Biff
Microsoft Excel MVP


"waldorf" wrote in message
...
i have used this formula before (with 2003) without problems.
=INDIRECT("'" & B13)&"!"&"H56"
i am using excel 2007 now.
when i step through the "Evaluate Formula", the result on the side
shows
the
cell reference with the workseet name.

"Summary!$B$13" (B13 contains the sheet name i am referencing)
the result is "Summary!Option1!H56 which is not valid.
i need it to drop the current worksheet (Summary).
i can't find a setting or option to tell it not to do this.

i hope this makes more sense.


"Gord Dibben" wrote:

Assume we can't see your worksheet and formula you are attempting to
create
using the INDIRECT function.

Now try a re-post with that information.


Gord Dibben MS Excel MVP

On Tue, 26 Aug 2008 05:57:01 -0700, waldorf
wrote:

i am referencing a worksheet using the indirect function.
excel is automatically adding the active worksheet name to the
formula
which
returns #REF. how can i how can i stop it from automatically adding
the
sheet
name?

thanks,









All times are GMT +1. The time now is 10:40 PM.

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