Forum Discussion
nicole82
Mar 22, 2023Copper Contributor
Excel custom aphlabetical sort not working properly
I'm trying to sort a big list of names first by last name, then by first name. I'm finding that some of the sort is not accurate. I colored the cells only for easier viewing of the inaccurate sort....
- Mar 22, 2023
The attached workbook is a re-creation of the sort issue you have in your workbook. There's also a LEN example.
Patrick2788
Mar 22, 2023Silver Contributor
There may be leading or trailing spaces in the First Name and/or Last Name columns.
nicole82
Mar 22, 2023Copper Contributor
- Patrick2788 we checked for spaces & made sure nothing was "hidden"
- Detlef_LewinMar 22, 2023Silver Contributor
- nicole82Mar 22, 2023Copper ContributorI've never used LEN() Can you explain more?
- Patrick2788Mar 22, 2023Silver Contributor
The attached workbook is a re-creation of the sort issue you have in your workbook. There's also a LEN example.