Large function and non-unique returned values
Posted by TCol on January 07, 2001 1:08 PM
I want to creat a top 10-type list from a large table I have.
Ideally, want to use functions only so that no physical sort
is required and spreadsheet updates in real-time fashion. A
macro would also suffice as an alternative.
Column A ("Company Name"), rows A1-A5 has names in it - lets say they are stocks.
ie IBM, MSFT, ORCL, CSCO and PALM.
Lets say Column D ("Shares"), rows D1-D5 represents the number of shares of each
i.e. 100, 250, 100, 100, 300
On a second sheet, I am capturing summary data extracted from
table above. I want to creat a list in descending order which
shows the number of shares, and the associated company.
Obviously the problem I am having is the non-unique number of
shares -- the functions I've attempted always return the same
company name for each of the 100-share lots. How can I
get around this - though I am not that experienced in EXCEL, I
have attempted to-date variations of Large, Rank, Match, Index,
Offset and VLookup. I think that one of the problems I've had
involves the type of arguments returned.
Any help would be very much appreciated - I've been stuck
on this for several weeks now!