Rank Column Range Of Numbers
Jun 1, 2008
Without sorting the original field, I am attempting to compare the values in column 1 and then assign a "place" value in column 2 ( cell) next to each value compared starting with 1 (least value) thru n ....until all values have been compared.
Column 1 Column 2
52.1 7
47.4 3
50.0 4
100.0 9
45.3 1
46.3 2
51.1 6
50.5 5
52.2 8
View 4 Replies
ADVERTISEMENT
Feb 11, 2009
What I am trying to do is give the rank in column D based on the values in columns B and C. Some of the values in column B will have then same rank, and as such I want to add further criteria on which to rank them. I would first like to rank the values in column B and then rank the values in column C, which should give the rank in column D. For example Dog and Frog have the same value of 400 from the Non UK column. Therefore, rather than having these as both rank 1, I want them to be ranks 1 and 2, so want to add another criteria (UK). As Dog is greater than Frog in the UK (i.e. 10>7), I would like to rank Dog as 1 and Frog as 2. Goat will be ranked as 3 because it had the thrid highest value in the Non UK.
ABCD
1Non UKUKRank
2Cat20055
3Dog400101
4Eel200114
5Frog40072
6Goat30023
View 4 Replies
View Related
Mar 5, 2012
I have a mass of data which look something like this:
table removed
and I require the ranges of reference numbers to be listed in a column one above the other, which requires inserting new rows. I also need the date & description columns copied down into the newly inserted rows.
So basically for example I would want the top row to now read:
table removed
and then apply the same procedure to the other ranges below this.
View 4 Replies
View Related
Jun 27, 2013
So I have
BI Raw:..... 500.....480.....570.....540.....480
TI Raw:........88.......80.......51.......22.....122
BI Rank:........3.........4.........1.........2........5
TI Rank:........2..........3........4.........5........1
The Raw rows are calculated then each given a rank. the highest is 1.
In case of a tie in the BI Raw then the lower TI Raw wins.
Also there can be up to 15 numbers in the row
So how would i assign the Rank either using a cell formula or VBA code?
View 2 Replies
View Related
Jul 18, 2014
Attempting to do a spreadsheet for my golf club, to record scores, etc...
Managed to get it to pretty much what I want despite some very extreme looking formulae! So for some scores such as 56,56,57,57,54,54, Rank would just give me 3,3,5,5,1,1, so I have put a second column next to 56,56,57,57,54,54 where I input scores to seperate ties (better back nine scores), so in the above I would have for example 30,29 next to the two 56s, 27,29 next to the two 57s, and 27,28 next to the two 54s, so the rank would return 4,3,5,6,1,2. I have gone three stages further, so if, the back nine score was also tied, I have a column for the last 6 hole score, the last 3 hole score and even the last hole score. This is some serious formulae at this point. However, I now want the OPTION to rank the original data as 2,2,3,3,1,1 if I don't put any data in the back nine column.
This is so that I can input doubles scores on the same spreadsheet as singles scores, so if two people shoot the same score in singles I can input the back 9 scores etc to decide who comes out ahead, but in doubles I would just leave the back nine score blank, and then two people would share 1st in the rank, but then I need two 2nd ranks NOT 3rd ranks as it currently is.
Just so you can see how complex it is the current forumlae in the rank is here is an example:
=IF(O7="","",IF(K$2="MEDAL",RANK(O7,O$7:O$255,1)
+SUMPRODUCT(--(O7=O$7:O$255),--(P7>P$7:P$255))
+SUMPRODUCT(--(O7=O$7:O$255),--(P7=P$7:P$255),--(Q7>Q$7:Q$255))
[Code] .....
There are other things in there to sort out a few other issues as well, but I cant see the wood for the trees so to speak, to get it todo what I want!
I have also attached a sample from my spreadsheet to better demonstrate what I want!
View 12 Replies
View Related
Dec 30, 2008
I'm attempting to create a formula that will find the name associated with a value, and return that name on the same column as that value in a later equation.
OK OK to illustrate it a little better:
There are three people: Bill, Ted, and Andy. Each one is ranked in Points, so my table looks like this:
A B
1 Bill 10
2 Ted 20
3 Andy 30
Later on, I want to rank the individuals based on their score, using a formula. Right now, I can rank the scores based using LARGE(B1:B3,1), then LARGE(B1:B3,2), and lastly LARGE(B1:B3,3). That ranks the numbers in descending columns. However, I want the information to automatically populate the name associated with that particular point total. So, I want the system to know that B1 is Bill's score, and rank it, in descending order, later on in the spreadsheet, with Bill's name.
View 9 Replies
View Related
Apr 2, 2009
I have and table that gets the average performance of couriers as a %. so.
courier 1...courier 2...courier 3...courier 4,
98.16.......100...........99.7...........99.72
i want is a formula (hoping note to have to code this) that will show which order these couriers should be ranked in by looking at the range of averages. So courier2(100) would be ranked 1st, courier 4(99.7) would be ranked 2nd etc. the end table will look something like.
courier 1...courier 2...courier 3...courier 4,
98.16.......100...........99.7...........99.72
4..............1...............3................2
View 2 Replies
View Related
May 4, 2013
trying to use the rank function but unable to use different ranges, even if I use named ranges
=rank(F1,F1:F30,F50:F60,F90:F115,0)
=rank(F1,F1:F30,F50:F60,F90:F115,0)'
It says entered too many arguments
View 5 Replies
View Related
Feb 9, 2009
Is it possible to display the actual relative row and column number in a cell within a range more efficiently then listed below?
For example: I have a named range "data" D7:L19.
In cell E8 should display R2C2. In cell G17 should display R11C4. etc.......
I am using a method described below where cell E8 will have the formula:
="R"&ROW()-ROW($D$7)+1&"C"&COLUMN()-COLUMN($D$7)+1
The reason i am doing this is to solve a bigger problem creating dynamic column headers from a vertical list (named range). But sometimes the column headers, although being consecutive, may be listed in every other column.
Col 1 Col 2 Col 3 Col 4
Heading1 (nothing) Heading2 (nothing) etc......
Dynamic List
Heading1
Heading2
etc....
View 9 Replies
View Related
Feb 2, 2007
I want to be able to use column numbers instaed of letters when selecting a range in VBA. My current code is: Range("G12:Z500").Select. The columns, however are reliant upon a variable, therefore I would like to be able to use that variable to change the columns when selecting this range.
View 2 Replies
View Related
Sep 25, 2008
Anyone know of a function that will return a rank of cell C3, in range C3:C800 that does contain a few #N/A values?
View 9 Replies
View Related
Jan 20, 2010
In Range A9:A32 there is a list of names, In range B9:B32 there are values.
I don't want to rank all values just the one I chose. So I need a formula that I can enter in a cell and get the rank of one selected value from column A
View 9 Replies
View Related
Feb 14, 2012
I have three columns in one Sheet (Sheet 1). The Columns are: "A" - Student Name; "B" - Start Date; "C" - No. of Courses; "D" - ID Number. The columns contains student data for 50 kids all in random order.
On a different Sheet (Sheet 2), I want to list the Student Names (Column "A" of Sheet 1) of the Top 5 students, according to their Start Dates (Column "B" of Sheet 1) latest to earliest. If two students start in the same date, I want to rank them according to the No. of Courses (Column "C" of Sheet 1) for the duplicates (large to small), and then by the Start Dates for the rest of the student. And if the Start Date and the No. of Courses for two students are the same, I want to rank them according to the ID Number (Column "D" of Sheet 1) for the duplicates (Small to large), then by the Start Dates and finally by the No. of Courses for the rest.
In addition, Sheet 1 has other information in corresponding cells stretching up to Column "J". When the Top 5 rankings will be made in Sheet 2, data points for the students shall automatically be pulled from Sheet 1 and inserted in corresponding columns within Sheet 2.
I understand its a very complicated problem. I challenge is exacerbated by the fact that I cannot use the sort function. And If the data is changed in Sheet 1, the Top 5 rankings will automatically update with the new information in Sheet 2. In addition, I am not to use VBA and have to complete the project using regular Excel functions.
View 8 Replies
View Related
Mar 21, 2014
Let's say this is my data. It's already been sorted so that like entries are all grouped together.
Ex1
Ex1
Ex1
Ex2
Ex2
I need to make a macro that numbers my data like below.
1
Ex1
2
Ex1
3
Ex1
1
Ex2
2
Ex2
Essentially, my data is many columns and sorted on a bunch of different levels. I need a quick way to assign a rank to every row in the same group, to see at a glance which performed the best.
View 3 Replies
View Related
Jul 23, 2009
I have 3 columns, A B C: Distribution Center, Sales, and Top Ranked. What I am trying to get is a Rank function in the Top Ranked column that looks for the highest value in the Sales column, but returns the Distribution Center associated with this Sales value instead of the actual value. I could get this done with some helper columns and a VLOOKUP, but the report is rather large and the VLOOKUP not only slows it down but also pushes the file size over the limit. Also, I will be using this for metrics other than Sales where I'll be looking for the highest and lowest figures, so if a Max or Min function works better, that would be fine. I just haven't been able to figure out how to have it return the associated data instead of the ranked data.
View 9 Replies
View Related
May 16, 2006
I don't know anything about the distribution functions, but I have a range of numbers and I need to know each number's rank within the range. I believe that's related to distribution, so if someone could tell me how to go about calculating that (with or without those particular functions)
View 3 Replies
View Related
Feb 15, 2010
In the attached workbook I'm trying to populate Column E with sequential numbers (as shown) based upon a changing range (defined as a named range called 'range'). Is it possible to write a formula in the cells in Column E that will do this?
View 2 Replies
View Related
Oct 5, 2007
I have a list in rows where I have a ranking formula =COUNT($G$5:$G$81)-(RANK(G5,$G$5:$G$81)+ COUNTIF($G$5:G5,G5)-1)+1 When I sort the rank, ascending. All of the unique numbers sort ascending, but the non-unique numbers sort descending
ex) 1.751
2.52
3.753
418
417
416
View 5 Replies
View Related
Dec 4, 2008
I have a table with 17 rows that I want to rank in Column L by looking at the values in Column K. How do I do it so that zero values are not factored in. Also, there will ties in value, so how do I account for that?
View 9 Replies
View Related
Feb 17, 2013
i would like to rank a column so that when entering a number in a cell it will move up the column so that the greater number falls down the colum and the larger rises up the column
ie
list
6
5
7
8
9
1
3
2
4
------------------------
list
1
2
3
4
5
6
7
8
9
View 4 Replies
View Related
Dec 20, 2013
I am looking to have the items in column K 1 through 16 listed from highest to lowest and at the same time post the corresponding number from column J 1 through 16.
So that it reads as follows:
04 - 18 - 06
02 - 17 - 06
08 - 10 - 03
Item 04 has 18 points and is listed in 6 columns etc.
How can I get Excel to do this?
View 5 Replies
View Related
Jul 19, 2009
I am trying to select a range based on two variables which store the column numbers. what I have is:
View 4 Replies
View Related
Aug 27, 2012
I have a column (B) of randomly generated numbers 1-14, and am using this formula range to sort in descending order and return the relevant value from column (c).
=VLOOKUP(LARGE(B3:B20,1),B3:C20,2,) to =VLOOKUP(LARGE(B3:B20,14),B3:C20,2,)
Works great, except when a number is duplicated, (E.G. 14,13,13,12,11,10,10,9,8 etc). It then returns the first value from(C) repeated, and not the value from the second and subsequent duplicated reference numbers.
View 3 Replies
View Related
Dec 30, 2013
I'm trying to Rank a list and than re-rank the list while excluding certain (or by Criteria) items
Vendor Co
Cost Fee
Rank
Vertox
500
4
BV
1520
3
[code].....
View 4 Replies
View Related
Feb 27, 2014
I'm going to be using a spreadsheet to keep track of where different people are at. So if Person 1 is in Room 3, I will stick a 3 in the box next to their name and then can look at the spreadsheet whenever I need and see what room they are in. When I'm deciding what room to put a person in, though, I need to be able to quickly glance at a list of Room #'s and see what one's are still available. So I have a bank of Room #'s in the spreadsheet....1,2,3, etc.
What I'd like, is some way to set this up so that when I put, for example, "3" in the cell next to "Person 1" the spreadsheet automatically removes "3" from the bank of available Room #'s and when I delete the "3" because the person has left, it adds "3" back to the bank of available Rooms.
View 7 Replies
View Related
Aug 20, 2014
following issue:
The following table is given:
flower
20
rose
flower
21
rose
[Code] ........
Which needs to be turned into:
flower
20
22
rose
flower
31
32
blossom
tree
1
3
apple
The last column is the one that dictates when a new range of numbers start. There should be one range of numbers for Rose, One range for Blossom etc.
View 4 Replies
View Related
Mar 12, 2013
This is what I need:
Columns B, C, D & E are all populated with 3 digit numbers.
I would like column F to automatically populate with any of the 3 digit numbers that share two numbers, i.e.
F2 might look like this (using 00 as the pair):
001, 040
F3 might look like this (using 01 as the pair):
701, 051, 110, 001, 120
F4 might look like this (using 12 as the pair):
123, 721, 281, 912, 112, 120
etc...
View 1 Replies
View Related
Jun 5, 2014
Say column A has either numbers or text in each cell, I need a macro to only get each number in each cell that is not a duplicate of a number in any previous cell and list each number found down column B.
View 5 Replies
View Related
Dec 17, 2009
I have a column of variances, these contain both negative numbers and positive numbers. I want to gather a sum of all the negative numbers and positive numbers separtely. Basically saying all the positive overeages = this amount And all the negative shortages = this amount. you can see the attached sample.
View 3 Replies
View Related
Sep 11, 2008
I want to delete rows in whole list and numbers of rows to be deleted I have in for example C column. How to do it?
View 9 Replies
View Related