Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default include criteria to 'rank based array function'

Hi, Everybody.I got a robust formula from Mr.Biff and Mr.Bob against my post
"rank based array function'.
Can any body make it more robust by adding one more criteria i.e 'Job'
wise(B2:B10).In precise, I am looking for a w/sheet function that returns Top
3 gainers( salary increase percetage wise) by job wise,that means Top 3
managers,Top 3 clerks etc....who gained/lost most.
Since Mr.Biff used Sumproduct function with unary I presume one more
criteria can be added as an array to sumproduct function.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default include criteria to 'rank based array function'

If only life were that simple

=IF(ROWS($1:1)<=SUMPRODUCT(--(C$2:C$10/D$2:D$10=LARGE(IF($B$2:$B$10="manage
r",C$2:C$10/D$2:D$10,0),3)),--($B$2:$B$10="manager")),
INDEX(A$2:A$10,MATCH(LARGE((IF($B$2:$B$10="manager ",C$2:C$10/D$2:D$10))-ROW(
D$2:D$10)/10^10,ROWS($1:1)),(C$2:C$10/D$2:D$10)-ROW(D$2:D$10)/10^10,0)),"")

still an array formula

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"TUNGANA KURMA RAJU" wrote in
message ...
Hi, Everybody.I got a robust formula from Mr.Biff and Mr.Bob against my

post
"rank based array function'.
Can any body make it more robust by adding one more criteria i.e 'Job'
wise(B2:B10).In precise, I am looking for a w/sheet function that returns

Top
3 gainers( salary increase percetage wise) by job wise,that means Top 3
managers,Top 3 clerks etc....who gained/lost most.
Since Mr.Biff used Sumproduct function with unary I presume one more
criteria can be added as an array to sumproduct function.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default include criteria to 'rank based array function'

Thank you Bob,You saved me from sleepless night.

"Bob Phillips" wrote:

If only life were that simple

=IF(ROWS($1:1)<=SUMPRODUCT(--(C$2:C$10/D$2:D$10=LARGE(IF($B$2:$B$10="manage
r",C$2:C$10/D$2:D$10,0),3)),--($B$2:$B$10="manager")),
INDEX(A$2:A$10,MATCH(LARGE((IF($B$2:$B$10="manager ",C$2:C$10/D$2:D$10))-ROW(
D$2:D$10)/10^10,ROWS($1:1)),(C$2:C$10/D$2:D$10)-ROW(D$2:D$10)/10^10,0)),"")

still an array formula

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"TUNGANA KURMA RAJU" wrote in
message ...
Hi, Everybody.I got a robust formula from Mr.Biff and Mr.Bob against my

post
"rank based array function'.
Can any body make it more robust by adding one more criteria i.e 'Job'
wise(B2:B10).In precise, I am looking for a w/sheet function that returns

Top
3 gainers( salary increase percetage wise) by job wise,that means Top 3
managers,Top 3 clerks etc....who gained/lost most.
Since Mr.Biff used Sumproduct function with unary I presume one more
criteria can be added as an array to sumproduct function.




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
RANK Function - Zero Value Ranked as 1 - Should be 10 Sandi Excel Worksheet Functions 8 August 4th 06 03:05 AM
sum items in a column based on criteria located in other columns Kurt Excel Discussion (Misc queries) 1 August 2nd 06 05:12 PM
VBA function for "Mean" using Array as argument ASokolik Excel Worksheet Functions 21 March 28th 06 10:05 PM
Rank based on criteria Steve DeBruin Excel Worksheet Functions 3 August 31st 05 09:36 AM
Formula to list unique values JaneC Excel Worksheet Functions 4 December 10th 04 12:25 AM


All times are GMT +1. The time now is 01:26 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"