A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Enter the name March as 'March. The single quote should force the the cell to be treated as text instead of as date.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
My data in Excel has name and data columns. When I put the LastName as the first row for the pivot table, it sorts the name MARCH to the top because it is the name of a month and therefore a date. The column is formatted as text, custon list sorting is turned off, there are no hidden characters.
This is a serious issue because important data is in the wrong place and may be missed. Also, I should not have to be an IT expert to apply a work around just to sort names from A-Z.
Any ideas on how to get this fixed? This is another example of trying to allowing technology predict what to do rather than just doing what it is told. Who is in control?
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Enter the name March as 'March. The single quote should force the the cell to be treated as text instead of as date.
Dear Bob,
I understand how worrying it is when names land in the wrong place, especially when important data could be missed. As a forum moderator, I genuinely wish I could directly access your account or delve into the backend systems to diagnose and fix this for you. Unfortunately, my role here is limited to providing general guidance and solutions that can be applied by users. From my research, Excel probably is not converting the surname MARCH into a date. The PivotTable is likely matching MARCH to Excel’s built-in month custom list, which can place it in calendar order ahead of ordinary surnames. Formatting the source column as Text does not prevent that behavior because the value is still text matching a month name.
For you receiving the best suggestion and guidance for this issue, I recommend you publish your workflow in the Excel | Microsoft Community Hub. This forum is dedicated to Excel and is actively monitored by power users, Microsoft partners, and engineers who can provide step-by-step guidance and share best practices.
I apologize for redirecting you to another community, as I may not have the necessary skills and experience to solve your Excel issue.
Thank you for your patience and understanding during this process. For any questions or further assistance in the future, please feel free to reach out again at any time. Not only will I be happy to assist you, but also all the moderators of the Q&A forum will do their best to provide support and guidance.
I hope everything will be resolved soon. Have a great day.
The AI answer is ridiculous. It says to manually sort. Might as well go back to my rolodex. It sorted they way I wanted it to.
AI answer
For a PivotTable on Windows, the supported ways to control the sort are:
A few checks are also relevant for unexpected sort behavior:
If the PivotTable still places MARCH unexpectedly, the reliable built-in workaround from the documented options is to use Manual sort in the PivotTable and drag the item to the correct alphabetical position.