+ Reply to Thread
Results 1 to 2 of 2

truncate last name to first initial regardless of length

  1. #1
    Forum Contributor
    Join Date
    08-28-2013
    Location
    grand rapids, michigan
    MS-Off Ver
    Excel 2010
    Posts
    163

    truncate last name to first initial regardless of length

    As you can see I have quite a resource heavy process for taking names from the top sheet to the end sheets in order to organize them alphabetically by last name. I recently have learned that I need to further customize the output to display only first names and last initials. On the tab titled "night charge" you will see the top name is listed as "disco duck". I need this to change to "disco d". I can have as many columns as I need because I will simply hide the extras when it comes time to print. I would like to do this on: all three team sheets, day, eve, night, as well as the night charge and night second sheet. Is there a way to take the populated name and truncate it to first name last initial? Incidentally the first 2 columns on the team sheets and the last 2 sheets look different because they will be hidden in the final project.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: truncate last name to first initial regardless of length

    In V4 =LEFT(C4,FIND(" ",C4))&" "&MID(C4,FIND(" ",C4)*1,2)

    and copy down.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Shorten string length if exceeds 31 characters (max sheet name length)
    By r2fro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2014, 05:57 AM
  2. Need to truncate a cell if the character length is over 100
    By Xaos in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-29-2013, 02:09 PM
  3. [SOLVED] SUMIF, SUMPROD, LEN, LEFT, cond sum checking string's length and initial character cells
    By Dolphin74 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-23-2012, 05:16 AM
  4. Truncate last two char on non fixed length cell
    By brusk in forum Excel General
    Replies: 4
    Last Post: 02-09-2010, 03:46 PM
  5. Sorting Items by Length for a target length list.
    By Joe Bob Crain in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2006, 12:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1