A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Indirect



 
 
Thread Tools Display Modes
  #1  
Old August 26th, 2008, 01:57 PM posted to microsoft.public.excel.worksheet.functions
waldorf
external usenet poster
 
Posts: 4
Default 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,
  #2  
Old August 26th, 2008, 06:06 PM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default 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,


  #3  
Old August 26th, 2008, 06:48 PM posted to microsoft.public.excel.worksheet.functions
waldorf
external usenet poster
 
Posts: 4
Default 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,



  #4  
Old August 26th, 2008, 07:20 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default 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,





  #5  
Old August 26th, 2008, 07:57 PM posted to microsoft.public.excel.worksheet.functions
waldorf
external usenet poster
 
Posts: 4
Default 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,





  #6  
Old August 26th, 2008, 08:15 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default 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,







 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.