ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sorting by first column then by second column (https://www.excelbanter.com/excel-discussion-misc-queries/109819-sorting-first-column-then-second-column.html)

BAENOW

sorting by first column then by second column
 
when I use data sort for two columns (Last Name, First Name) why is the
second column not alphabetically correct? John before Betty with both having
a last name of Andrews?

Michael

sorting by first column then by second column
 
BAENOW, when I sorted, it worked correctly. You might check to see if you
have any leading spaces in the names using the Len function. If you do, you
can get rid of them with the Trim function.
--
Sincerely, Michael Colvin


"BAENOW" wrote:

when I use data sort for two columns (Last Name, First Name) why is the
second column not alphabetically correct? John before Betty with both having
a last name of Andrews?



All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com