LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Ranking or sorting function

One way to achieve it using non-array formulas ..

Assume the source names and scores are in sheet: Data,
in cols A and B, from row2 down

In sheet: Summary,

Put in A2:
=IF(Data!B2="","",Data!B2+ROW()/10^10)
Leave A1 blank

Put in B2:
=IF(ROW(A1)COUNT($A:$A),"",INDEX(Data!A:A,MATCH(S MALL($A:$A,ROW(A1)),$A:$A,0)))
Copy B2 to C2. Select A2:C2, copy down to cover the max expected extent of
data in "Data", say down to C100. Hide away col A. Cols B & C will return the
required full ascending sort of names and scores, sorted by scores, with
lines returned neatly bunched at the top. Names with tied scores, if any,
will be reflected in the same relative order that they appear within "Data".
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"craig" wrote:
Thank you for your replies! The issue is, I am using one sheet for entering
the data and another sheet to summarize all of the people with their test
scores. This is because the data sheet has way to much information.

On the results sheet I want to be able to have the scores sorted ascending
automatically and then be able to look up who each of the scores belong to.
I attempted to rank each score on the datasheet and then do a vlookup off of
each rank to bring over to the results sheet the score and the name of the
person but that doesn't work when their are similar test scores which have
the same rank.

Below is an example I get the information from the data sheet and it is
summarize in the summary sheet. (The rank numbering 1,2,3 etc is typed in on
the summary sheet and the data sheet is the rank formula. I then use the
rank number on the summary sheet to do a vlookup for the remainer info on the
data sheet.

Summary Sheet

Rank Name Test Score
1 Jennifer 75
2 Matt 80
3 N/a N/A
4 Scott 90


Data sheet

Rank

2 Mike 80
4 Scott 90
1 Jennifer 75
2 Matt 80


Thanks
Craig



 
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 Function casdaq Excel Worksheet Functions 4 March 15th 07 04:50 AM
sorting and ranking Megan Excel Discussion (Misc queries) 2 June 24th 06 07:25 AM
need function to sum top ranking items in list QuantumPion Excel Worksheet Functions 13 June 6th 05 10:42 AM
ranking or sorting Liz23 Excel Worksheet Functions 3 February 11th 05 08:02 PM
Ranking/Sorting more than 3 row's chris Excel Discussion (Misc queries) 1 February 2nd 05 09:17 PM


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