Share via

Cannot Sort All Columns in Worksheet

Anonymous
2016-01-26T19:29:36+00:00

I have 12 columns in my worksheet and everytime I try to sort, it will only let me sort the first 8 columns or the last 4.  If I try to highlight the entire sheet, the Sort option is greyed out.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2016-01-27T01:00:04+00:00

The marker that you see marks the bottom right corner of a table. If you click that cell, then click on the Table Tools ribbon and select a different table style, you can see where the table starts and ends.

Armed with that information you now know: You have a table in your worksheet that goes from (probably) column A to column G. When you sort, the sort gets applied to the columns in the table. The columns H and following are outside of the table and will not be include in the sort. 

You can include more columns and rows into an existing table like this: with a cell in the table selected, click the Table Tools ribbon. On the very left of the ribbon click the command "Resize Table. Select all rows and columns that you want to include in the table and hit OK. 

Was this answer helpful?

4 people found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2017-08-23T23:28:22+00:00

ScottStark, the Table Tools ribbon is only visible when the active cell is inside a table. In order to create a table, select the cells with the data and click Insert > Table or hit Ctrl-T

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2016-01-29T00:55:24+00:00

Glad this helped. Can you please mark my post as the answer? This will help other find it more easily.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-01-26T21:11:11+00:00

    Thank you for the quick reply.  No blank columns, all had headers and I tried to do the Insert Table and that didn't work either.  What I did see by accident though was on the 8th column (last one it selects), the very last cell in the last row was a symbol that looks like a backwards L, almost as if I somehow only selected those columns to be active.  If I drag on that symbol, it increases the rows, but won't let me increase the columns (see 8796 below in column G).

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-01-26T20:07:43+00:00

    Hello,

    Are there any blank columns in the data? If so, delete them. Or turn your data into a table by selecting the data, then clicking Insert > Table.  Tick whether or not the selection has headers. Any blank columns in your selection will get a header name assigned by Excel. 

    If that does not help, post a screenshot where we can see all 12 columns you want to sort.

    Was this answer helpful?

    0 comments No comments