Forum Discussion
SJS191180
May 31, 2023Copper Contributor
Sort rows in smallest to largest but keep the blank rows in place
Hi, Is it possible to sort a column from smallest to largest but keeping every other row which is a blank grey filled line in place? Currently when I sort it will sort the data but removed the gap...
- Jun 03, 2023
An alternative could be Power Query. In the attached file you can add data to the blue dynamic table. Then you can click in any cell of the green table and right-click with the mouse and select refresh to update the green result table.
HansVogelaar
May 31, 2023MVP
Excel doesn't sort that way, but you could do the following:
Select column A.
Press F5 to activate the Go To dialog.
Click Special...
Select Blanks, then click OK.
Note the address of the active cell - probably A2.
Enter the formula =A1 (referring to the cell above the active cell) and confirm with Ctrl+Shift+Enter.
Select A1.
Sort in ascending order.