#1   Report Post  
Ginger
 
Posts: n/a
Default Index question

Hi,

Just a quick question about index. Am I able to have a formula as the array
in index?

Using the following as an example:

1 C E F G H
Column 1 2
3
2 Month and year Row Region 1 Region 2 Region 3
3 January2001 1
4 January2001 2
.....
203 February2001 201
.....
403 March2001 401
.....
September2005

Why can I not say for cell F3 (trying to keep things simple):

=INDEX($C$1,$E3+2,1)

or this for F5 (trying to avoid using a plain cell reference for the array):

=INDEX(INDEX($C:$C,CELL("row"),1),$E5,F$1)

The idea is to have the array names stored in column C and reference to them
as required. Each name then has a set of values associated with it using the
INSERTNAMEDEFINE menu.

Perhaps it's just not possible or perhaps I'm just not typing it in
correctly. If you can tell me which of these it is it would be very grateful!

Many thanks.
  #2   Report Post  
bj
 
Posts: n/a
Default

the first entry in iindex needs to be an array. the the other references
relate to ther top left cell of the array but must lie within the array.
"Ginger" wrote:

Hi,

Just a quick question about index. Am I able to have a formula as the array
in index?

Using the following as an example:

1 C E F G H
Column 1 2
3
2 Month and year Row Region 1 Region 2 Region 3
3 January2001 1
4 January2001 2
....
203 February2001 201
....
403 March2001 401
....
September2005

Why can I not say for cell F3 (trying to keep things simple):

=INDEX($C$1,$E3+2,1)

or this for F5 (trying to avoid using a plain cell reference for the array):

=INDEX(INDEX($C:$C,CELL("row"),1),$E5,F$1)

The idea is to have the array names stored in column C and reference to them
as required. Each name then has a set of values associated with it using the
INSERTNAMEDEFINE menu.

Perhaps it's just not possible or perhaps I'm just not typing it in
correctly. If you can tell me which of these it is it would be very grateful!

Many thanks.

  #3   Report Post  
Ginger
 
Posts: n/a
Default

Hi bj, thanks for the reply.

So that is why INDEX(January2001, etc works but INDEX(C3, etc does not, or
at least, not as I want it to.

OK, back to the drawing board for me then. Thanks again.

"bj" wrote:

the first entry in iindex needs to be an array. the the other references
relate to ther top left cell of the array but must lie within the array.
"Ginger" wrote:

Hi,

Just a quick question about index. Am I able to have a formula as the array
in index?

Using the following as an example:

1 C E F G H
Column 1 2
3
2 Month and year Row Region 1 Region 2 Region 3
3 January2001 1
4 January2001 2
....
203 February2001 201
....
403 March2001 401
....
September2005

Why can I not say for cell F3 (trying to keep things simple):

=INDEX($C$1,$E3+2,1)

or this for F5 (trying to avoid using a plain cell reference for the array):

=INDEX(INDEX($C:$C,CELL("row"),1),$E5,F$1)

The idea is to have the array names stored in column C and reference to them
as required. Each name then has a set of values associated with it using the
INSERTNAMEDEFINE menu.

Perhaps it's just not possible or perhaps I'm just not typing it in
correctly. If you can tell me which of these it is it would be very grateful!

Many thanks.

  #4   Report Post  
bj
 
Posts: n/a
Default

index does strange things. I have formulas which should not have worked ( at
least by the Help format) work and ones which should have worked not work
until I retyped them.

"Ginger" wrote:

Hi bj, thanks for the reply.

So that is why INDEX(January2001, etc works but INDEX(C3, etc does not, or
at least, not as I want it to.

OK, back to the drawing board for me then. Thanks again.

"bj" wrote:

the first entry in iindex needs to be an array. the the other references
relate to ther top left cell of the array but must lie within the array.
"Ginger" wrote:

Hi,

Just a quick question about index. Am I able to have a formula as the array
in index?

Using the following as an example:

1 C E F G H
Column 1 2
3
2 Month and year Row Region 1 Region 2 Region 3
3 January2001 1
4 January2001 2
....
203 February2001 201
....
403 March2001 401
....
September2005

Why can I not say for cell F3 (trying to keep things simple):

=INDEX($C$1,$E3+2,1)

or this for F5 (trying to avoid using a plain cell reference for the array):

=INDEX(INDEX($C:$C,CELL("row"),1),$E5,F$1)

The idea is to have the array names stored in column C and reference to them
as required. Each name then has a set of values associated with it using the
INSERTNAMEDEFINE menu.

Perhaps it's just not possible or perhaps I'm just not typing it in
correctly. If you can tell me which of these it is it would be very grateful!

Many 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
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
Formatting result of Index function ExcelFred Excel Worksheet Functions 5 July 26th 05 01:34 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Match + Index(?) Question KemS Excel Discussion (Misc queries) 2 March 31st 05 01:23 AM
index to a range of cells Frank Kabel Excel Worksheet Functions 0 October 27th 04 05:39 PM


All times are GMT +1. The time now is 08:38 PM.

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

About Us

"It's about Microsoft Excel"