Need help with statistical entry, totaling, and display

Rathamus

New Member
Joined
Jul 26, 2011
Messages
1
What I am trying to accomplish is probably stupidly easy but it has been so long since I have worked with Excel I have forgotten nearly everything you can do with it and more importantly, how to do it.

I have been playing around with Microsoft Excel 2007 for a number of hours now trying to recall as much as I could but I could not accomplish what I want to achieve and am now seeking the guidance and support of those who would give it.

The best way I can describe this is organizing a ranking for stats for a first person shooter game.

Column A would contain Names of players. Column B would contain a number for kills. Column C would contain a number for deaths. Another for number of medals, flag scores, whatever.

Now each row for the data input would represent the results of a given game.
Example with Columns separated by commas.
Name, Kills, Deaths, Head Shots, Medals
Dronzer, 8, 2, 4, 10
ANoob, 13,2,5,15

Now, a player name could be entered multiple times (and they will) with varying values for the Data for the game.

What I can't figure out is how to crunch all of the stats for a given player into one line instead of sorting (and having multiples entries for a name and manually using the SUM function to get what I need).

My vision is all the data gets entered into Sheet 1 and Sheet 2 mimics sheet 1 but it has all the players listed only once and all the numbers listed from Sheet 1 for a given player totaled on Sheet 2, allowing you to sort and see who has the most kills, the most deaths, etc as you so desire.

Anyone have any ideas on how to accomplish this? I used to know how to do this long ago but forgot how. I haven't had a lot of use with Excel 2007 and used an older version where the Name function was used or something?

Thank you kindly in advance for your ideas, support, and assistance in helping me with this likely simple problem.
 

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.
easiest is use pivot table

the data (i have added two more) will be like this

<table border="0" cellpadding="0" cellspacing="0" width="320"><col style="width:48pt" span="5" width="64"> <tbody><tr style="height:12.75pt" height="17"> <td style="height:12.75pt;width:48pt" height="17" width="64">Name</td> <td style="width:48pt" width="64"> Kills</td> <td style="width:48pt" width="64"> Deaths</td> <td style="width:48pt" width="64"> Head Shots</td> <td style="width:48pt" width="64"> Medals</td> </tr> <tr style="height:12.75pt" height="17"> <td style="height:12.75pt" height="17">Dronzer</td> <td align="right">8</td> <td align="right">2</td> <td align="right">4</td> <td align="right">10</td> </tr> <tr style="height:12.75pt" height="17"> <td style="height:12.75pt" height="17">ANoob</td> <td align="right">13</td> <td align="right">2</td> <td align="right">5</td> <td align="right">15</td> </tr> <tr style="height:12.75pt" height="17"> <td style="height:12.75pt" height="17">Dronzer</td> <td align="right">5</td> <td align="right">6</td> <td align="right">5</td> <td align="right">4</td> </tr> <tr style="height:12.75pt" height="17"> <td style="height:12.75pt" height="17">ANoob</td> <td align="right">1</td> <td align="right">2</td> <td align="right">3</td> <td align="right">4</td> </tr> </tbody></table>
highlight data clilck data(menu)-pivot table.....
and follow steps. you will get

<table border="0" cellpadding="0" cellspacing="0" width="236"><col style="mso-width-source:userset;mso-width-alt:5266;width:108pt" width="144"> <col style="mso-width-source:userset;mso-width-alt:2084;width:43pt" width="57"> <col style="mso-width-source:userset;mso-width-alt:1280;width:26pt" width="35"> <tbody><tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt;width:108pt" height="17" width="144">Data</td> <td class="xl22" style="width:43pt" width="57">Name</td> <td class="xl23" style="width:26pt" width="35">Total</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt" height="17">Sum of Kills</td> <td class="xl22">ANoob</td> <td class="xl23" align="right">14</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl24" style="height:12.75pt" height="17"> </td> <td class="xl25">Dronzer</td> <td class="xl26" align="right">13</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt" height="17">Sum of Deaths</td> <td class="xl22">ANoob</td> <td class="xl23" align="right">4</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl24" style="height:12.75pt" height="17"> </td> <td class="xl25">Dronzer</td> <td class="xl26" align="right">8</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt" height="17">Sum of Head Shots</td> <td class="xl22">ANoob</td> <td class="xl23" align="right">8</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl24" style="height:12.75pt" height="17"> </td> <td class="xl25">Dronzer</td> <td class="xl26" align="right">9</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt" height="17">Sum of Medals</td> <td class="xl22">ANoob</td> <td class="xl23" align="right">19</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl24" style="height:12.75pt" height="17"> </td> <td class="xl25">Dronzer</td> <td class="xl26" align="right">14</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt" height="17">Total Sum of Kills</td> <td class="xl27"> </td> <td class="xl23" align="right">27</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" style="height:12.75pt" height="17">Total Sum of Deaths</td> <td class="xl27"> </td> <td class="xl23" align="right">12</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl22" colspan="2" style="height:12.75pt;mso-ignore:colspan" height="17">Total Sum of Head Shots</td> <td class="xl23" align="right">17</td> </tr> <tr style="height:12.75pt" height="17"> <td class="xl28" style="height:12.75pt" height="17">Total Sum of Medals</td> <td class="xl29"> </td> <td class="xl30" align="right">33</td> </tr> <tr style="height:12.75pt" height="17"> <td style="height:12.75pt" height="17">
</td> <td>
</td> <td>
</td> </tr> </tbody></table>the result is what you want even though the format is different.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,280
Members
452,902
Latest member
Knuddeluff

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