Forum Discussion
Nonanic
Dec 23, 2021Copper Contributor
Ignore multiple rows in a column sort?
I have an Excel SS with multiple columns of data. I have some rows interspersed with that data that I want to have ignored or not included in a column data sort. I want the row left in place and the ...
HansVogelaar
Dec 23, 2021MVP
You'd have to hide the rows that you don't want to be sorted.
Nonanic
Dec 23, 2021Copper Contributor
HansVogelaar Thanks Hans. I do not want to hide them. I want them to remain visible and in place after the sort.
- HansVogelaarDec 23, 2021MVP
As far as I know, sorting in Excel doesn't work that way, so what you want is not possible.
You might create a macro that:
- Hides the rows you don't want to sort.
- Sorts the range on the column(s) you want.
- Unhides all rows.
- NonanicDec 24, 2021Copper ContributorThank you Hans. I will try that. Appreciate your comment and help.