Solved

Excel 2003

Posted on 2011-03-21
5
178 Views
Last Modified: 2012-06-22
I would like to have formula in column C where it should show "1" for the largest amount for each ID and then 2 for the second largest amount for each ID and then 3 for the 3rd largest amount for each ID. For exameple for ID 110 it should 1 for 25 amount and 2 for 23 amount. Please look at the attach sample. thanks
Sample.xls
0
Comment
Question by:snhandle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 500 total points
ID: 35185717
Try this formula in cell C2, copy down

=SUMPRODUCT(--(A$2:A$10=A2),--(B2< B$2:B$10))+1

Thomas
0
 
LVL 42

Expert Comment

by:dlmille
ID: 35185725
Put this in C2 and copy down:

=SUMPRODUCT(--(B2>$B$2:$B$1000)*($A$2:$A$1000=A2))+1

Increase the 1000 to the max your range will be

see attached:

Dave
ranking-sample-r1.xls
0
 
LVL 42

Expert Comment

by:dlmille
ID: 35185729
you beat me, Thomas...

Dave
0
 
LVL 42

Expert Comment

by:dlmille
ID: 35185739
and I ranked backwards.

My formula should be

=SUMPRODUCT(--(B2<$B$2:$B$1000)*($A$2:$A$1000=A2))+1

lol

Dave
0
 

Author Closing Comment

by:snhandle
ID: 35195532
Good job
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question