Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 64
Default Ranking if number is between 550 and 855.

I need to know how to rank a list of numbers but only rank the numbers
between 550 and 855
Example
A
523
705
557
890
I need to rank 523, 705, 890, and leave 523 and 890 out...and in desending
order.
So the ranking should be 705:2, and 557:1
Thanx.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Ranking if number is between 550 and 855.

I assume:

between 550 and 855


is inclusive, meaning =550 and <=855

Try this:

=IF(AND(A1=550,A1<=855),SUMPRODUCT(--(A$1:A$4=550),--(A$1:A$4<=855),--(A1A$1:A$4))+1,"")

Copy down as needed.

--
Biff
Microsoft Excel MVP


"David A." wrote in message
...
I need to know how to rank a list of numbers but only rank the numbers
between 550 and 855
Example
A
523
705
557
890
I need to rank 523, 705, 890, and leave 523 and 890 out...and in desending
order.
So the ranking should be 705:2, and 557:1
Thanx.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Ranking if number is between 550 and 855.

=IF(OR($A1<550,$A1855),"",MATCH(A1,LARGE(IF(($A$1 :$A$4=550)*($A$1:$A$4<=855),$A$1:$A$4),ROW(INDIRE CT("1:"&SUMPRODUCT(--($A$1:$A$4=550),--($A$1:$A$4<=855))))),0))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"David A." wrote in message
...
I need to know how to rank a list of numbers but only rank the numbers
between 550 and 855
Example
A
523
705
557
890
I need to rank 523, 705, 890, and leave 523 and 890 out...and in desending
order.
So the ranking should be 705:2, and 557:1
Thanx.




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 if number is 550 David A. Excel Worksheet Functions 3 December 13th 07 05:34 PM
Top 10 Ranking again louiscourtney Excel Discussion (Misc queries) 0 July 19th 07 04:36 PM
Ranking Will Excel Discussion (Misc queries) 10 April 11th 07 11:04 AM
I want to assign a ranking number to a series of values. tdkdik Excel Worksheet Functions 1 April 3rd 07 05:26 PM
Ranking Tim Sullivan Excel Worksheet Functions 7 July 18th 05 07:00 PM


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