Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Ranking by multiple Criteria

I would like to rank a group based on two Criteria, and i can't figure it
out. I've got a list of 10 teams and I want to rank them based first on
winning % then by total points earned. Here is an exaple of the dataset:

A B
1 .75 256
2 .48 305
3 .53 368
4 .53 412

So in this example, 1 would be first, then 4, then 3, then 2.

I know that I can sort them and get the return manually, but I really don't
want to have to manually sort the list every day. Any bright ideas?
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Ranking by multiple Criteria

Yes, you can use the RANK function in Excel to rank the teams based on multiple criteria. Here's how you can do it:
  1. Add a new column to your dataset, let's say column C, and label it "Rank".
  2. In cell C1, enter the following formula:
    Formula:
    =RANK(A1,$A$1:$A$4)+RANK(B1,$B$1:$B$4
  3. Drag the formula down to the rest of the cells in column C.
  4. Now, you can sort the data based on the values in column C to get the ranking based on both criteria.

The RANK function in Excel returns the rank of a number within a range of numbers. By adding the ranks of the two criteria, we can get a combined rank for each team. The dollar signs in the formula make sure that the range of numbers used for ranking remains constant even when we drag the formula down to other cells.

Once you have the ranks in column C, you can sort the data based on the values in that column to get the ranking based on both criteria. To do this, select the entire dataset including the header row, go to the "Data" tab in the ribbon, and click on "Sort". In the "Sort" dialog box, select "Rank" as the sort by column and choose "Smallest to Largest" as the sort order. Click "OK" to sort the data. The teams will now be ranked based on both criteria.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 258
Default Ranking by multiple Criteria

Zaphod --

Select the whole table, then click DataSort. In your example, sort first
for column A (descending) then column B (descending). It would be easier if
you organized it like this:

A B C
1 Team Percent Runs
2 A 75% 256
etc.

Then, when you do the sort, you'll see the actual column names by which to
sort.

HTH

"Zaphod117" wrote:

I would like to rank a group based on two Criteria, and i can't figure it
out. I've got a list of 10 teams and I want to rank them based first on
winning % then by total points earned. Here is an exaple of the dataset:

A B
1 .75 256
2 .48 305
3 .53 368
4 .53 412

So in this example, 1 would be first, then 4, then 3, then 2.

I know that I can sort them and get the return manually, but I really don't
want to have to manually sort the list every day. Any bright ideas?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Ranking by multiple Criteria

Try this:

=RANK(A1,A$1:A$4)+SUMPRODUCT(--(A1=A$1:A$4),--(B1<B$1:B$4))

Copy down

--
Biff
Microsoft Excel MVP


"Zaphod117" wrote in message
...
I would like to rank a group based on two Criteria, and i can't figure it
out. I've got a list of 10 teams and I want to rank them based first on
winning % then by total points earned. Here is an exaple of the dataset:

A B
1 .75 256
2 .48 305
3 .53 368
4 .53 412

So in this example, 1 would be first, then 4, then 3, then 2.

I know that I can sort them and get the return manually, but I really
don't
want to have to manually sort the list every day. Any bright ideas?



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 Values that Meet a Certain Criteria [email protected] Excel Discussion (Misc queries) 3 March 19th 07 09:43 PM
Any way to have a dynamic range for ranking, based on criteria? S Davis Excel Worksheet Functions 7 November 9th 06 06:30 PM
ranking based on criteria Bob Phillips Excel Worksheet Functions 1 September 25th 06 09:03 PM
help using lookup and some kind of ranking criteria my Excel Worksheet Functions 1 May 18th 06 05:41 PM
Ranking with criteria EstherJ Excel Discussion (Misc queries) 1 December 1st 05 04:54 PM


All times are GMT +1. The time now is 03:42 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"