Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dbr dbr is offline
external usenet poster
 
Posts: 2
Default ranking by mutliple categories

i have a list of scores with mutliple groups that i am trying to rank within
each group. the RANK function only lets you rank by one range and not by the
group within the range. I am sure i can figure out a macro to accomplish it,
but i would prefer a formula.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default ranking by mutliple categories

Assuming that A2:A10 contains the group, and B2:B10 contains the score,
try...

C2, copied down:

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

Hope this helps!

In article ,
dbr wrote:

i have a list of scores with mutliple groups that i am trying to rank within
each group. the RANK function only lets you rank by one range and not by the
group within the range. I am sure i can figure out a macro to accomplish it,
but i would prefer a formula.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dbr dbr is offline
external usenet poster
 
Posts: 2
Default ranking by mutliple categories

This worked perfectly, thanks so much.

"dbr" wrote:

i have a list of scores with mutliple groups that i am trying to rank within
each group. the RANK function only lets you rank by one range and not by the
group within the range. I am sure i can figure out a macro to accomplish it,
but i would prefer a formula.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ranking problem austuni Excel Worksheet Functions 1 October 19th 06 08:53 PM
Switching Subcategories into Categories and Vice Versa [email protected] Excel Worksheet Functions 7 April 17th 06 03:23 PM
Multiple charts in ChartSpace; problems with double Categories hstaaks Charts and Charting in Excel 0 May 4th 05 02:46 PM
Multiple charts in ChartSpace; problems with double Categories hstaaks Charts and Charting in Excel 2 May 3rd 05 01:23 AM
Multiple charts in ChartSpace; problems with double Categories hstaaks Charts and Charting in Excel 0 April 29th 05 12:06 PM


All times are GMT +1. The time now is 06:23 AM.

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

About Us

"It's about Microsoft Excel"