Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Breaking tie breakers using multiple colmns

I am trying to come up with a function to rank finishes and break ties
based off two columns.

An example of the worksheet would be:

A B C D
1 NAME DISTANCE TIME RANK
2 Name1 100 72 tie
3 Name2 100 65 tie
4 Name3 85 60 4
5 Name4 79 40 5
6 Name5 100 92 tie


They must cover a distance in the fastest time to win. I am having
trouble figuring the ties using column C (TIME) which should be the
lower time wins. I would like to use formulas if possible to update
the worksheet instantly.

Thanks in advance.

-Gary

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Breaking tie breakers using multiple colmns

Try this:

=RANK(B2,B$2:B$6)+SUMPRODUCT(--(B2=B$2:B$6),--(C2C$2:C$6))

This could still result in ties if both column B and C are the same:

Name1 100 72
Name4 100 72

Biff

wrote in message
oups.com...
I am trying to come up with a function to rank finishes and break ties
based off two columns.

An example of the worksheet would be:

A B C D
1 NAME DISTANCE TIME RANK
2 Name1 100 72 tie
3 Name2 100 65 tie
4 Name3 85 60 4
5 Name4 79 40 5
6 Name5 100 92 tie


They must cover a distance in the fastest time to win. I am having
trouble figuring the ties using column C (TIME) which should be the
lower time wins. I would like to use formulas if possible to update
the worksheet instantly.

Thanks in advance.

-Gary



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Breaking tie breakers using multiple colmns

Thank you very much T. Valko. This did work perfect, but your comment
about ties in both columns would be an issue I did not think of.

There is a third column that can be used if you or someone can make a
formula work. The competitors have a predetermined order in which they
will compete in the first event and it is in a column by itself. For
example if competitor #1 and competitor #3 tie. Competitor #1 would
have to go first on the next event. In other words Competitor #3 would
win the tie breaker since he started after competitor #3 (Don't ask me
why, it is just the way the rules are). The "full" sheet is laid out
similar to this:

A B C D E
1 NAME ORDER DISTANCE TIME RANK
2 Name1 1 100 72 tie
3 Name2 2 100 72 tie
4 Name3 3 85 60 4
5 Name4 4 79 40 5
6 Name5 5 100 92 tie


Thanks in advance.
-Gary




On Mar 17, 11:09 pm, "T. Valko" wrote:
Try this:

=RANK(B2,B$2:B$6)+SUMPRODUCT(--(B2=B$2:B$6),--(C2C$2:C$6))

This could still result in ties if both column B and C are the same:

Name1 100 72
Name4 100 72

Biff

wrote in message

oups.com...



I am trying to come up with a function to rank finishes and break ties
based off two columns.


An example of the worksheet would be:


A B C D
1 NAME DISTANCE TIME RANK
2 Name1 100 72 tie
3 Name2 100 65 tie
4 Name3 85 60 4
5 Name4 79 40 5
6 Name5 100 92 tie


They must cover a distance in the fastest time to win. I am having
trouble figuring the ties using column C (TIME) which should be the
lower time wins. I would like to use formulas if possible to update
the worksheet instantly.


Thanks in advance.


-Gary- Hide quoted text -


- Show quoted text -



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Breaking tie breakers using multiple colmns

For example if competitor #1 and competitor #3 tie. Competitor #1 would
have to go first on the next event. In other words Competitor #3 would
win the tie breaker since he started after competitor #3


Is that a typo?

Try this:

=RANK(C2,C$2:C$6)+SUMPRODUCT(--(C2=C$2:C$6),--(D2D$2:D$6))+SUMPRODUCT(--(C2=C$2:C$6),--(D2=D$2:D$6),--(B2<B$2:B$6))

Based on your data the ranks would be 2,1,4,5,3

If the correct ranks should be 1,2,4,5,3

Change this portion of the formula:

B2<B$2:B$6

To:

B2B$2:B$6

Biff

wrote in message
ps.com...
Thank you very much T. Valko. This did work perfect, but your comment
about ties in both columns would be an issue I did not think of.

There is a third column that can be used if you or someone can make a
formula work. The competitors have a predetermined order in which they
will compete in the first event and it is in a column by itself. For
example if competitor #1 and competitor #3 tie. Competitor #1 would
have to go first on the next event. In other words Competitor #3 would
win the tie breaker since he started after competitor #3 (Don't ask me
why, it is just the way the rules are). The "full" sheet is laid out
similar to this:

A B C D E
1 NAME ORDER DISTANCE TIME RANK
2 Name1 1 100 72 tie
3 Name2 2 100 72 tie
4 Name3 3 85 60 4
5 Name4 4 79 40 5
6 Name5 5 100 92 tie


Thanks in advance.
-Gary




On Mar 17, 11:09 pm, "T. Valko" wrote:
Try this:

=RANK(B2,B$2:B$6)+SUMPRODUCT(--(B2=B$2:B$6),--(C2C$2:C$6))

This could still result in ties if both column B and C are the same:

Name1 100 72
Name4 100 72

Biff

wrote in message

oups.com...



I am trying to come up with a function to rank finishes and break ties
based off two columns.


An example of the worksheet would be:


A B C D
1 NAME DISTANCE TIME RANK
2 Name1 100 72 tie
3 Name2 100 65 tie
4 Name3 85 60 4
5 Name4 79 40 5
6 Name5 100 92 tie


They must cover a distance in the fastest time to win. I am having
trouble figuring the ties using column C (TIME) which should be the
lower time wins. I would like to use formulas if possible to update
the worksheet instantly.


Thanks in advance.


-Gary- Hide quoted text -


- Show quoted text -





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Breaking tie breakers using multiple colmns

That was less of a typo and mainly me just not paying attention to the
rows.

Thank you very much for the formula. This works perfectly.

Have a great day!!
-Gary



On Mar 19, 12:50 pm, "T. Valko" wrote:
For example if competitor #1 and competitor #3 tie. Competitor #1 would
have to go first on the next event. In other words Competitor #3 would
win the tie breaker since he started after competitor #3


Is that a typo?

Try this:

=RANK(C2,C$2:C$6)+SUMPRODUCT(--(C2=C$2:C$6),--(D2D$2:D$6))+SUMPRODUCT(--(C*2=C$2:C$6),--(D2=D$2:D$6),--(B2<B$2:B$6))

Based on your data the ranks would be 2,1,4,5,3

If the correct ranks should be 1,2,4,5,3

Change this portion of the formula:

B2<B$2:B$6

To:

B2B$2:B$6

Biff

wrote in message

ps.com...



Thank you very much T. Valko. This did work perfect, but your comment
about ties in both columns would be an issue I did not think of.


There is a third column that can be used if you or someone can make a
formula work. The competitors have a predetermined order in which they
will compete in the first event and it is in a column by itself. For
example if competitor #1 and competitor #3 tie. Competitor #1 would
have to go first on the next event. In other words Competitor #3 would
win the tie breaker since he started after competitor #3 (Don't ask me
why, it is just the way the rules are). The "full" sheet is laid out
similar to this:


A B C D E
1 NAME ORDER DISTANCE TIME RANK
2 Name1 1 100 72 tie
3 Name2 2 100 72 tie
4 Name3 3 85 60 4
5 Name4 4 79 40 5
6 Name5 5 100 92 tie


Thanks in advance.
-Gary


On Mar 17, 11:09 pm, "T. Valko" wrote:
Try this:


=RANK(B2,B$2:B$6)+SUMPRODUCT(--(B2=B$2:B$6),--(C2C$2:C$6))


This could still result in ties if both column B and C are the same:


Name1 100 72
Name4 100 72


Biff


wrote in message


groups.com...


I am trying to come up with a function to rank finishes and break ties
based off two columns.


An example of the worksheet would be:


A B C D
1 NAME DISTANCE TIME RANK
2 Name1 100 72 tie
3 Name2 100 65 tie
4 Name3 85 60 4
5 Name4 79 40 5
6 Name5 100 92 tie


They must cover a distance in the fastest time to win. I am having
trouble figuring the ties using column C (TIME) which should be the
lower time wins. I would like to use formulas if possible to update
the worksheet instantly.


Thanks in advance.


-Gary- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Breaking tie breakers using multiple colmns

You're welcome. Thanks for the feedback!

Biff

wrote in message
oups.com...
That was less of a typo and mainly me just not paying attention to the
rows.

Thank you very much for the formula. This works perfectly.

Have a great day!!
-Gary



On Mar 19, 12:50 pm, "T. Valko" wrote:
For example if competitor #1 and competitor #3 tie. Competitor #1 would
have to go first on the next event. In other words Competitor #3 would
win the tie breaker since he started after competitor #3


Is that a typo?

Try this:

=RANK(C2,C$2:C$6)+SUMPRODUCT(--(C2=C$2:C$6),--(D2D$2:D$6))+SUMPRODUCT(--(C*2=C$2:C$6),--(D2=D$2:D$6),--(B2<B$2:B$6))

Based on your data the ranks would be 2,1,4,5,3

If the correct ranks should be 1,2,4,5,3

Change this portion of the formula:

B2<B$2:B$6

To:

B2B$2:B$6

Biff

wrote in message

ps.com...



Thank you very much T. Valko. This did work perfect, but your comment
about ties in both columns would be an issue I did not think of.


There is a third column that can be used if you or someone can make a
formula work. The competitors have a predetermined order in which they
will compete in the first event and it is in a column by itself. For
example if competitor #1 and competitor #3 tie. Competitor #1 would
have to go first on the next event. In other words Competitor #3 would
win the tie breaker since he started after competitor #3 (Don't ask me
why, it is just the way the rules are). The "full" sheet is laid out
similar to this:


A B C D E
1 NAME ORDER DISTANCE TIME RANK
2 Name1 1 100 72 tie
3 Name2 2 100 72 tie
4 Name3 3 85 60 4
5 Name4 4 79 40 5
6 Name5 5 100 92 tie


Thanks in advance.
-Gary


On Mar 17, 11:09 pm, "T. Valko" wrote:
Try this:


=RANK(B2,B$2:B$6)+SUMPRODUCT(--(B2=B$2:B$6),--(C2C$2:C$6))


This could still result in ties if both column B and C are the same:


Name1 100 72
Name4 100 72


Biff


wrote in message


groups.com...


I am trying to come up with a function to rank finishes and break ties
based off two columns.


An example of the worksheet would be:


A B C D
1 NAME DISTANCE TIME RANK
2 Name1 100 72 tie
3 Name2 100 65 tie
4 Name3 85 60 4
5 Name4 79 40 5
6 Name5 100 92 tie


They must cover a distance in the fastest time to win. I am having
trouble figuring the ties using column C (TIME) which should be the
lower time wins. I would like to use formulas if possible to update
the worksheet instantly.


Thanks in advance.


-Gary- Hide quoted text -


- Show quoted text -- 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
Breaking Links Krandall Excel Worksheet Functions 0 March 6th 07 02:40 PM
Breaking Links [email protected] Excel Discussion (Misc queries) 1 October 1st 06 07:41 PM
breaking during a macro run maxzsim Excel Discussion (Misc queries) 1 March 9th 06 07:51 AM
split text in one cell into multiple cells without breaking the wo Prashant Excel Worksheet Functions 3 March 6th 06 08:48 AM
Breaking a Cell Santosh Budalakoti Excel Worksheet Functions 1 December 28th 04 05:58 AM


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