Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ah
 
Posts: n/a
Default Ranking within in ranges

I need a formula that will allow me to rank one column of numbers based on a
value in another column. e.g. If I have values in column A and countries in
column B. I want to rank the values by country in other words each country
will have a #1 etc. also the number of values by each country will be
different

thanks

ah
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
daddylonglegs
 
Posts: n/a
Default Ranking within in ranges


Assuming you have data in rows 2 to 100 use this formula in row 2 and
copy down

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


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=532091

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ah
 
Posts: n/a
Default Ranking within in ranges

This was excellent
--
thanks

ah


"ah" wrote:

I need a formula that will allow me to rank one column of numbers based on a
value in another column. e.g. If I have values in column A and countries in
column B. I want to rank the values by country in other words each country
will have a #1 etc. also the number of values by each country will be
different

thanks

ah

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
Named Ranges Joe Gieder Excel Worksheet Functions 2 February 16th 06 01:31 AM
How do I find all named ranges in VB.NET? John Brock Excel Discussion (Misc queries) 5 September 2nd 05 04:39 PM
Multiple Ranges for a Chart Barb R. Charts and Charting in Excel 0 May 31st 05 11:52 PM
compare unique identifiers in multiple ranges bawilli_91125 Charts and Charting in Excel 1 November 30th 04 06:34 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 01:34 PM.

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"