Share via

Sorting Mixed Data Marked as Text

Anonymous
2012-06-25T20:55:56+00:00

Even if you indicate that data in a cell is text, Excel takes any value in that looks like a number and sorts it separately from the rest of the data. Sometimes it gives you a choice via the pop up, but the two choices have the same effect, they sort the numbers as numbers and the text as text, separately. This means you can not sort a list that contains data like 7.1, 7.1.1, 7.2, 7.2.1, 7.2.1.4. In other words,things like software versions, sections of numbered documents, etc. This is one of the worst examples of software companies doing your thinking for you and assuming every user and application is the same. Anyone know how to get around this ?

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

HansV 462.6K Reputation points
2012-06-25T21:23:12+00:00

Make sure that all values that can be interpreted as numbers, such as 7, 7.1, 7.2 etc. are preceded by an apostrophe.

When you sort the data, Excel will put up a warning dialog.

Select the option "Sort numbers and numbers stored as text separately", then click OK.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2012-06-25T22:08:09+00:00

    Thanks for the reply. Actually, the dialog box did not come up the first few times I sorted, but then after playing around with it, the dialog box did appear and then I was able to sort the way I wanted.

    Was this answer helpful?

    0 comments No comments