#1   Report Post  
Jaytee
 
Posts: n/a
Default Array Functions

Excel 2003. Trying to enter an INDEX function. I put in the proper formula
(checked, and re-checked) Then, instead of simply hitting "enter, I hit
"Control-Shift-Enter"

Very seldom does has this actually worked for me, and not at all lately.
What am I doing wrong?
  #2   Report Post  
Ragdyer
 
Posts: n/a
Default

The Index() function does not necessarily need to be array entered.
It depends on the entire formula.

SO ... how about sharing your formula with us so that we might offer you
some suggestions?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Jaytee" wrote in message
...
Excel 2003. Trying to enter an INDEX function. I put in the proper formula
(checked, and re-checked) Then, instead of simply hitting "enter, I hit
"Control-Shift-Enter"

Very seldom does has this actually worked for me, and not at all lately.
What am I doing wrong?


  #3   Report Post  
Jaytee
 
Posts: n/a
Default

=INDEX(Entry!J$4:J$999,SMALL(IF(Entry!$A$4:$A$999= $B$4,ROW($1:$995)),ROW(1:1)))

The idea was to input data onto the Entry sheet, and access it on the Owners
sheet by selecting a name from a drop down list in B4 of the owners sheet.

"Ragdyer" wrote:

The Index() function does not necessarily need to be array entered.
It depends on the entire formula.

SO ... how about sharing your formula with us so that we might offer you
some suggestions?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Jaytee" wrote in message
...
Excel 2003. Trying to enter an INDEX function. I put in the proper formula
(checked, and re-checked) Then, instead of simply hitting "enter, I hit
"Control-Shift-Enter"

Very seldom does has this actually worked for me, and not at all lately.
What am I doing wrong?



  #4   Report Post  
Ragdyer
 
Posts: n/a
Default

You haven't stated exactly what your actual problem was - error message,
wrong data return, no data return - or what?

I'm assuming that you're getting an error message, maybe #N/A ?
Probably because your array is 996 rows and you've only referenced 995 rows
in your formula.

Does that sound right to you?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Jaytee" wrote in message
...

=INDEX(Entry!J$4:J$999,SMALL(IF(Entry!$A$4:$A$999= $B$4,ROW($1:$995)),ROW(1:1
)))

The idea was to input data onto the Entry sheet, and access it on the

Owners
sheet by selecting a name from a drop down list in B4 of the owners sheet.

"Ragdyer" wrote:

The Index() function does not necessarily need to be array entered.
It depends on the entire formula.

SO ... how about sharing your formula with us so that we might offer you
some suggestions?
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"Jaytee" wrote in message
...
Excel 2003. Trying to enter an INDEX function. I put in the proper

formula
(checked, and re-checked) Then, instead of simply hitting "enter, I

hit
"Control-Shift-Enter"

Very seldom does has this actually worked for me, and not at all

lately.
What am I doing wrong?




  #5   Report Post  
Jaytee
 
Posts: n/a
Default

Yep, exactly right. The wrong row reference (Say that three times fast) is
the primary problem. For some reason the array reference and row reference
"change themselves" when I close and reopen, so when I try to repair the
numbers (Should be from 4 to 999 in the first two references, and 1 to 995 in
the last one) I can't get it to accept the "Control-Shift- Delete" dealie.

"Ragdyer" wrote:

You haven't stated exactly what your actual problem was - error message,
wrong data return, no data return - or what?

I'm assuming that you're getting an error message, maybe #N/A ?
Probably because your array is 996 rows and you've only referenced 995 rows
in your formula.

Does that sound right to you?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Jaytee" wrote in message
...

=INDEX(Entry!J$4:J$999,SMALL(IF(Entry!$A$4:$A$999= $B$4,ROW($1:$995)),ROW(1:1
)))

The idea was to input data onto the Entry sheet, and access it on the

Owners
sheet by selecting a name from a drop down list in B4 of the owners sheet.

"Ragdyer" wrote:

The Index() function does not necessarily need to be array entered.
It depends on the entire formula.

SO ... how about sharing your formula with us so that we might offer you
some suggestions?
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"Jaytee" wrote in message
...
Excel 2003. Trying to enter an INDEX function. I put in the proper

formula
(checked, and re-checked) Then, instead of simply hitting "enter, I

hit
"Control-Shift-Enter"

Very seldom does has this actually worked for me, and not at all

lately.
What am I doing wrong?






  #6   Report Post  
Ragdyer
 
Posts: n/a
Default

<<<"I can't get it to accept the "Control-Shift- Delete" dealie"

Tell me that *THAT* was a typo ! ! !

You didn't really mean *DELETE*, did you ? ? ?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Jaytee" wrote in message
...
Yep, exactly right. The wrong row reference (Say that three times fast) is
the primary problem. For some reason the array reference and row reference
"change themselves" when I close and reopen, so when I try to repair the
numbers (Should be from 4 to 999 in the first two references, and 1 to 995

in
the last one) I can't get it to accept the "Control-Shift- Delete" dealie.

"Ragdyer" wrote:

You haven't stated exactly what your actual problem was - error message,
wrong data return, no data return - or what?

I'm assuming that you're getting an error message, maybe #N/A ?
Probably because your array is 996 rows and you've only referenced 995

rows
in your formula.

Does that sound right to you?
--
Regards,

RD


--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit

!

--------------------------------------------------------------------------

-
"Jaytee" wrote in message
...


=INDEX(Entry!J$4:J$999,SMALL(IF(Entry!$A$4:$A$999= $B$4,ROW($1:$995)),ROW(1:1
)))

The idea was to input data onto the Entry sheet, and access it on the

Owners
sheet by selecting a name from a drop down list in B4 of the owners

sheet.

"Ragdyer" wrote:

The Index() function does not necessarily need to be array entered.
It depends on the entire formula.

SO ... how about sharing your formula with us so that we might offer

you
some suggestions?
--
Regards,

RD



--------------------------------------------------------------------------
-
Please keep all correspondence within the NewsGroup, so all may

benefit
!


--------------------------------------------------------------------------
-
"Jaytee" wrote in message
...
Excel 2003. Trying to enter an INDEX function. I put in the proper

formula
(checked, and re-checked) Then, instead of simply hitting "enter,

I
hit
"Control-Shift-Enter"

Very seldom does has this actually worked for me, and not at all

lately.
What am I doing wrong?





  #7   Report Post  
Harlan Grove
 
Posts: n/a
Default

"Jaytee" wrote...
=INDEX(Entry!J$4:J$999,SMALL(IF(Entry!$A$4:$A$999 =$B$4,
ROW($1:$995)),ROW(1:1)))

The idea was to input data onto the Entry sheet, and access it on the
Owners sheet by selecting a name from a drop down list in B4 of the
owners sheet.

....

INDEX has odd semantics in array formulas. Unlike OFFSET, INDEX will only
return arrays when either its first or second argument is zero. Also, ROW
always returns an array, so using ROW is different arguments to SMALL could
also cause problems.

If you want the value in Entry!J4:J999 corresponding to the first entry in
Entry!A4:A999 matching B4 in the calling formula's worksheet, use

=VLOOKUP($B$4,Entry!$A$4:J$999,10,0)

If you want the value in Entry!J4:J999 corresponding to the k_th entry in
Entry!A4:A999 matching B4, use

=OFFSET(Entry!J$4,SMALL(IF(Entry!$A$4:$A$999=$B$4,
ROW(Entry!$A$4:$A$999)),k)-ROW(Entry!$A$4),0)


  #8   Report Post  
Harlan Grove
 
Posts: n/a
Default

"Harlan Grove" wrote...
....
INDEX has odd semantics in array formulas. Unlike OFFSET, INDEX will
only return arrays when either its first or second argument is zero.

....

Oops! Make that second or third argument is zero.


  #9   Report Post  
Alan Beban
 
Posts: n/a
Default

Harlan Grove wrote:
"Harlan Grove" wrote...
...

INDEX has odd semantics in array formulas. Unlike OFFSET, INDEX will
only return arrays when either its first or second argument is zero.


...

Oops! Make that second or third argument is zero.


I haven't taken the trouble to understand exactly what the OP is doing
with the original formula (it seemed to work for me in a simple test
when array entered), but the above statement is clearly incorrect. E.g.,

=INDEX(a1:a5,{3,4}), array entered, returns an array, as does
=INDEX(c3:e10,ROW(4:6),2), or, for that matter, the OP's original
formula--though, as Ragdyer pointed out, a problem can arise from the
difference in size of the areas in the formulas.

Alan Beban
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
Array functions rmellison Excel Discussion (Misc queries) 8 September 9th 05 09:22 AM
Array functions ARGHH! Marc Fleury Excel Worksheet Functions 19 March 16th 05 09:43 PM
array functions and ISNUMBER() Henrik Excel Worksheet Functions 1 February 10th 05 12:12 AM
Array Functions from Alan Beban Josh O. Excel Worksheet Functions 13 February 5th 05 12:54 AM
Array Functions - Two Questions MDW Excel Worksheet Functions 3 January 12th 05 06:54 PM


All times are GMT +1. The time now is 01:25 AM.

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"