A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
The green-and-white section likely ends at row 160 because it is an Excel table; resize that table to include all 672 rows, then apply the four-level sort.
Extend the table through row 672
- Click any cell within the green-and-white section.
- Check whether the Table Design tab appears on the ribbon.
- If it appears, those rows are an Excel table. Alternating green-and-white shading is commonly the table’s Banded Rows formatting.^1^
- Select Table Design > Resize Table.
- Change the range so it includes:
- The existing header row.
- Every required column.
- All data through row 672.
A1:H672. - Select OK. The table formatting should extend through row 672, confirming that those rows are now part of the table.^2^
- Click inside the resized table and select Data > Sort.
- Verify My data has headers, configure the four levels in the required priority order, and select OK.
The green/white formatting itself does not prevent sorting; it helps identify where the current table ends.
If no Table Design tab appears
The data is an ordinary range rather than a table. Explicitly select the complete block instead of allowing Excel to detect it:
- Select the entire data range, including headers and all rows—for example,
A1:H672. - Select Data > Sort.
- If Excel displays a Sort Warning, choose Expand the selection so entire rows move together.^3^
- Set My data has headers correctly.
- Recreate the four sort levels and select OK.
Also inspect the boundary around rows 160–161 for a completely blank row or column that visually separates the two sections. Keep the full range selected when sorting. Unhide any hidden rows first, because hidden rows do not move during a row sort.^4^
References