PC Review


Reply
Thread Tools Rate Thread

Display ranked data in order from a range

 
 
S Davis
Guest
Posts: n/a
 
      6th Jul 2006
Hello,

This is a continuation of a recent problem I had. But never mind that
for now

I essentially have a range of data which has been ranked from largest
to smallest and according to various criteria. I would now like to
return those results which are ranked highest until a certain point -
example; my workbook tells me I need to know the top 15 results. I
would like to return the 1st, 2nd, 3rd and so on results until the
15th, or whichever number that happens to be.

I envision something that can return the number one ranked result as
long as it is less than the cell which contains the limit (15), and
copying that down with modification so that it brings over the 2nd, 3rd
etc.

Thanks.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIEh1dGNoaW5z?=
Guest
Posts: n/a
 
      7th Jul 2006
Assuming your list of numbers was in the range A5:A28 (not including any
headings), you could enter this formula in a cell in another column and copy
it down 14 times:

=OFFSET($A$5,RANK(A5,$A$5:$A$28,0)-1,0)

If your range will be more dynamic, you could set it up to look at all of
column A, as follows:

=OFFSET($A$5,RANK(A5,A:A,0)-1,0)

Hope this helps,

Hutch

"S Davis" wrote:

> Hello,
>
> This is a continuation of a recent problem I had. But never mind that
> for now
>
> I essentially have a range of data which has been ranked from largest
> to smallest and according to various criteria. I would now like to
> return those results which are ranked highest until a certain point -
> example; my workbook tells me I need to know the top 15 results. I
> would like to return the 1st, 2nd, 3rd and so on results until the
> 15th, or whichever number that happens to be.
>
> I envision something that can return the number one ranked result as
> long as it is less than the cell which contains the limit (15), and
> copying that down with modification so that it brings over the 2nd, 3rd
> etc.
>
> Thanks.
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Sum Query of Ranked Data Jorist Microsoft Access Queries 6 29th May 2009 03:23 PM
How do I display the winner's name in a ranked list of names? Chris Microsoft Excel Programming 0 29th Dec 2008 02:36 PM
RE: Calculating Difference between ranked values within random range Gary''s Student Microsoft Excel Programming 0 23rd Jun 2008 08:38 PM
SUbform Data display order =?Utf-8?B?U3RldmUu?= Microsoft Access Forms 1 26th Oct 2005 03:22 PM
data sheet display order =?Utf-8?B?Q2hlcmll?= Microsoft Access Queries 1 16th Nov 2004 09:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:12 PM.