Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello
I have a scorecard for the Eurovision Song Contest tomorrow. This scores 24 countries (listed in A1:A24), giving each country a point score between 1 and 20 (points are in B1:B24). I can use the rank function in column C to determine which country has come first in the list (i.e. in C1, I put =rank(B1,$B$1:$B$24) and copy the formula down to C24). This then allows me to create a new list, with the countries in order from who has scored most points to who has scored least. I do this by repeating the countries in column D, and then in column F I use the formula =vlookup(row(F1)-row($F$1)+1,$C$1:D$24,2,FALSE). This works ok as long as two countries do not score the same number of points. If this happens, then I get an "N/A" in this column. How do I get around this? And can I make the formula further fool-proff so that if 3, 4, 5 or 6 countries score equal points, the formula doesn't fall over? If 2 or more countries are tied, the order I would like Excel to return the countries in could be either (i) the order in which the country appears in the original list; or (ii) alphabetical. Many Thanks for any help you can give me. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I create a list of items in a column? | Excel Worksheet Functions | |||
Trying to Create a Conditional Drop down list | Excel Worksheet Functions | |||
How to create a Sub validation list in excel? | Excel Discussion (Misc queries) | |||
How do I create a command from a list box | Excel Discussion (Misc queries) | |||
create a drop down list with the source from a different workbook | Excel Discussion (Misc queries) |