I have a column in Excel contains season value, let say spring, summer, autumn and winter.
How can I sort this season by current season?
Now it's autumn, therefore the order would be autumn, winter, spring and summer
I have a column in Excel contains season value, let say spring, summer, autumn and winter.
How can I sort this season by current season?
Now it's autumn, therefore the order would be autumn, winter, spring and summer
FYI - You can do this without VBA. If you select the data to be sorted, go to Data -> Sort. Then, in the "Order" box, click the dropdown and click "Custom List...".
Here, type your order in the "List Entries" box, and click "Add".
Then back in the Sort box, choose your column to sort by.