#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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,







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
Using INDIRECT rhhince[_2_] Excel Worksheet Functions 14 January 10th 08 01:40 AM
INDEX("a"&COLUMNS(INDIRECT(A1):INDIRECT(A2)):A30,4) Dave F[_2_] Excel Discussion (Misc queries) 3 September 20th 07 08:36 PM
INDIRECT !@%? Arturo Excel Worksheet Functions 2 April 25th 06 07:35 PM
INDIRECT.EXT Stephan Excel Worksheet Functions 0 March 16th 06 09:15 AM


All times are GMT +1. The time now is 09:30 PM.

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

About Us

"It's about Microsoft Excel"