qureshi82

New Member
Joined
Dec 2, 2018
Messages
2
Hi Team,

Below is the table



NamePositionBatting AverageBatting Strike rateBowling AverageBowling Strike rateOutput
SouravAllrounder40.7373.7138.4945.61Batsman
YuvrajAllrounder
36.56
87.6838.6845.48Bowler
IrfanAllrounder
23.39
79.5529.7333.84Allrounder
LaxmanBatsman30.76
71.2400
RahulBatsman39.1771.2442.546.5
VirenderBatsman35.06104.3440.1445.75
SachinBatsman44.8386.2444.4852.3
ZaheerBowler
1273.4729.4435.8
AnilBowler
10.5461.0730.943.01
HarbhajanBowler13.381.0633.3646.39

<colgroup><col style="mso-width-source:userset;mso-width-alt:3693; width:76pt" width="101" span="3"> <col style="mso-width-source:userset;mso-width-alt:5010;width:103pt" width="137"> <col style="mso-width-source:userset;mso-width-alt:3693;width:76pt" width="101"> <col style="mso-width-source:userset;mso-width-alt:4498;width:92pt" width="123"> <col style="width:76pt" width="101" span="3"> </colgroup><tbody>
</tbody>

-----------------------------------------------------------------------------------------------------------------

Problem Statement
You are given a list of cricket players. Each player has the following information available (Please refer Player_Statistics sheet):
Name
Position (Batsman/Bowler/Allrounder)
Batting average
Batting Strike Rate
Bowling Average
Bowling Strike Rate
You are required to find the top 'n' players for each position based on the following criteria:
Batsman: (batting average)*(batting strike rate)
Bowler: 10000/(bowling average*bowling strike rate)
Allrounder: (batting average*batting strike rate)*10000/(bowling average*bowling strike rate)
The value of 'n' can be different for each position and is defined in the Team_Composition sheet
The worksheet should automatically handle the following changes:
- Changes in team composition (Number of Batsman, Number of Bowlers and Number of Allrounders)
- Changes in the data set (Number of input players, batting/bowling averages/strike rates, etc.)

<colgroup><col style="width:76pt" width="101" span="8"> </colgroup><tbody>
</tbody>
--------------------------------------------------------------------------------------------------

Output Required:
In the Player_Statistics sheet, column I is the output column for different positions. You are expected to populate the required number of players for each position in subsequent columns.
Please refer to the Example_Player_Statistics sheet for a sample output

<colgroup><col span="8"></colgroup><tbody>
</tbody>
---------------------------------------------------------------------------------------

Can anybody help me with out put?

Regards,
Aiyuh
 

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.
NamePositionBatting AverageBatting Strike rateBowling AverageBowling Strike rateratingrankedname
SouravAllrounder40.7373.7138.4945.61117101.4518494.61Irfan
YuvrajAllrounder36.5687.6838.6845.48218222.1618222.16Yuvraj
IrfanAllrounder23.3979.5529.7333.84318494.6117101.45Sourav
LaxmanBatsman30.7671.240042191.3423866.139Sachin
RahulBatsman39.1771.2442.546.552790.4713658.16Virender
VirenderBatsman35.06104.3440.1445.7563658.162790.471Rahul
SachinBatsman44.8386.2444.4852.373866.1392191.342Laxman
ZaheerBowler1273.4729.4435.889.4880989.488098Zaheer
AnilBowler10.5461.0730.943.0197.5244047.524404Anil
HarbhajanBowler13.381.0633.3646.39106.4617426.461742Harbhajan
is it more complicated than this ?

<colgroup><col><col><col><col><col><col><col span="7"></colgroup><tbody>
</tbody>
 
Upvote 0
NamePositionBatting AverageBatting Strike rateBowling AverageBowling Strike rateratingrankedname
SouravAllrounder40.7373.7138.4945.61117101.4518494.61Irfan
YuvrajAllrounder36.5687.6838.6845.48218222.1618222.16Yuvraj
IrfanAllrounder23.3979.5529.7333.84318494.6117101.45Sourav
LaxmanBatsman30.7671.240042191.3423866.139Sachin
RahulBatsman39.1771.2442.546.552790.4713658.16Virender
VirenderBatsman35.06104.3440.1445.7563658.162790.471Rahul
SachinBatsman44.8386.2444.4852.373866.1392191.342Laxman
ZaheerBowler1273.4729.4435.889.4880989.488098Zaheer
AnilBowler10.5461.0730.943.0197.5244047.524404Anil
HarbhajanBowler13.381.0633.3646.39106.4617426.461742Harbhajan
is it more complicated than this ?

<tbody>
</tbody>
Where is the vba coding for it?
 
Upvote 0

Forum statistics

Threads
1,214,978
Messages
6,122,545
Members
449,089
Latest member
davidcom

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