Split the prize amounts for ties?

Douglas Edward

New Member
Joined
Jul 24, 2018
Messages
22
Office Version
  1. 2019
Platform
  1. Windows
How do I create a formula to split the prize amounts for ties? (It's for a golf league)

Player Score Rank Prize Rank Prize In this example the prize payout should be…
A 70 1 ? 1 100 95
B 70 1 ? 2 90 95
C 71 3 ? 3 80 70
E 71 3 ? 5 60 70
F 72 6 ? 6 50 30
G 72 6 ? 7 40 30
H 72 6 ? 8 30 30
I 72 6 ? 9 20 30
J 72 6 ? 10 10 30
 
[TABLE="class: grid, width: 384"]
<tbody>[TR]
[TD="width: 64"]Player[/TD]
[TD="width: 64"]score[/TD]
[TD="width: 64"]rank[/TD]
[TD="width: 64"]prize[/TD]
[TD="width: 64"]rank[/TD]
[TD="width: 64"]prize[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]95[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]90[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]80[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD="align: right"]71[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]70[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]60[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]95[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]50[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD="align: right"]71[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]40[/TD]
[/TR]
[TR]
[TD]I[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD]J[/TD]
[TD="align: right"]72[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]20[/TD]
[/TR]
[TR]
[TD]K[/TD]
[TD="align: right"]73[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]10[/TD]
[/TR]
</tbody>[/TABLE]

Formula in C2

=RANK(B2,$B$2:$B$11,1)

Formula in D2

Code:
=SUMPRODUCT(($F$2:$F$11)*($E$2:$E$11>=C2)*($E$2:$E$11<(C2+COUNTIF($C$2:$C$11,C2))))/COUNTIF($C$2:$C$11,C2)

Both formulas dragged down.
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,224,825
Messages
6,181,191
Members
453,021
Latest member
pingpong7117

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top