I have an excel spread sheet with the last names of people in one column, and their corresponding first names in the next column. Is there any way to connect these two columns, so when I sort the last names in alphabetical order their first names will move with them?
Right now, when I sort the last names in column a, the first names in column b stay put. I’ve tried selecting both columns, but the sort result is not correct for the first names.
Make sure you tell it you don’t have a header row, or if it does have a header row, make sure it is included in the selection. If it thinks you have a header row and you don’t it will not sort the first row.
The other thing is to make sure you’re only sorting the column you want to sort. I had somebody once who was doing essentially the same sort you are doing, but he set it to sort by last name, then by first name. Sure, the Henreichs and Ludovics were fine, but he really messed up his Smiths and Joneses.
For extra fanciness, select all the columns with data in them, and go to Data->Filter->AutoFilter. Now you can sort by whatever you want without having to go and select all the columns every time you want to move things around.