I've inherited a spreadsheet to maintain and I've little clue what I'm doing with Macros!
The table that is sorting is a league table, and to sort by average points, the div/o is above those with 0 (the div/o need to be bottom)
The results are taken from another tab via a vlookup to the setting tab (where I have used an =if(iserror) to put points at -1 for div/0
(column order)
B C D E F G H I J H AB
# Team Pl W D L F A GD PTS Average Points
1 #LoveCurlingFC 2 2 0 0 78 3 75 6 3.0
2 AC Dead People 0 0 0 0 0 0 0 0 0.0
3 AC Rotery 0 0 0 0 0 0 0 0 0.0
4 2 Bangs 1 0 0 1 1 3 -2 0 0.0
5 2 Goals 1 0 0 1 2 75 -73 0 0.0
I want to sort on H, then AB, then J. I've copied the VBA below - can anyone help?
![]()
Please Login or Register to view this content.
Bookmarks