+ Reply to Thread
Results 1 to 3 of 3

extract first name from non-standard name data

  1. #1
    Registered User
    Join Date
    09-05-2017
    Location
    new delhi
    MS-Off Ver
    2013
    Posts
    21

    extract first name from non-standard name data

    hello everyone i want to extract the first name from given name which has some unwanted "," or " "(blank space) or both. what i want is just extract first name only from the string for exp...

    A B
    1 mahek, pina
    2 Brian khet
    3 loury, whales


    Plz help

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: extract first name from non-standard name data

    Welcome to the forum
    With names staring in B2, this formula in C2 copy down
    =LEFT(B2,MIN(IFERROR(FIND(",",B2),99),IFERROR(FIND(" ",B2),99))-1)
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    09-05-2017
    Location
    new delhi
    MS-Off Ver
    2013
    Posts
    21

    Re: extract first name from non-standard name data

    Thanx kev....

+ 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. VBA data validation last row, as standard
    By mdek in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-01-2016, 12:28 PM
  2. Can't use a standard vlookup on this data set....
    By beth873 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-19-2015, 11:18 AM
  3. Replies: 3
    Last Post: 12-18-2014, 10:27 AM
  4. Extract all data to new workbook then filter and extract to new worksheets
    By graphicgoose in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2014, 08:18 PM
  5. Post Data at End of Column Data with Criteria Also Standard Dev.
    By chemmiah in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2013, 09:15 AM
  6. Extracting Data from a Cell with Standard Naming Convention
    By jdohlinger in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-05-2012, 09:42 PM
  7. [SOLVED] Import data from many standard workbooks
    By mladenb in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-12-2012, 10:03 AM

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