Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default ranking columns

is it possible to do the following without the use of a
macro;

There are four columns A,B,C,D I want column E to show
the ranking in order of highest to lowest based on the
value in column C, but putting its equivalent symbol from
column A of the same row in the cell in column E,
For example, if cell c11 has the highest value, I want
the symbol (they are in letters) from a11 to go in the
first cell of the ranking column (column E), If c19 had
the second highest value, then its corresponding symbol
in a 19 would go to the next cell in column E and so
forth throguh the list, so that colume E showed a list of
the whole set, ranked by highest value, and shown by
symbol.

Thanking all in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default ranking columns

this can be done with large, match and index I believe. Are there any
duplicates in the data in column C. Is column C numeric?


in E1

=INDEX($A$1:$A$100,MATCH(LARGE(C$1:$C$100,ROW()),$ C$1:$C$100,0),1)

If there are duplicates, it will take more work.


--
Regards,
Tom Ogilvy

"Tom Donino" wrote in message
...
is it possible to do the following without the use of a
macro;

There are four columns A,B,C,D I want column E to show
the ranking in order of highest to lowest based on the
value in column C, but putting its equivalent symbol from
column A of the same row in the cell in column E,
For example, if cell c11 has the highest value, I want
the symbol (they are in letters) from a11 to go in the
first cell of the ranking column (column E), If c19 had
the second highest value, then its corresponding symbol
in a 19 would go to the next cell in column E and so
forth throguh the list, so that colume E showed a list of
the whole set, ranked by highest value, and shown by
symbol.

Thanking all in advance.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default ranking columns

No matter whether you have numerical values or strings
(but do not mix them) or whether there are duplicates:

Assume that all values start in row 1.

Put into cell M1 (M is a helper column):
=COUNTIF($C:$C,""&C1)+COUNTIF($C$1:C1,C1)

Put into cell E1:
=INDEX(A:A,MATCH(ROW(),M:M,FALSE))

Now copy E1 and M1 down as far as necessary.

HTH,
Bernd
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
Ranking from multiple columns Dallman Ross Excel Discussion (Misc queries) 17 July 17th 07 11:20 AM
Ranking multiple columns by 1000th inch chappo555 Excel Worksheet Functions 11 July 6th 06 05:38 PM
Ranking based on two columns sa02000 Excel Worksheet Functions 2 April 17th 06 06:10 PM
Scoring/Ranking 2 Columns of Stock Symbols Bohica Excel Worksheet Functions 7 March 1st 06 06:17 AM
Ranking jtothet21 Excel Discussion (Misc queries) 1 May 21st 05 03:35 AM


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