A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Ranking Question



 
 
Thread Tools Display Modes
  #1  
Old June 9th, 2009, 05:58 PM posted to microsoft.public.excel.worksheet.functions
PJFry
external usenet poster
 
Posts: 148
Default Ranking Question

I am dealing with a dataset that has a many ties in it. This is a list of
sales from 2008 to current, by customer and I need to rank on total sales.
In many cases, our smaller customers will buy the same items in the same
quantity month after month so it is not uncommon to have 100+ customers with
the exact same total sales amount.

How would I write a formula to ignore multiple ties, e.g.:

Total Amount Rank
1,000,000 1
900,000 2
300,000 3
5,000 4
5,000 5
5,000 6
5,000 7
5,000 8
2,500 9
2,500 10
50 11
50 12
50 13
25 14
and so on.

Thanks!
PJ
  #2  
Old June 9th, 2009, 06:15 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Ranking Question

Try this...

Salses amounts starting in cell A2. Enter this formula in B2 and copy down
as needed:

=RANK(A2,A$2:A$15)+COUNTIF(A$2:A2,A2)-1

--
Biff
Microsoft Excel MVP


"PJFry" wrote in message
...
I am dealing with a dataset that has a many ties in it. This is a list of
sales from 2008 to current, by customer and I need to rank on total sales.
In many cases, our smaller customers will buy the same items in the same
quantity month after month so it is not uncommon to have 100+ customers
with
the exact same total sales amount.

How would I write a formula to ignore multiple ties, e.g.:

Total Amount Rank
1,000,000 1
900,000 2
300,000 3
5,000 4
5,000 5
5,000 6
5,000 7
5,000 8
2,500 9
2,500 10
50 11
50 12
50 13
25 14
and so on.

Thanks!
PJ



  #3  
Old June 10th, 2009, 04:58 PM posted to microsoft.public.excel.worksheet.functions
PJFry
external usenet poster
 
Posts: 148
Default Ranking Question

That did it.

Thanks!
--
Regards,

PJ
Please rate this post using the vote buttons if it was helpful.



"T. Valko" wrote:

Try this...

Salses amounts starting in cell A2. Enter this formula in B2 and copy down
as needed:

=RANK(A2,A$2:A$15)+COUNTIF(A$2:A2,A2)-1

--
Biff
Microsoft Excel MVP


"PJFry" wrote in message
...
I am dealing with a dataset that has a many ties in it. This is a list of
sales from 2008 to current, by customer and I need to rank on total sales.
In many cases, our smaller customers will buy the same items in the same
quantity month after month so it is not uncommon to have 100+ customers
with
the exact same total sales amount.

How would I write a formula to ignore multiple ties, e.g.:

Total Amount Rank
1,000,000 1
900,000 2
300,000 3
5,000 4
5,000 5
5,000 6
5,000 7
5,000 8
2,500 9
2,500 10
50 11
50 12
50 13
25 14
and so on.

Thanks!
PJ




  #4  
Old June 10th, 2009, 05:24 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Ranking Question

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"PJFry" wrote in message
...
That did it.

Thanks!
--
Regards,

PJ
Please rate this post using the vote buttons if it was helpful.



"T. Valko" wrote:

Try this...

Salses amounts starting in cell A2. Enter this formula in B2 and copy
down
as needed:

=RANK(A2,A$2:A$15)+COUNTIF(A$2:A2,A2)-1

--
Biff
Microsoft Excel MVP


"PJFry" wrote in message
...
I am dealing with a dataset that has a many ties in it. This is a list
of
sales from 2008 to current, by customer and I need to rank on total
sales.
In many cases, our smaller customers will buy the same items in the
same
quantity month after month so it is not uncommon to have 100+ customers
with
the exact same total sales amount.

How would I write a formula to ignore multiple ties, e.g.:

Total Amount Rank
1,000,000 1
900,000 2
300,000 3
5,000 4
5,000 5
5,000 6
5,000 7
5,000 8
2,500 9
2,500 10
50 11
50 12
50 13
25 14
and so on.

Thanks!
PJ






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.