+ Reply to Thread
Results 1 to 6 of 6

Extracting specific text from cells

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    Cape town
    MS-Off Ver
    Excel 2007
    Posts
    11

    Extracting specific text from cells

    Hi
    I am using Microsoft Excel 2007 and I am trying to extract the names from
    example here: "Chuene, Dorcas, Mrs name.nameme@gmail.com"

    I basically just want those full names on a separate cell. I've figured out how to extract the email address, but I just can't seem to extract the other text!

    I've used =TRIM(RIGHT(SUBSTITUTE(LEFT(A56,FIND(" ",A56)-1)," ",REPT(" ",2)),99)) but it doesn't seem to work on all the cells, only some.

    Any advice?

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Extracting specific text from cells

    Here, try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    10-01-2013
    Location
    Cape town
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Extracting specific text from cells

    Ok, I used your formula but it gives me a value error. I changed the 160 to 100 and it worked. Yet the problem is that there are 200 more cells that I want to do the same with and their names differ in each one. So it wont be 100 all the time

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Extracting specific text from cells

    Changing 160 to 100 won't help.

    please upload example workbook with several different cases.
    Make sure to avoid all private informations but keep formatting important for example.

  5. #5
    Registered User
    Join Date
    10-01-2013
    Location
    Cape town
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Extracting specific text from cells

    Untitled.png

    I didn't know how to attach the workbook so here's a screenshot of the formula. Hope it's good enoug. I am quite new to excel and most of the formulas I've gotten from the net.

    Thanks

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extracting specific text from cells

    Use this array formula to extract Name assuming your data in A1
    In B1 enter:
    **Need to use Ctrl+Shift+Enter

    =LEFT(A1,MAX((MID(A1,ROW($1:$100),1)=" ")*ROW($1:$100)))

    For Email address use this (not an array) formula in C1

    =RIGHT(A1,LEN(A1)-SEARCH("^",SUBSTITUTE(A1," ","^",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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] Extracting specific text from alphanumberical cell
    By questionguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-24-2012, 12:35 PM
  2. Extracting Specific Text
    By jdh3 in forum Excel General
    Replies: 5
    Last Post: 07-11-2011, 12:56 PM
  3. Extracting text using specific criteria
    By newwest in forum Excel General
    Replies: 1
    Last Post: 05-06-2011, 11:14 AM
  4. extracting values in a specific text
    By darkhangelsk in forum Excel General
    Replies: 8
    Last Post: 08-18-2009, 11:02 AM
  5. Extracting specific text from 1 cell
    By Dave32 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-02-2008, 12:31 PM

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