Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default how to find ranking value of one column grouped on another col

For those interested:
The ranking was taking minutes because it was scanning through some 30000
records for matches.

Since my groups are never larger than 15 and each group is contiguous in col
A, I made the sumproduct range a relative index +/- 16 -more than twice the
size of my groups and put a few (17) blank lines in at the top starting the
records from row 17.

The thing ranks the whole 30k records in a couple of secs.

Here is the revised version.

=SUMPRODUCT(--($A1:$A32=$A17),--($B17$B1:$B32))+1
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
How to hide and show a grouped column via VBA code? Michiel via OfficeKB.com Excel Discussion (Misc queries) 3 April 24th 23 07:46 PM
HDI: Show Value as 'Percentage of' Grouped Column in Pivot vbasean Excel Discussion (Misc queries) 2 December 23rd 08 02:31 PM
naming a grouped column Amie Excel Worksheet Functions 0 July 25th 06 10:43 PM
create chart from series grouped by value in another column HarCo Charts and Charting in Excel 2 August 28th 05 01:53 AM
Column Charts - stacked and grouped jtd1 Charts and Charting in Excel 2 April 10th 05 10:48 PM


All times are GMT +1. The time now is 03:44 AM.

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

About Us

"It's about Microsoft Excel"