View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Sandy Mann Sandy Mann is offline
external usenet poster
 
Posts: 2,345
Default Pull data based on month

It seems that I am going cross-eyed, my test was with 15 in C2 and 14 in C3
the array entered formula:

=SUM(INDEX(C2:C3,{1,2}))

returned 15 and I mistook this for the last value not the first.
Highlighting just the INDEX(C2:C3,{1,2}) and pressing F9 to calculate that
part of the formula calculates only 15 not an array {14,15} so it seems that
INDEX() will not accept an array for its second argument.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Jim May" wrote in message
...
Thanks for the additional input (I sort's know what you are saying here).
Jim

"Sandy Mann" wrote:

"Jim May" wrote in message
...
Sandy, can this be done using Sum(Index, Match) entered as a CSE?


I can't but perhaps Biff or some of the other clever pople around here
can.
INDEX() seems to only return one value and when you try to give it an
array
as its second argument it returns the last matching value.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk