Macworld Forums: Sorting a list by last name, not first - Macworld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sorting a list by last name, not first

#1 User is offline   weld Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 164
  • Joined: 03-July 02

Posted 15 November 2008 - 05:09 PM

I have a long list of students. Each student's name is in a separate cell, first name first and last name last: "Susan Smith," for example, and not "Smith, Susan." They're all in one column; I'd rather not have the first and last names in separate, adjacent columns, nor do I want to put the last name first. Is there any way to alphabetize this list by last name?
0

#2 User is offline   Skybolt Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 491
  • Joined: 23-July 02

Posted 17 November 2008 - 07:00 AM

What software are you using? In some software, you can choose to sort by the "second field" and this may be available in your package. But we would need to know in order to help you.
0

#3 User is offline   weld Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 164
  • Joined: 03-July 02

Posted 17 November 2008 - 01:00 PM

Good point--don't know why I forgot to mention that in the original post. I'm using Excel (not the latest version but the previous one; Office 2004?).
0

#4 User is offline   mdawson Icon

  • Veteran
  • PipPipPip
  • Group: Members
  • Posts: 3,801
  • Joined: 31-August 04

Posted 17 November 2008 - 05:31 PM

Quote

weld wrote:

>

Quote

Is there any way to alphabetize this list by last name?


Short answer: no. Despite their processing power, computers are incredibly stupid and must be explicitly told what to do.

What you or I would recognize as names, a computer only sees as nothing more than a string of text. Therefore, short of writing a VBA macro you have no option but to either put the first and last names into separate columns, place the names in the ?Last, First MI? format or create a sorting column with the names in the latter format. The case would be no different if you were using dedicated database software either; hence, the reason Apple needed to add explicit sorting tags to complement certain tags (e.g., Artist, Album Artist, Album, etc.) in iTunes so that information can be properly grouped/sorted and display as expected.
0

#5 User is offline   weld Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 164
  • Joined: 03-July 02

Posted 18 November 2008 - 01:04 PM

Thanks, mdawson. I don't know whether that's the correct answer, but it sure sounds authoritative, so I'll designate it as the correct answer and resign myself to one of the approaches you listed.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users