Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Andrew
 
Posts: n/a
Default Function Question

i have a sheet as follows

A B
Score Bonus
210
220
210

The bonus column has to calculate which of the three cells is the highest
and give it 40 for a bonus. the second highest 20 and the lowest score gets
nothing. if there is a 2 way tie for second place they share the points. (ie
10 points each) if there is a 2 way tie for first they share First and
second poiints (30 points each) if it is a three way tie for first they
share all the points (ie 20 points each). In total there is no more than 60
bonus points available over the scores.

I have got some examples below.

Eaxample 1
A B
Score Bonus
210 20
209 0
240 40


Eaxample 2
A B
Score Bonus
200 20
200 20
200 20

Eaxample 3
A B
Score Bonus
210 40
200 10
200 10

Eaxample 4
A B
Score Bonus
220 30
220 30
200 0

I hope i have explained this clear enough.

Regards
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=(A2=LARGE($A$2:$A$4,1))*(40/COUNTIF($A$2:$A$4,A2))+(A2=LARGE($A$2:$A$4,2))*
(20/COUNTIF($A$2:$A$4,A2))

--
HTH

Bob Phillips

"Andrew" wrote in message
...
i have a sheet as follows

A B
Score Bonus
210
220
210

The bonus column has to calculate which of the three cells is the highest
and give it 40 for a bonus. the second highest 20 and the lowest score

gets
nothing. if there is a 2 way tie for second place they share the points.

(ie
10 points each) if there is a 2 way tie for first they share First and
second poiints (30 points each) if it is a three way tie for first they
share all the points (ie 20 points each). In total there is no more than

60
bonus points available over the scores.

I have got some examples below.

Eaxample 1
A B
Score Bonus
210 20
209 0
240 40


Eaxample 2
A B
Score Bonus
200 20
200 20
200 20

Eaxample 3
A B
Score Bonus
210 40
200 10
200 10

Eaxample 4
A B
Score Bonus
220 30
220 30
200 0

I hope i have explained this clear enough.

Regards



  #3   Report Post  
Andrew
 
Posts: n/a
Default

Works Great

Thanks Alot

"Bob Phillips" wrote:

=(A2=LARGE($A$2:$A$4,1))*(40/COUNTIF($A$2:$A$4,A2))+(A2=LARGE($A$2:$A$4,2))*
(20/COUNTIF($A$2:$A$4,A2))

--
HTH

Bob Phillips

"Andrew" wrote in message
...
i have a sheet as follows

A B
Score Bonus
210
220
210

The bonus column has to calculate which of the three cells is the highest
and give it 40 for a bonus. the second highest 20 and the lowest score

gets
nothing. if there is a 2 way tie for second place they share the points.

(ie
10 points each) if there is a 2 way tie for first they share First and
second poiints (30 points each) if it is a three way tie for first they
share all the points (ie 20 points each). In total there is no more than

60
bonus points available over the scores.

I have got some examples below.

Eaxample 1
A B
Score Bonus
210 20
209 0
240 40


Eaxample 2
A B
Score Bonus
200 20
200 20
200 20

Eaxample 3
A B
Score Bonus
210 40
200 10
200 10

Eaxample 4
A B
Score Bonus
220 30
220 30
200 0

I hope i have explained this clear enough.

Regards




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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM
Dynamic Function Reference Question excel newbie Excel Discussion (Misc queries) 1 April 20th 05 08:09 PM
Grading Function Question... spooker4u Excel Worksheet Functions 1 November 1st 04 02:49 PM


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