Rank score based on participants

iazcac

New Member
Joined
Sep 26, 2007
Messages
26
Hi,
Am trying to allocate points evenly between 25 and 100 based on number of participants and failing miserably.

I need a formula to allocate points evenly. The lowest ranked person will always score 25 points. The highest ranked person will always score 100 points. Anyone else will be evenly spread

Say there were 4 people, the scores would be 25, 50, 75 and 100.

Appreciate some help
Thanks
C
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
How about this?

iazcac
ABCD
1NameScoreRankSpread
2NATHANAEL54125
3ARHAM62250
4CASSANDRA814100
5EDMUND73375
6
7
8NameScoreRankSpread
9MARA24125
10ANNALISE56240
11FRANCISCO71585
12MAXWELL66470
13CELIA916100
14ELLIE-MAY62355
Data
Cell Formulas
RangeFormula
C2:C5C2=RANK.EQ(B2,$B$2:$B$5,1)
D2D2=MAPRANGE(MIN($C$2:$C$5),MAX($C$2:$C$5),25,100,C2)
D3:D5D3=MAPRANGE(MIN($C$2:$C$6),MAX($C$2:$C$6),25,100,C3)
C9:C14C9=RANK.EQ(B9,$B$9:$B$14,1)
D9:D14D9=MAPRANGE(MIN($C$9:$C$14),MAX($C$9:$C$14),25,100,C9)


LAMBDA FORMULA:
Excel Formula:
=LAMBDA(
    input_start,
    input_end,
    output_start,
    output_end,
    input,
    output_start + ((output_end - output_start) / (input_end - input_start)) * (input - input_start)
)
 
Upvote 0
Eric's solution worked great thanks. Managed to evolve it fit my spreadsheet. Much appreciated both of you.
 
Upvote 0
Cool. Glad you got a solution that worked.

BTW. MAPRANGE isn't a function in Excel. It's a defined LAMBDA function.

Not sure if you even have that available. You should update your profile to let people know what version of Excel you are working with.

And, I noticed that my results weren't exactly correct on my previous post. Copy pasting error. Should have looked like this.

COMPSTAT Template1
ABCD
8NameScoreRankSpread
9MARA24125
10ANNALISE56350
11FRANCISCO71687.5
12MAXWELL66575
13CELIA917100
14ELLIE-MAY62462.5
15KARL46237.5
Data
Cell Formulas
RangeFormula
C9:C15C9=RANK.EQ(B9,$B$9:$B$15,1)
D9:D15D9=MAPRANGE(MIN($C$9:$C$15),MAX($C$9:$C$15),25,100,C9)
 
Upvote 0

Forum statistics

Threads
1,215,351
Messages
6,124,445
Members
449,160
Latest member
nikijon

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