Auto Sort Softball Stats

Eruspoena

New Member
Joined
Jul 9, 2009
Messages
1
Hey Everyone,

I have set up an Excel sheet to keep track of our softball stats. I have a separate worksheet for each week, I then have a worksheet that is a total for the entire season. What I am looking to do is on a new worksheet rank the players in descending order for the various stats. We have 13 players on the team.

I found some VBA code that would auto sort two columns but the columns had to have actual values in them not equations.

On my "total season" work sheet all of the cells are a sum or average of the 10 other worksheets.

On a new worksheet I would like to have say 8 tables (2 colums, name of player and specific stat) I would like these 8 tables to auto sort data from the "total season" worksheet in a descending order so when I enter the weekly stats it will update my "total season" worksheet and then automatically resort the 8 or so tables.

Example
Total Season Worksheet (sum of 10 other worksheets)
Name AVG SLG OBP 1B 2B 3B HR
Joe .500 .560 .400 2 3 2 1
Bill .300 .800 .460 1 2 2 4
Andy .800 1.000 .750 8 1 0 0

Worksheet with tables
Top Average
Andy .800
Joe .500
Bill .300

Top Slugging
Andy 1.000
Bill .800
Joe .560

and so on...

Any ideas on how to automatically sort data from another worksheet and the data on that worksheet is actually just equations summing data from other worksheets. Also the columns that need to be sorted are not side by side.

Any insight would be great.

Thanks,
Drew
 
Last edited:

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,214,614
Messages
6,120,525
Members
448,969
Latest member
mirek8991

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