distribute points according to results of the stage

strooman

Active Member
Joined
Oct 29, 2013
Messages
329
Office Version
  1. 2016
Platform
  1. Windows
I want to distribute points among the riders according to the ranking of the stage. The lay-out:

Ranking of the stage in column A:E
My rider selection in column G:J
Points to display in column L:Q (Here I want to display the results, the points)

When a team in column J is present in column D give the rider it's points in column L (according to the fixed point chart in E).
Example, ARLEY BERNAL GOMEZ Egan is in TEAM INEOS so he get's 17 points because TEAM INEOS is second place in the ranking.

Additional, when a rider is in the winning team (which is TEAM JUMBO - VISMA) that rider get's an additional 5 points. Display that in Column N

Question, what formula do I need in column L and column N to accomplish that?

Row\Col
A​
B​
C​
D​
E​
F​
G​
H​
I​
J​
K​
L​
M​
N​
O​
P​
Q​
1​
RiderIdRankRiderTeamPointsRiderIdRiderStatusTeamStageTeamMountainSprintTop5Penalty
2​
81​
1​
KRUIJSWIJK StevenTEAM JUMBO - VISMA
20​
2​
ARLEY BERNAL GOMEZ EganLeaderTEAM INEOS
17
3​
1​
2​
THOMAS GeraintTEAM INEOS
17​
86​
MARTIN TonymemberTEAM JUMBO - VISMA
20
5
4​
21​
3​
ALAPHILIPPE JulianDECEUNINCK - QUICK - STEP
14​
31​
BARDET RomainmemberAG2R LA MONDIALE
5​
141​
4​
MATTHEWS MichaelTEAM SUNWEB
11​
84​
GROENEWEGEN DylanmemberTEAM JUMBO - VISMA
20
5
6​
181​
5​
ZAKARIN IlnurTEAM KATUSHA ALPECIN
8​
41​
NIBALI VincenzomemberBAHRAIN - MERIDA
2
7​
91​
6​
URAN RigobertoEF EDUCATION FIRST
5​
81​
KRUIJSWIJK StevenmemberTEAM JUMBO - VISMA
20
5
8​
111​
7​
VAN AVERMAET GregCCC TEAM
4​
101​
YATES AdammemberMITCHELTON - SCOTT
9​
51​
8​
PINOT ThibautGROUPAMA - FDJ
3​
11​
SAGAN PetermemberBORA - HANSGROHE
10​
41​
9​
NIBALI VincenzoBAHRAIN - MERIDA
2​
141​
MATTHEWS MichaelmemberTEAM SUNWEB
11
11​
71​
10​
FUGLSANG JakobASTANA PRO TEAM
1​
21​
ALAPHILIPPE JulianmemberDECEUNINCK - QUICK - STEP
14
12​
71​
FUGLSANG JakobmemberASTANA PRO TEAM
1
13​
111​
VAN AVERMAET GregmemberCCC TEAM
4
14​
121​
MARTIN DanielmemberUAE TEAM EMIRATES
15​
1​
THOMAS GeraintmemberTEAM INEOS
17
16​
122​
ARU FabiomemberUAE TEAM EMIRATES
17​
62​
VALVERDE AlejandromemberMOVISTAR TEAM
18​
161​
EWAN CalebmemberLOTTO SOUDAL
19​
61​
QUINTANA NairomemberMOVISTAR TEAM
20​
88​
VAN AERT WoutmemberTEAM JUMBO - VISMA
20
5
21​
51​
PINOT ThibautmemberGROUPAMA - FDJ
3
22​
28​
VIVIANI EliamemberDECEUNINCK - QUICK - STEP
14
23​
126​
KRISTOFF AlexandermemberUAE TEAM EMIRATES
24​
181​
ZAKARIN IlnurmemberTEAM KATUSHA ALPECIN
8
25​
211​
BARGUIL WarrenmemberTEAM ARKEA - SAMSIC
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
How about in L2
=IFERROR(INDEX($E$2:$E$11,MATCH(J2,$D$2:$D$11,0)),"")
and M2
=IF(J2=$D$2,5,"")
 
Upvote 0
Ha ha, thank you very much Fluff. Sometimes it's so simpel but for the moment I couldn't see the wood for the trees and I focussed to much on the details.
Your solutions works perfect. Thanks.
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,739
Members
448,989
Latest member
mariah3

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