Why merged cells prevent sorting in Excel
Braxorn · Last updated 2026-11-22 · English
Merged cells inside the data area can span different numbers of rows. Excel may refuse to sort because the apparent records do not have matching shapes.
What to do
Work on a copy. Unmerge the cells inside the list while leaving the decorative title outside it. Inspect the newly empty cells and fill a group label only where the source confirms membership.
Example and result check
If A2:A4 displayed North, unmerging leaves North in A2 alone. If all three orders belong to North, label all three before sorting. Filter for North and check three different order IDs rather than simply counting nonblank cells.