Well, there must be some merged cells in your list somewhere
You should
be able to see where they are because they will typically be either wider or
narrower than the rest in the 'same' column. It's also possible that cells
may have been merged vertically, however, so the height would be the
giveaway, rather than the width. And it's also possible that multiple cells
is more than one column & row have been merged. Any of these will cause the
message to appear when you attempt to sort. [To Quote one JE McGimpsey,
"Merged Cells are the spawn of the Devil!"]
If you truly can't identify where the merging has been done the only
suggestions I can offer are;
Select the range of data & copy it, then go to another location (preferably
a new blank sheet) & use Edit> Paste Special - Formula & Number Formats.
Afterward you'll most likely need to remove some empty columns and/or rows
in order to clean things up and most likely need to do some reformatting.
Alternatively:
Select the entire range of your data then go to Format> Cells - Alignment.
You'll see a checkbox at the bottom which will have a - in it rather than a
check (indicating that some selected cells are merged, some are not). Click
the checkbox once or twice to clear the box, then OK. NOTE: There is no
doubt that this will cause disarray in your list. You'll have to do some
work to get things straightened up - how much depends on how many & what
type of merges were done.
What your goal is: A valid list of consecutive columns & rows with captions
in the first row and containing no merged cells. Once you accomplish that
the Sorting should work like a charm
HTH |:>)
Bob Jones
[MVP] Office:Mac