Auto sort help needed

Occasional Visitor

Hi All- I have a spreadsheet where I want it to sort by status, column J, but I would like it to auto sort so anytime I add a new candidate the sheet automatically updates the sort when I add their status. I was told the easiest way to do this was to make it a table and then add the sort, but I did that and it isn't auto sorting when I add a new row of information. I read online about ways to do this by formula or VBA but I haven't been able to figure out how to do that. I've never used VBA before, as an FYI so that would be new to me. There is also conditional formatting in the sheet tied to the status as well, it turns the row a specific color based on the status, so I would need to be able to keep that too. Basically, when I put in a new candidate in a row, when I add their status I want the row to turn the pre-determined color and I would like it to auto sort by my custom list so I know where someone is in the proces (and anytime I update someone's status I want it to resort). Is this possible? Any help would be greatly appreciated!! Thank you so much!

2 Replies



You cannot auto sort your source table, however you can create a formula in another sheet that references your source table and using the SORT() or SORTBY() functions will auto sort the spilled output of your dynamic subset.  Another solution you can try is power query where you can set the sort order and the resultant query will always be sorted the way you set your query up:




Excel tutorial: SORT and SORTBY with multiple columns


@Lizzasso I noticed that your table in Sheet1 (it was called Table6) was set-up to cover all rows for columns A to M and that you had the filter buttons hidden. Let the table only contain "used rows", and unhide the filter buttons. Now after you made a few new entries, press the filter button and choose the sorting option you want. Why "pollute" your schedule with VBA code that basically does what a simple click on the filter button can achieve. Especially when you have never used VBA.

Made some changes to your file. See attached.