First of many thousands!!!!
I left it there to show how I just cut and paste the players I'm interested in to the right and then filter them down to the salary cap. There are no macros or programs on the spreadsheets, just info. But anyone with expertise in that area is welcome to go nuts on it. So I might start by placing 8 premo defenders, 12 mids, 4 rucks and 7 forwards to the right of the data. I'll then look at history and bye round etc and filter them down to make a more balanced team. Most selectors will only let you pick the exact required number of players but I prefer to look at the options side by side in a group.
With the loopholes rather than going through the draw each time I just cut and paste and then do a data sort. So if I decide my 2 main captains picks are Danger and Fyfe I cut and paste the teams that come after 1 of those players in each round to the right. A data sort then shows which team will give me the best loophole player for those 2. So an Essendon donut might be better for Danger and Fyfe but a Freo donut might be better for Fyfe and Rockliff.