How to alphabetize by last name

Hi--sorry if this relatively basic question has been asked/answered 1,000 times, but I could not find a solution anywhere...
I work a lot with columns of names, like the following:
Amy Jones
Carrie & Bill Walker
Paul Brown Henderson
I do not use a first name and a last name column because 99% of the time, I need the names in their entirety, and often (as in the second example) there is more than one person for a single row's entry.
Is there an easy way to reliably alphabatize a list like this by last name?
I have been using the formula  =RIGHT(A1,(LEN(A1)-FIND(" ",A1)))  in a companion column, and then sorting that column. This finds the first instance of a space in A1, then pulls out everything that comes afterward. It works pretty well, EXCEPT when there is more than one space, as in examples 2 and 3 above.
Does anyone have a better solution?
Thank you!!!

Hi Q,
Here's an approach that take some hidden columns, but is easy.
The formulas in columns B, C, and D (which may be hidden) area:
B: =IFERROR(FIND(" ", A), "")
C: =IFERROR(FIND(" ", $A, B+1), "")
D: =IFERROR(FIND(" ", $A, C+1), "")
The formula in the Last Name column is:
=RIGHT(A, LEN(A)-MAX(B2:D2)) in cell E2, Fill Down.
When you sort, you will get any blanks ahead of the last names. That won't be a bother if you eliminate empty rows before sorting. Or, you can just ignore the empty rows ending up at the top of your table.
Regards,
Jerry

Similar Messages

  • How doI change my last name on my bill and profile? Using maiden name, need to update to married name

    How doI change my last name on my bill and profile? Using maiden name, need to update to married name

    Yea its a good thing to update because 95% of the Time a Rep. may ask for the Primary owner of the lines and if your not that person you can't hardly do squat with it. Case in point with my With our Lines my Mom was the Primary owner and i couldn't do Anything with out them wanting to talk to her first. Getting a Phone, Making Changes, Check statuses, Heck there was one time i remember i couldn't even pay the bill not exaggerating there it was basically out of my Hands my Mom got tired of this and she changed it.. Now that i'm considered as second Owner and i can do as only my mom could there are a still a Few rare occasions that a Rep will ask for her on but for the Most of it i have free Range with the Account..  b33

  • How to break first,last name from rows to columns?

    drop table t1;
    create table t1
    (c1 varchar2(100)
    insert into t1
    values(' <First Name >david </First Name>');
    insert into t1
    values(' <Last Name > smith </Last Name >');
    insert into t1
    values(' <First Name >Harry </First Name >');
    insert into t1
    values('<Last Name > Bird </Last Name >');
    select * from t1;
    C1
    <First Name >david </First Name>
    <Last Name > smith </Last Name >
    <First Name >Harry </First Name >
    <Last Name > Bird </Last Name >
    4 rows selected.
    out put should be
    First Last
    David Smith
    Harry Bird
    Thanks

    If homework I'd probably be looking at the string manipulation functions. If a real application I'd be looking at a different table design, and given that these look like xml tags that are or should be defined in a schema, using XMLDB.
    Niall Litchfield
    http://www.orawin.info/
    drop table t1;
    create table t1
    (c1 varchar2(100)
    nsert into t1
    values(' <First Name >david </First Name>');
    insert into t1
    values(' <Last Name > smith </Last Name >');
    insert into t1
    values(' <First Name >Harry </First Name >');
    insert into t1
    values('<Last Name > Bird </Last Name >');
    select * from t1;
    C1
    <First Name >david </First Name>
    <Last Name > smith </Last Name >
    <First Name >Harry </First Name >
    <Last Name > Bird </Last Name >
    4 rows selected.
    out put should be
    First Last
    David Smith
    Harry Bird
    Thanks

  • How to remove mandatory field for Last Name in Personal Data Editing Screen

    Hello All,
    CUrrently we are using BP_ ERP5ESS1.31 SP5 & SAP_ESS  603 SP5.
    All my ESS Services are Displaying fine and working from Portal.I am having the requirement like I need to make Last Name as Non-Mandatory field in Personal Data. While Editing the PD Screen, there  i will find the * mark for Last Name filed, i checked through the Global Personalization Make as Mandatory is Not Personalized its showing, i think its defualt prpoerty,so i am unable make any changes from Portal w.r.t Global Personalization.
    I checked in SPRO-- Personal Admin> Custmomizing User Interfaces>Change Screen Modifications, there i find the respective Module pool for those Infotypes and country Specific..
    I cheked forModulePool MP000200--> P0002 and Variable Key-40(For India)  P0002 - NACHIN -- LastName only OF Radio Button is Selected all other Rado buttons are not selected.
    I Checked in V_T588MFPROPS view there for 0002 Infotype P0002 -- NACHN Mandatory check box is Checked all other check boxes are Unchecked.
    How to make that Last Name field as Non-Mandatory in Personal Data Edit Screen, where i need to make the changes.'
    Please list out the Steps..Where i need to do the configuration. And i assigned all the required ESS roles on the backend.
    Thanks in Advance
    Adapag

    Hi,
    I don't think supressing through Global Personalization will change the business logic. Within the Business Logic it checks for the mandatory field.
    After the changes I guess you need to make the changes accordingly.
    The below link might be of some help.
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=profile&title=ESSPersonalInformationUIenhancementwithoutmodification&decorator=printable
    Please correct if I am wrong.
    Cheers-
    Pramod

  • Contacts display first name, last name, except if there's email address then contact info is deleted (?) and email is displayed in contact list.

    Confused on these procedures to post.
    My contacts should list first name last name, however any contact with an email has info phone numbers and addresses deleted and the email address is displayed in contact list. I know how to change to last name first name but that doesn't help... Any suggestions? Should I delete all contacts and reacquire all through icloud? How?

    Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback

  • My email and my iCloud are not displaying my correct last name. How do I set up my correct name in my apple iD?

    Hello,
    As I mentioned, my Apple iD has an incorrect last name for my account, so everytime I send an email the recipent doesn't know it comes from me as it seems that the email was sent by another person.
    I've changed my las name a few times through the email preferences at icloud.com but it keeps changing back to the previous name.
    Do you know how can I set up my name to be correct again?
    Thanks for your time and help!

    All you can do is not give him your Apple ID password.He can use existing apps and music on the iPod and can sync with iTunes. In order to make any purchases he would have to enter your Apple ID password.

  • How to replce the ename with last name & first name in this program

    Hi all,
    The below include program is with the reference of std report CATSSHOW.
    in which ename is the field to fetch the employee name, but now we want the emloyee name like last name & first name i.e in two separte column.
    how i implement this change in this include program.
    ENAME IS Define like that
    ename LIKE pernr_list_structure-ename,
    If u whant to refer the report put u can execute the std repot CATSSHOW.
    Pls help on this.
    Send me the code.
    pls find the include prgram ZHNO_INCLUDE_CATSDATA from where they declare the ename.
    4.6B
    QWKP99K050532 13081999 note 167550
    4.6A
    XQIALRK154280 19.11.98 key date on selection screen
    4.0C
    YIKALRK098973     30.03.1998  F4 Hilfe für Objektid
      INCLUDE CATSDATA                                                   *
    db-tabellen
    TABLES:
      prps,
        catsdb,
        catsdb_ext.
    Remarked by LuX 11 Dec. 1998
       crhd.                                                 "YIK
    dd-structuren
    TABLES:
        gdstr,
        gdset,
        catsd,                             "dialogstruktur
        sscrfields,
        t77mt,                             "modulübergreifende texte
        objec.
    Remarked by LuX 19981210 - CATS decoupling (seems not used)
      rcr01.
    "arbeitsplatz aus sicht pläne
    Added by Jerlece on 04/04/2002 - SIR 2836
    TABLES:
        pa0001,           "HR Master Record: Infotype 0001 (Org. Assignment)
         hrp1000.          "Infotype DB table : 1000
    *End of addition
    type-pool enthält feldkatalogstruktur
    TYPE-POOLS:
        kkblo.
    konstanten
    CONSTANTS:
      DATENULL20          TYPE D             VALUE ' ',      QWKP99K050532
        datenull20          TYPE d             VALUE '        ',
        datenull30          TYPE d             VALUE '00000000',
        no                  TYPE c             VALUE 'N',
        off                 TYPE c             VALUE '0',
        yes                 TYPE c             VALUE 'Y'.
    Added by Jerlece on 10/04/2002 - SIR 2836
    DATA: BEGIN OF i_objid OCCURS 0,
             objid(100),
           END OF i_objid.
    End of addition
    DATA:
        gt_sp_groups TYPE kkblo_t_sp_group WITH HEADER LINE.
    DATA for REFRESH of PCHSOBID
    DATA : old_otype LIKE wplog-otype VALUE 'O'.
    DATA: BEGIN OF i77eo_key,
             mandt LIKE t77eo-mandt,
             otype LIKE t77eo-otype,
           END   OF i77eo_key.
    DATA: BEGIN OF i77eo OCCURS 2.
             INCLUDE STRUCTURE t77eo.
    DATA: END OF   i77eo.
    DATA: BEGIN OF i778l OCCURS 5.
          INCLUDE STRUCTURE T778L.
    DATA:   langu LIKE t778l-langu.
    DATA: END OF   i778l.
    DATA   allowed_pernr_index       LIKE sy-tabix.
    DATA    flag_save                 TYPE c.
    DATA:  selcheck_save_struk_index LIKE sy-tabix.
    felder
    DATA:
        flag           TYPE c,             "Drucktastenbelegung
        saveflag       TYPE c,
        saveflag_esa   TYPE c,
        f_stich        TYPE c VALUE yes,   "1. X sichtag
        daynumber      TYPE c,             "Wochentagnummer 1-7
        pchobjid_count TYPE i,
        i778l_count    TYPE i,
        i77eo_count    TYPE i,
        txtid          LIKE t77mt-txtid,   "Wochentagtext
        exist_werk     TYPE c,             "werk eingegeben
        week           LIKE scal-week,     "Wochen zum Tag
        no_selection   TYPE c.             "YIKALRK167448
    DATA: BEGIN OF icatsdb OCCURS 0.
             INCLUDE STRUCTURE catsdb.
           include structure cats_exten.
    *data: checkbox(1) type c,
         lights(1)   type c,
    DATA:  END OF icatsdb.
    DATA: BEGIN OF selcheck OCCURS 0,
             fielname  LIKE dbindfld-field,
             flag(1)       TYPE c,
           END OF selcheck.
    DATA: BEGIN OF selcheck_save_struk OCCURS 0,
           FIELNAME(10)  TYPE C,                               NOTE 167550
             fielname      LIKE dbindfld-field,                 "note 167550
             flag(1)       TYPE c,
           END OF selcheck_save_struk.
    DATA: BEGIN OF selcheck_save OCCURS 0,
           FIELNAME(10)  TYPE C,                               NOTE 167550
             fielname      LIKE dbindfld-field,                 "note 167550
           END OF selcheck_save.
    DATA : BEGIN OF maco_objects OCCURS 5,
              plvar LIKE plog-plvar,
              otype LIKE plog-otype,
              objid LIKE plog-objid,
            END   OF maco_objects.
    RANGES so_datum_save FOR catsdb-workdate.
    INCLUDE .
    datendeklarationen für CATSSTRC                                     *
    TYPE-POOLS: kkblo, capp.
    TYPES: tabix LIKE sy-tabix OCCURS 0.
    TYPES: BEGIN OF icatsdb_lst_type.
             INCLUDE STRUCTURE catsdb.
    TYPES:   checkbox(1) TYPE c,
              lights(1) TYPE c,
              ename LIKE pernr_list_structure-ename,
           END   OF icatsdb_lst_type.
    TYPES: icatsdb_lst_type_table TYPE icatsdb_lst_type OCCURS 0.
    TYPES: BEGIN OF allowed_pernr_type,
             pernr LIKE catsdb-pernr,
             ename LIKE pernr_list_structure-ename,
             begda LIKE catsdb-workdate,
             endda LIKE catsdb-workdate,
           END   OF allowed_pernr_type.
    TYPES: allowed_pernr_table TYPE allowed_pernr_type OCCURS 0.
    DATA: allowed_pernr TYPE allowed_pernr_table WITH HEADER LINE.
    DATA: yx TYPE c VALUE 'X'.
    DATA: is_variant LIKE disvariant.
    DATA: es_variant LIKE disvariant.
    DATA: fcode(4).
    DATA: subrc LIKE sy-subrc.
    DATA: approve TYPE c.
    rhx-f4-objid-data.                    "YIKALRK098973
    INCLUDE rhodat00.
    Added by Lu Xiaozhou for CATS decoupling 10 Dec. 1998
    DATA: sys_type LIKE tcesyst-devtype.
    DATA: posid TYPE ps_posid.
    *added by anand on 8/21/02 TD 1480 ========>D20K908220
    *ranges for date to build & then put in selection criteria
    RANGES r_datum FOR sy-datum.
    *end of addition on 8/21/02 TD 1480=======>D20K908220
    *added by anand on 9/10/02 TD 1513 =======> D20K908525
    *New internal table to get the begin & end date also with ENum
    DATA: BEGIN OF it_pers OCCURS 0,
            pernr LIKE pa0001-pernr,
            begda LIKE pa0001-begda,
            endda LIKE pa0001-endda,
           END OF it_pers.
    *end of addition on 9/10/02 TD 1513 ======>D20K908525
    begin of anc01
    DATA: BEGIN OF i_pernr OCCURS 0,
           pernr LIKE pa0003-pernr,
           END OF i_pernr.
    DATA: BEGIN OF i_persa OCCURS 0,
           persa LIKE t500p-persa,
           END OF i_persa,
           BEGIN OF i_persk OCCURS 0,
           persk LIKE t503k-persk,
           END OF i_persk.
    DATA: BEGIN OF i_orgeh OCCURS 0,
           orgeh LIKE t527x-orgeh,
           END OF i_orgeh.
    DATA: BEGIN OF i_pa0105 OCCURS 0,
           pernr LIKE pa0105-pernr,
           usrid LIKE pa0105-usrid,
           END OF i_pa0105.
    end of anc01
    begin of TD 4107 Anand
    store sub org units
    DATA: BEGIN OF i_sobid OCCURS 0,
           sobid LIKE hrp1001-sobid,
           END OF i_sobid.
    store user entered org units
    RANGES: r_orgeh FOR pa0001-orgeh.
    end of TD 4107 Anand
    *Added by Ketan Joglekar, SIR6599 05/08/2006  D20K921585
    DATA: ws_mandt LIKE sy-mandt. "#EC NEEDED
    *Added by Ketan Joglekar, SIR6599 05/31/2006  D20K921851
    DATA: BEGIN OF wa_catsco_temp,
           counter LIKE catsco-counter,
           belnr LIKE catsco-belnr,
           trans_no LIKE catsco-belnr,
           docnr LIKE catsco-belnr,
           END OF wa_catsco_temp.
    *End of changes Ketan Joglekar, SIR6599 05/31/2006  D20K921851
    DATA: BEGIN OF i_cobk OCCURS 0,
          counter LIKE catsco-counter,
          docnr LIKE catsco-belnr,
          budat LIKE cobk-budat,
          END OF i_cobk.
    DATA: ws_week LIKE scal-week.
    *End of Changes.
    -> D10K919801
    DATA: w_aut_zhr15  type c,
           w_aut_zhr17  type c.
    -> D10K919801

    Completely support!
    I yesterday switched from I-mate PDA2K and got over 200 contacts from Outlook to my 6820 in format of first name space father name space second name. Terrible!
    My phone fails to search by the last name - search is useless in fact. And last names are almost invisible because of long first and father names in Russian.
    It's a nightmare. Could anybody help please? How to sync with Outlook to have last name first???
    Best Regards,
    Vladimir.

  • How can I get the address book to sort by "Last" name (using v 31.3.0).

    After a computer crash, I had to load Thunderbird (v31.3.0) back into my machine running Windows 8.1, and I successfully imported my address book back up file into Thunderbird (v31.3.0).
    My problem is that I don't see an option to sort the address book by "Last" name, which was available with the version of Thunderbird I had before the crash.
    How can I get the address book to sort by "Last" name?

    In 'Address Book'
    Select address book
    'View' > 'Show name as' > 'Last/First'
    The you can sort by Name.
    Either click on 'Name' column header to change sort order,
    If reversed, then click on 'Name' column header again to reverse the order.
    Or
    'View' > 'Sort By' > choose 'Name' and 'Ascending'

  • How to make Address Book obey Preferences? I run MacBook Pro 4.1 laptop,  Mac OS X 10.6.8  Address Book 5.0.3 (883) Preferences set at ... General First name following Last name   Sort for Last name Address Format Canada Font size Large Phone format set a

    How to make Address Book obey Preferences?
    I run MacBook Pro 4.1 laptop,  Mac OS X 10.6.8
    Address Book 5.0.3 (883) 
    Preferences set at ...
    General
    First name following Last name 
    Sort for Last name
    Address Format Canada
    Font size Large
    Phone format set at
    +1.123.456.7890
    When application quits - it's all forgotten and it self-resets to
    unwanted configuration.

    Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the third-party developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
    Here are some general guidelines. Suppose you want to remove something called “BrickYourMac.” First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickyourmac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, email the developer. While you're waiting for a response, download BrickYourMac.dmg and open it. There may be an application in there such as “Uninstall BrickYourMac.” If not, open “BrickYourMac.pkg” and look for an Uninstall button.
    If you can’t remove software in any other way, you’ll have to erase your boot volume and perform a clean reinstallation of OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
    Trying to remove complex system modifications by hunting for files by name often will not work and may make the problem worse. The same goes for "utilities" that purport to remove software.

  • After installing some updates on final cut pro 7 is asking me to enter my first and last names plus serial number which i dont have. how do i go about this?

    After intalling some updates for Final cut, I m asked to put my first and last names and serial number which unfortunatelt i do not have. how do i go about this?

    To add to what BenB advised, make sure you have proof of purchase when you call Apple for a replacement serial number.
    For future reference, it is a good idea to keep all software serial numbers in a database or text document.  Considering the cost of the software, keeping a list of serial numbers can come in very handy at times like this.
    -DH

  • TS1702 how  do you change the contact app to appear first name last name once it is in another setup mode

    how do you change the setup in the contact app to first name, last name once it is in differently

    Settings>Mail, Contacts, Calendars>Contacts>Sort Order - First, Last or Last, First .... or Display Order and make the changes that you want.

  • How do I force Mail to show messages from me addressed last name, first?

    I'm relatively new to Mac and to Mail. I'm finding that when colleagues send mail, their names are listed in the "from" column as Last Name, First. However, my name appears to others as First Name Last (no comma). How do I correct this?
    I send mail through an exchange server, if that helps.

    Have you tried Mail Preferences?
    Go to Preferences (under Mail menu) and select accounts. Then click on the account in question. Enter your name as you wish it to appear at the "Full Name" label.

  • Windows domain how to get full user name with last name.

    Hi:
    I hope someone find the answer, I wrote this question before in the old forum http://forums.sun.com/thread.jspa?threadID=5450216, but I didn't get an answer so I am migrating my question.
    Is there a way to get the full user name from a windows domain? Like the one that you see in the windows start menu on the top.
    I have an application that needs to print a report with the full user name with last name and everything (Example: John F. Doe, not jdoe), so they can sign above the name. Please tell me if there's an api or jar, because the only thing I can get right now is the username. One more thing, it's a stand alone java swing application.
    I will appreciate your help.
    Regards,
    j2gl

    JAAS with the Windows Login Module is about as close as you can get. I don't know exactly how close that is.

  • How do you sort iBooks library by author's  last name

    How can you sort the iBooks library by author's last name. Currently the sort by author uses first name.

    Anyone have a solution to this yet?
    In MUSIC, clicking on columns to add ALBUM name only adds ALBUM by ARTIST which does not give a way to see and sort for the entire LIBRARY.
    Seems to be a lost ffeature in the new 9.0 version.

  • How do I sort my address book by the last name, not the first name

    AS I created my address book the names were added randomly to the address book. When I print out the address book the names come up with first name, Last name (all in random order alphabetically). I would like them to come up with Last name, first name, email address in alphabetic order by the Last Name. How do I get them sorted corretly??

    Enable the menu in the Address Book. Then look at the options under View and Sort By.
    More here on sorting: http://www.ramsden.org.uk/8_How_to_sort.html
    And about menus here: http://chrisramsden.vfast.co.uk/13_Menus_in_Thunderbird.html

Maybe you are looking for