Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello,
Based on the following example: Item Quantity A 2 S 7 D 3 F 6 I am looking for a ranking formula that will pull the data from the first column based on the ranking of the second column so that the end result will look like this 1 S 2 F 3 D As S has the largest quantity, F 2nd largest etc The list I will pull this from is variable in length but in the hundreds. Any help would be appreciated. Glen |
#2
![]() |
|||
|
|||
![]()
Can't you use Data|Sort|Descending on the Quantity?
-- Ian -- "gmunro" wrote in message oups.com... Hello, Based on the following example: Item Quantity A 2 S 7 D 3 F 6 I am looking for a ranking formula that will pull the data from the first column based on the ranking of the second column so that the end result will look like this 1 S 2 F 3 D As S has the largest quantity, F 2nd largest etc The list I will pull this from is variable in length but in the hundreds. Any help would be appreciated. Glen |
#3
![]() |
|||
|
|||
![]()
I was hoping to pull a separate list, rather than running a data sort
(as easy as that is) and am relatively new to the Rank function. I know I could do this with inserting a column and adding a vlookup, but that will complicate other macros I have going on with this document. With that, I am wondering if there is a formula that will do it. |
#4
![]() |
|||
|
|||
![]()
Enter this in C1, and copy down
=INDEX($A$1:$A$10,MATCH(ROW(),RANK($B$1:$B$10,$B$1 :$B$10),0)) it is an array formula, so commit with Carol-Shift-Enter. Change the 10 to a realistic number for you -- HTH Bob Phillips "gmunro" wrote in message oups.com... I was hoping to pull a separate list, rather than running a data sort (as easy as that is) and am relatively new to the Rank function. I know I could do this with inserting a column and adding a vlookup, but that will complicate other macros I have going on with this document. With that, I am wondering if there is a formula that will do it. |
#5
![]() |
|||
|
|||
![]()
"Bob Phillips" wrote in message
... it is an array formula, so commit with Carol-Shift-Enter. Change the 10 to a Hi Bob Who's Carol? :-) -- Ian -- |
#6
![]() |
|||
|
|||
![]()
She's the damned spell-checker <vbg
-- HTH Bob Phillips "Ian" wrote in message ... "Bob Phillips" wrote in message ... it is an array formula, so commit with Carol-Shift-Enter. Change the 10 to a Hi Bob Who's Carol? :-) -- Ian -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
find names on list 1 in list 2. list 1 4000 names list 2 400 name | Excel Worksheet Functions | |||
Update master list with other lists | Excel Worksheet Functions | |||
LOOP - Adddress List -to email | Excel Discussion (Misc queries) | |||
Refresh a Validation List? | Excel Discussion (Misc queries) | |||
Extracting Values on one list and not another | Excel Discussion (Misc queries) |