PC Review


Reply
Thread Tools Rate Thread

Different perspective of RANK

 
 
swansonray
Guest
Posts: n/a
 
      17th Nov 2009
I am trying to solve a problem I am having with RANK. I found some great
information that is posted on “cpearson.com” and I see what it does but the
formulas have to be in the same rows that the data is in. What I am looking
for is to populate the 1st place for a caption in a separate row.
“=OFFSET(B$11,MATCH(SMALL(K$11:K$13,ROW()-ROW(K$11)+1),K$11:K$13,0)-1,0)”
works if data is in same row.
Info:
Column B ColumnK
Name Rank
Group1 2
Group2 1
Group3 3

Now in a row below the above data and in a separate column I want to display
the name that ranked 1st. ie Group2.

And finally if there is a tie for first in the data I want to display
“Group2 and Group(Tied Group)” in tha same cell.
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      17th Nov 2009
You could put this in, say, L5 if your data is in column B and column
K as in your example:

=INDEX(B:B,MATCH(1,K:K,0))

It will return the name from column B which has a rank of 1 in column
K.

Hope this helps.

Pete

On Nov 17, 7:36*pm, swansonray <swanson...@discussions.microsoft.com>
wrote:
> I am trying to solve a problem I am having with RANK. *I found some great
> information that is posted on cpearson.com and I see what it does but the
> formulas have to be in the same rows that the data is in. What I am looking
> for is to populate the 1st place for a caption in a separate row.
> =OFFSET(B$11,MATCH(SMALL(K$11:K$13,ROW()-ROW(K$11)+1),K$11:K$13,0)-1,0)
> works if data is in same row.
> Info:
> Column B * * * * * * * * * * * ColumnK
> Name * * * * * *Rank
> Group1 * * * * *2
> Group2 * * * * *1
> Group3 * * * * *3
>
> Now in a row below the above data and in a separate column I want to display
> the name that ranked 1st. ie Group2.
>
> And finally if there is a tie for first in the data I want to display
> Group2 and Group(Tied Group) in tha same cell.


 
Reply With Quote
 
swansonray
Guest
Posts: n/a
 
      18th Nov 2009
This does produce the said result and works if there is only 1 group ranked
1st. Thank you. But what about the second scenario if there are two groups
ranked 1 (tied) I would like to display "Group1 and Group2" or "Group1 &
Group2"

"Pete_UK" wrote:

> You could put this in, say, L5 if your data is in column B and column
> K as in your example:
>
> =INDEX(B:B,MATCH(1,K:K,0))
>
> It will return the name from column B which has a rank of 1 in column
> K.
>
> Hope this helps.
>
> Pete
>
> On Nov 17, 7:36 pm, swansonray <swanson...@discussions.microsoft.com>
> wrote:
> > I am trying to solve a problem I am having with RANK. I found some great
> > information that is posted on “cpearson.com” and I see what it does but the
> > formulas have to be in the same rows that the data is in. What I am looking
> > for is to populate the 1st place for a caption in a separate row.
> > “=OFFSET(B$11,MATCH(SMALL(K$11:K$13,ROW()-ROW(K$11)+1),K$11:K$13,0)-1,0)”
> > works if data is in same row.
> > Info:
> > Column B ColumnK
> > Name Rank
> > Group1 2
> > Group2 1
> > Group3 3
> >
> > Now in a row below the above data and in a separate column I want to display
> > the name that ranked 1st. ie Group2.
> >
> > And finally if there is a tie for first in the data I want to display
> > “Group2 and Group(Tied Group)” in tha same cell.

>
> .
>

 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      19th Nov 2009
Do you only have 3 groups, as in your example (and formula), or could
there be a lot more in practise?

Pete

On Nov 18, 9:00*pm, swansonray <swanson...@discussions.microsoft.com>
wrote:
> This does produce the said result and works if there is only 1 group ranked
> 1st. Thank you. But what about the second scenario if there are two groups
> ranked 1 (tied) I would like to display "Group1 and Group2" or "Group1 &
> Group2"
>
>
>
> "Pete_UK" wrote:
> > You could put this in, say, L5 if your data is in column B and column
> > K as in your example:

>
> > =INDEX(B:B,MATCH(1,K:K,0))

>
> > It will return the name from column B which has a rank of 1 in column
> > K.

>
> > Hope this helps.

>
> > Pete

>
> > On Nov 17, 7:36 pm, swansonray <swanson...@discussions.microsoft.com>
> > wrote:
> > > I am trying to solve a problem I am having with RANK. *I found somegreat
> > > information that is posted on cpearson.com and I see what it does but the
> > > formulas have to be in the same rows that the data is in. What I am looking
> > > for is to populate the 1st place for a caption in a separate row.
> > > =OFFSET(B$11,MATCH(SMALL(K$11:K$13,ROW()-ROW(K$11)+1),K$11:K$13,0)-1,0)
> > > works if data is in same row.
> > > Info:
> > > Column B * * * * * * * * * * * ColumnK
> > > Name * * * * * *Rank
> > > Group1 * * * * *2
> > > Group2 * * * * *1
> > > Group3 * * * * *3

>
> > > Now in a row below the above data and in a separate column I want to display
> > > the name that ranked 1st. ie Group2.

>
> > > And finally if there is a tie for first in the data I want to display
> > > Group2 and Group(Tied Group) in tha same cell.

>
> > .- Hide quoted text -

>
> - Show quoted text -


 
Reply With Quote
 
Pete_UK
Guest
Posts: n/a
 
      19th Nov 2009
I'm away for a few days from tomorrow, so if you do reply then your
response is likely to be lost when I get back. Assuming that you do
only have 3 groups, then you could do this:

=IF(K11=1,B11&IF(OR(K12=1,K13=1)," and ",""),"")&IF(K12=1,B12&IF
(K13=1," and ",""),"")&IF(K13=1,B13,"")

This caters for all three groups being tied, for 2 out of 3 being
tied, as well as for only one group having a rank of 1.

If you have more than three groups then the above approach would be a
bit unwieldy.

Hope this helps.

Pete

On Nov 19, 1:40*am, Pete_UK <pashu...@auditel.net> wrote:
> Do you only have 3 groups, as in your example (and formula), or could
> there be a lot more in practise?
>
> Pete
>
> On Nov 18, 9:00*pm, swansonray <swanson...@discussions.microsoft.com>
> wrote:
>
>
>
> > This does produce the said result and works if there is only 1 group ranked
> > 1st. Thank you. But what about the second scenario if there are two groups
> > ranked 1 (tied) I would like to display "Group1 and Group2" or "Group1 &
> > Group2"

>
> > "Pete_UK" wrote:
> > > You could put this in, say, L5 if your data is in column B and column
> > > K as in your example:

>
> > > =INDEX(B:B,MATCH(1,K:K,0))

>
> > > It will return the name from column B which has a rank of 1 in column
> > > K.

>
> > > Hope this helps.

>
> > > Pete

>
> > > On Nov 17, 7:36 pm, swansonray <swanson...@discussions.microsoft.com>
> > > wrote:
> > > > I am trying to solve a problem I am having with RANK. *I found some great
> > > > information that is posted on cpearson.com and I see what it does but the
> > > > formulas have to be in the same rows that the data is in. What I amlooking
> > > > for is to populate the 1st place for a caption in a separate row.
> > > > =OFFSET(B$11,MATCH(SMALL(K$11:K$13,ROW()-ROW(K$11)+1),K$11:K$13,0)-1,0)
> > > > works if data is in same row.
> > > > Info:
> > > > Column B * * * * * * * * * * * ColumnK
> > > > Name * * * * * *Rank
> > > > Group1 * * * * *2
> > > > Group2 * * * * *1
> > > > Group3 * * * * *3

>
> > > > Now in a row below the above data and in a separate column I want to display
> > > > the name that ranked 1st. ie Group2.

>
> > > > And finally if there is a tie for first in the data I want to display
> > > > Group2 and Group(Tied Group) in tha same cell.

>
> > > .- Hide quoted text -

>
> > - Show quoted text -- Hide quoted text -

>
> - Show quoted text -


 
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
quad rank 533mhz vs dual rank 800mhz bryan.hepworth@gmail.com Computer Hardware 1 24th Mar 2009 06:28 PM
rank the numbers / range of data using 'RANK' and 'ABS' KP Microsoft Excel Worksheet Functions 1 8th Mar 2008 05:50 PM
RANK, duplicate ranking but no gaps in rank arron laing Microsoft Excel Worksheet Functions 4 14th Jun 2006 07:57 AM
Rank items, select one start date, have remaining dates follow based on rank rob normerica Microsoft Excel Misc 1 15th Aug 2005 09:36 PM
How to get unique rank numbers when two or more items rank the same. =?Utf-8?B?Q3JhaWcgRC4=?= Microsoft Excel Worksheet Functions 2 26th Mar 2004 09:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:03 PM.