Sort from by row but first two rows missing

yichuansancun

Board Regular
Joined
Feb 7, 2011
Messages
123
Hello -

I tried to sort the worksheet from left to right by the first row, but when I click short, then click "left to right", the drop down menu of "sort by" starts with row 3 but I need to sort by row 1.

I am guessing one reason could be that A1 A2 B1 B2 are merged as I use that area for the title.

Any suggestions?

Thanks,
P
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Unmerge and use Format > Cells > Alignment tab, Center Across Selection instead.
 
Upvote 0
thanks, but now that I sort the data by first row alphabetically, but it starts with letter C, than half way in the middle it starts with A. It it almost like the work sheet was devided into two two sections. Each section sorts independently :-(
 
Upvote 0
No, I don't have any merged cells in this worksheet. After I clicked sort by row, I have two separated groups of sorted columns. A to L is a group, L onward is the other group, both of them are sorted alphabetically, but I need them to be sorted as whole.

What did I do wrong?

Thanks,
P
 
Upvote 0
Hi I figured it out, there is a space in some of those cells, that is why they didn't sort as a whole. After I cleaned up all th spaces, everything worked fine.

But from a glance, there is no way you can tell what cells have space and what cells don't :mad:
 
Upvote 0

Forum statistics

Threads
1,224,617
Messages
6,179,915
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top