+ Reply to Thread
Results 1 to 3 of 3

Text manipulations

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    New Delhi, India
    Posts
    2

    Text manipulations

    I have a list of 560 complete names (Example: Harry Davis). Can somebody help me write a macro that can seperate the first and the last names?
    Dinesh K Takyar

  2. #2
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    U can use this folmual to separate first name and last name.


    Assumption : Name is in Column A.


    Enter the below formula in B1
    Please Login or Register  to view this content.
    Enter the below formula in C1
    Please Login or Register  to view this content.


    macros version
    Please Login or Register  to view this content.
    Last edited by Shijesh Kumar; 11-26-2008 at 08:37 AM.

  3. #3
    Registered User
    Join Date
    11-13-2008
    Location
    Dunfermline, Scotland
    Posts
    25
    I havn't tested this.
    Please Login or Register  to view this content.
    You might want to check the work I did today to take into account double barrelled names as this will only split names with 2 spaces spearated strings.

    You could always use the text to columns function in the data menu as well.
    http://www.excelforum.com/excel-prog...-in-array.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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