A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi @EORiggs,
Since all SOC codes follow the same XX-XXXX format, Excel should be able to sort them correctly even when they are stored as text. If only 11-1021 appears at the end of the 11- group, there might be something different about how that particular value is stored.
I'd suggest trying the steps suggested by the forum's AI-generated response:
- Clear the affected cell completely.
- Change its number format to Text.
- Manually type
11-1021again using a standard hyphen. - Sort the entire table by the SOC column (A to Z).
You can also check for hidden characters using the formula =LEN(A2) (assuming A2 is the affected cell). The expected result for 11-1021 is 7. If it returns a different number, there may be extra spaces or hidden characters in the cell.
Could you give these steps a try and see whether you notice anything different? Please post any updates or results as a reply to my post below so I can receive a notification. The forum's AI can't follow up on your progress, but I'll be happy to help investigate further based on what you find.
Thank you so much for your time.