LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Trouble with Array multiple return formula

Good deal. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Kate" wrote in message
...
Thanks! This works for me. After I put your formula in, I realized I
needed
to change my =A156 to a constant and then it worked perfectly. Thanks so
much
for your help. You saved me a lot of frustration.

"T. Valko" wrote:

=INDEX(D2:D219,SMALL(IF((C2:C219=A156),ROW(C2:C21 9)),ROW()))


What cell are you entering this formula in?

Array entered** :

=INDEX(D$2:D$219,SMALL(IF(C$2:C$219=A$156,ROW(C$2: C$219)),ROWS(A$1:A1))-ROW(C$2)+1)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT
key then hit ENTER.

Replace A$1:A1 with the cell you're entering the formula in. For example,
if
you're entering the formula in cell AX22 then:

=INDEX(D$2:D$219,SMALL(IF(C$2:C$219=A$156,ROW(C$2: C$219)),ROWS(AX$22:AX22))-ROW(C$2)+1)

Copy down as needed.

--
Biff
Microsoft Excel MVP


"Kate" wrote in message
...
Hi-
I've been trying to get multiple returns on an array formula with no
success. I still get a single return. I've looked through the other
posts
and
I think the formula below is the answer to my problem. I got it to work
once
on a sample and then couldn't get the sample to work again after I
retyped
the formula. Now it only returns a single result.

Essentially what I'm doing is comparing avg pricing to customer
pricing.
If
a customer has a price on a certain product, I want to see it. My set
up
is
(A) Code, (B) Avg. Co. Price, (C) Codes (these match the previous code
column
but are showing wich customers have them), (D) Customer, (E) Customer
Price.

Any ideas? Thanks.

=INDEX(D2:D219,SMALL(IF((C2:C219=A156),ROW(C2:C219 )),ROW()))








 
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 return multiple occurrences of a match in an array? Umbu Excel Worksheet Functions 1 May 25th 08 05:07 PM
Is there any way to use HLOOKUP in an array formula to return multiple matches? [email protected] Excel Worksheet Functions 9 August 31st 06 03:55 AM
match multiple criteria & return value from array Tat Excel Worksheet Functions 2 June 21st 05 04:31 PM
Trouble shooting#NA error in Array formula RonR Excel Discussion (Misc queries) 2 June 14th 05 09:58 PM
ARRAY FORMULA-RETURN 0 INSTEAD OF #DIV/0 Teri Excel Worksheet Functions 8 January 14th 05 05:45 PM


All times are GMT +1. The time now is 09:53 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"