Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bart Schouw
 
Posts: n/a
Default Using Indirect en direct cell references

Hi all,

I want to use a range on another worksheet. For this the worksheet name is
named in a cell G1 (called Jan2005), within this worksheet i have a big
matrix and the management info is extracted by row, so the formula looks like
this.

=SUM((INDIRECT($G$1&"!O52:X52")))

So far so good. Now I want to copy this formula down to re-use the formula,
as the management info is by row, I want the 052:X52 to adjust, so actually I
want to set them outside the indirect influece and no longer be text, but a
real range.
Something like this, but it doesn't work

=SUM((INDIRECT($G$1&"!")O52:X52))

I can't this get to work, anybody any idea ?
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=SUM(INDIRECT("'"&$G$1&"'!"&SUBSTITUTE(CELL("Addre ss",($A$1,O53:X53)),"$A$1,","")))

Bart Schouw wrote:
Hi all,

I want to use a range on another worksheet. For this the worksheet name is
named in a cell G1 (called Jan2005), within this worksheet i have a big
matrix and the management info is extracted by row, so the formula looks like
this.

=SUM((INDIRECT($G$1&"!O52:X52")))

So far so good. Now I want to copy this formula down to re-use the formula,
as the management info is by row, I want the 052:X52 to adjust, so actually I
want to set them outside the indirect influece and no longer be text, but a
real range.
Something like this, but it doesn't work

=SUM((INDIRECT($G$1&"!")O52:X52))

I can't this get to work, anybody any idea ?

  #3   Report Post  
Bart Schouw
 
Posts: n/a
Default

Hi Aladin,

Thanks it works, altough I wonder if there is an easier solution to this, it
seems a little artifical.

Best regards
Bart

"Aladin Akyurek" wrote:

=SUM(INDIRECT("'"&$G$1&"'!"&SUBSTITUTE(CELL("Addre ss",($A$1,O53:X53)),"$A$1,","")))

Bart Schouw wrote:
Hi all,

I want to use a range on another worksheet. For this the worksheet name is
named in a cell G1 (called Jan2005), within this worksheet i have a big
matrix and the management info is extracted by row, so the formula looks like
this.

=SUM((INDIRECT($G$1&"!O52:X52")))

So far so good. Now I want to copy this formula down to re-use the formula,
as the management info is by row, I want the 052:X52 to adjust, so actually I
want to set them outside the indirect influece and no longer be text, but a
real range.
Something like this, but it doesn't work

=SUM((INDIRECT($G$1&"!")O52:X52))

I can't this get to work, anybody any idea ?


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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
Changing cell references Tracey Excel Discussion (Misc queries) 4 January 4th 05 08:05 PM
#REF! with cell value check Shane White Excel Discussion (Misc queries) 0 January 3rd 05 05:29 PM
Graph and Cell References balandino Excel Discussion (Misc queries) 4 December 16th 04 08:25 PM
Transferring cell content between workbooks using cell references Kiwi Mike Excel Discussion (Misc queries) 2 November 27th 04 11:31 PM


All times are GMT +1. The time now is 11:49 AM.

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"