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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

refer to range in another sheet



 
 
Thread Tools Display Modes
  #1  
Old November 13th, 2009, 11:15 AM posted to microsoft.public.excel.misc
Smallweed
external usenet poster
 
Posts: 20
Default refer to range in another sheet

I have the following block of numbers in a worksheet (let's say Sheet1), the
column ranges named T1, T2, T3, T4 and T5:

T1 T2 T3 T4 T5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 5 7
1 2 5 7 10
1 2 5 10 12
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15

In the same sheet, I can put together an array formula that refers to the
whole block by using the syntax T1:T5. However, if I try to use the same
array formula in a different sheet using Sheet1!T1:T5 I get #VALUE. Can
anyone tell me what's wrong with my syntax and if there's any way of
referring to this range in another sheet in terms of the existing range names
(I don't want to use cell references, i.e. A1:E14)?
  #2  
Old November 13th, 2009, 11:36 AM posted to microsoft.public.excel.misc
eduardo
external usenet poster
 
Posts: 2,131
Default refer to range in another sheet

Hi,
could you post your formula with an explanation of what you want to achieve,
thanks

"Smallweed" wrote:

I have the following block of numbers in a worksheet (let's say Sheet1), the
column ranges named T1, T2, T3, T4 and T5:

T1 T2 T3 T4 T5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 5 7
1 2 5 7 10
1 2 5 10 12
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15

In the same sheet, I can put together an array formula that refers to the
whole block by using the syntax T1:T5. However, if I try to use the same
array formula in a different sheet using Sheet1!T1:T5 I get #VALUE. Can
anyone tell me what's wrong with my syntax and if there's any way of
referring to this range in another sheet in terms of the existing range names
(I don't want to use cell references, i.e. A1:E14)?

  #3  
Old November 13th, 2009, 11:40 AM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default refer to range in another sheet

Hi,

You don't give a clear indication of what your formula is. I don't
understand what you mean by T1 to T5. If these were named ranges you would
have got an error because those are illegal names for a named range.

Here's a simple array formula referring to named ranges on another sheet.
perhaps you can get the syntax from that. As you can see it isn't necessary
to have the sheet name when using a named range

=SUM(IF(YY1="Y",YY2))

The 2 ranges being YY1 & YY2


Mike

"Smallweed" wrote:

I have the following block of numbers in a worksheet (let's say Sheet1), the
column ranges named T1, T2, T3, T4 and T5:

T1 T2 T3 T4 T5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 5 7
1 2 5 7 10
1 2 5 10 12
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15

In the same sheet, I can put together an array formula that refers to the
whole block by using the syntax T1:T5. However, if I try to use the same
array formula in a different sheet using Sheet1!T1:T5 I get #VALUE. Can
anyone tell me what's wrong with my syntax and if there's any way of
referring to this range in another sheet in terms of the existing range names
(I don't want to use cell references, i.e. A1:E14)?

  #4  
Old November 13th, 2009, 12:04 PM posted to microsoft.public.excel.misc
Smallweed
external usenet poster
 
Posts: 20
Default refer to range in another sheet

Sorry, as you say I shouldn't have used T1-T5 in my example. Ok, I've got 5
columns of data, named Terry1, Terry2, Terry3, Terry4 and Terry5
respectively. I can use the reference Terry1:Terry5 to refer to the whole
block in formulae in the same sheet. I would like to use the same range in
another sheet but Sheet1!Terry1:Terry5 gives me #VALUE. Any ideas of an
alternative syntax that would work?

"Mike H" wrote:

Hi,

You don't give a clear indication of what your formula is. I don't
understand what you mean by T1 to T5. If these were named ranges you would
have got an error because those are illegal names for a named range.

Here's a simple array formula referring to named ranges on another sheet.
perhaps you can get the syntax from that. As you can see it isn't necessary
to have the sheet name when using a named range

=SUM(IF(YY1="Y",YY2))

The 2 ranges being YY1 & YY2


Mike

"Smallweed" wrote:

I have the following block of numbers in a worksheet (let's say Sheet1), the
column ranges named T1, T2, T3, T4 and T5:

T1 T2 T3 T4 T5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 5 7
1 2 5 7 10
1 2 5 10 12
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15

In the same sheet, I can put together an array formula that refers to the
whole block by using the syntax T1:T5. However, if I try to use the same
array formula in a different sheet using Sheet1!T1:T5 I get #VALUE. Can
anyone tell me what's wrong with my syntax and if there's any way of
referring to this range in another sheet in terms of the existing range names
(I don't want to use cell references, i.e. A1:E14)?

  #5  
Old November 13th, 2009, 12:11 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default refer to range in another sheet

I gave you the answer in my previous post

=MAX(Terry1:Terry5)

Works from any sheet, you don't need to use the sheet name with named ranges

Mike

"Smallweed" wrote:

Sorry, as you say I shouldn't have used T1-T5 in my example. Ok, I've got 5
columns of data, named Terry1, Terry2, Terry3, Terry4 and Terry5
respectively. I can use the reference Terry1:Terry5 to refer to the whole
block in formulae in the same sheet. I would like to use the same range in
another sheet but Sheet1!Terry1:Terry5 gives me #VALUE. Any ideas of an
alternative syntax that would work?

"Mike H" wrote:

Hi,

You don't give a clear indication of what your formula is. I don't
understand what you mean by T1 to T5. If these were named ranges you would
have got an error because those are illegal names for a named range.

Here's a simple array formula referring to named ranges on another sheet.
perhaps you can get the syntax from that. As you can see it isn't necessary
to have the sheet name when using a named range

=SUM(IF(YY1="Y",YY2))

The 2 ranges being YY1 & YY2


Mike

"Smallweed" wrote:

I have the following block of numbers in a worksheet (let's say Sheet1), the
column ranges named T1, T2, T3, T4 and T5:

T1 T2 T3 T4 T5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 5 7
1 2 5 7 10
1 2 5 10 12
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15

In the same sheet, I can put together an array formula that refers to the
whole block by using the syntax T1:T5. However, if I try to use the same
array formula in a different sheet using Sheet1!T1:T5 I get #VALUE. Can
anyone tell me what's wrong with my syntax and if there's any way of
referring to this range in another sheet in terms of the existing range names
(I don't want to use cell references, i.e. A1:E14)?

  #6  
Old November 13th, 2009, 12:47 PM posted to microsoft.public.excel.misc
eduardo
external usenet poster
 
Posts: 2,131
Default refer to range in another sheet

Hi,
use the just your names, i.e if you want to sum the range

=sum(Terry1:Terry5)



"Smallweed" wrote:

Sorry, as you say I shouldn't have used T1-T5 in my example. Ok, I've got 5
columns of data, named Terry1, Terry2, Terry3, Terry4 and Terry5
respectively. I can use the reference Terry1:Terry5 to refer to the whole
block in formulae in the same sheet. I would like to use the same range in
another sheet but Sheet1!Terry1:Terry5 gives me #VALUE. Any ideas of an
alternative syntax that would work?

"Mike H" wrote:

Hi,

You don't give a clear indication of what your formula is. I don't
understand what you mean by T1 to T5. If these were named ranges you would
have got an error because those are illegal names for a named range.

Here's a simple array formula referring to named ranges on another sheet.
perhaps you can get the syntax from that. As you can see it isn't necessary
to have the sheet name when using a named range

=SUM(IF(YY1="Y",YY2))

The 2 ranges being YY1 & YY2


Mike

"Smallweed" wrote:

I have the following block of numbers in a worksheet (let's say Sheet1), the
column ranges named T1, T2, T3, T4 and T5:

T1 T2 T3 T4 T5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 5 7
1 2 5 7 10
1 2 5 10 12
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15
1 2 5 10 15

In the same sheet, I can put together an array formula that refers to the
whole block by using the syntax T1:T5. However, if I try to use the same
array formula in a different sheet using Sheet1!T1:T5 I get #VALUE. Can
anyone tell me what's wrong with my syntax and if there's any way of
referring to this range in another sheet in terms of the existing range names
(I don't want to use cell references, i.e. A1:E14)?

 




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 02:51 PM.


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