Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Select value from a range given a rank

I need to get a value out of a range when I know the rank.

I would like a symmetric function to RANK(value, range) which returns the
rank given a value in the range.

I can't do the vlookup type solution I see referenced in the other posting
because I cannot add an additional column next to the range to hold the ranks
(i.e., RANK(B1, B1:B10) filled into A1:A10).

I'm trying to avoid writing a macro, but need a single function that could
return the value in a set for a given rank that does not require adding extra
data to the sheet. The result in a tie doesn't matter because its the same
value, and if the rank didn't exist because of ties, I would expect an NA
consistent with RANK(value, range) when the value doesn't occur in the range.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Select value from a range given a rank

The more I look at the formuls in the previous posts, I think Large does what
I need here.

I have a cell which has calculated the rank I need, but Rank also indicates
where the size is, and because rank is skipping over ties, it works perfectly
for me as an input for large

So given that I have a cell A1 that has a valid RANK that I need, I can use
LARGE(<range, A1) and it is returning the value I want.


"BRD88" wrote:

I need to get a value out of a range when I know the rank.

I would like a symmetric function to RANK(value, range) which returns the
rank given a value in the range.

I can't do the vlookup type solution I see referenced in the other posting
because I cannot add an additional column next to the range to hold the ranks
(i.e., RANK(B1, B1:B10) filled into A1:A10).

I'm trying to avoid writing a macro, but need a single function that could
return the value in a set for a given rank that does not require adding extra
data to the sheet. The result in a tie doesn't matter because its the same
value, and if the rank didn't exist because of ties, I would expect an NA
consistent with RANK(value, range) when the value doesn't occur in the range.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Select value from a range given a rank

So, does this mean that the problem is solved?

Pete

On Aug 30, 6:56 pm, BRD88 wrote:
The more I look at the formuls in the previous posts, I think Large does what
I need here.

I have a cell which has calculated the rank I need, but Rank also indicates
where the size is, and because rank is skipping over ties, it works perfectly
for me as an input for large

So given that I have a cell A1 that has a valid RANK that I need, I can use
LARGE(<range, A1) and it is returning the value I want.



"BRD88" wrote:
I need to get a value out of a range when I know the rank.


I would like a symmetric function to RANK(value, range) which returns the
rank given a value in the range.


I can't do the vlookup type solution I see referenced in the other posting
because I cannot add an additional column next to the range to hold the ranks
(i.e., RANK(B1, B1:B10) filled into A1:A10).


I'm trying to avoid writing a macro, but need a single function that could
return the value in a set for a given rank that does not require adding extra
data to the sheet. The result in a tie doesn't matter because its the same
value, and if the rank didn't exist because of ties, I would expect an NA
consistent with RANK(value, range) when the value doesn't occur in the range.- Hide quoted text -


- Show quoted text -



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
Using rank to select top marks ruthhicks999 Excel Worksheet Functions 1 February 1st 07 02:34 PM
range inside RANK formula based on contents of other cells andy62 Excel Worksheet Functions 3 September 5th 06 07:37 PM
RANK, duplicate ranking but no gaps in rank arron laing Excel Worksheet Functions 4 June 14th 06 07:57 AM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Excel Discussion (Misc queries) 1 August 15th 05 09:36 PM
How do you copy RANK w/o it changing the range? jspan Excel Worksheet Functions 1 June 21st 05 02:56 AM


All times are GMT +1. The time now is 09:29 PM.

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"