Remember Me?

#### Menu

#1
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 2
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
 Excel Super Guru Posts: 1,867
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
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 258
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
Posted to microsoft.public.excel.worksheet.functions
 external usenet poster Posts: 15,768
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?

 Thread Tools Search this Thread Search this Thread: Advanced Search Display Modes Linear Mode

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post [email protected] Excel Discussion (Misc queries) 3 March 19th 07 08:43 PM S Davis Excel Worksheet Functions 7 November 9th 06 05:30 PM Bob Phillips Excel Worksheet Functions 1 September 25th 06 09:03 PM my Excel Worksheet Functions 1 May 18th 06 05:41 PM EstherJ Excel Discussion (Misc queries) 1 December 1st 05 03:54 PM

All times are GMT +1. The time now is 09:45 PM.

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"