+ Reply to Thread
Results 1 to 3 of 3

Pull first 3 words

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Pull first 3 words

    Say I have this one A1

    GIRLS ANKLE CANVAS WITH ZIP BLACK28


    I want on B1

    GIRLS ANKLE CANVAS

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pull first 3 words

    The formula in B1 would be:

    =LEFT(A1, FIND("^", SUBSTITUTE(A1, " ", "^", 3))-1)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    05-04-2014
    Location
    New Jersey, United States
    MS-Off Ver
    Excel 2010, 2013
    Posts
    120

    Re: Pull first 3 words

    An alternate solution if your text string(s) contain "^" (or any other special characters which make it difficult to choose one)

    =TRIM(LEFT(SUBSTITUTE(A1," ",REPT(" ",999),3),999))

+ 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] Pull word or words after sign /
    By makinmomb in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-09-2015, 11:29 AM
  2. Replies: 5
    Last Post: 02-02-2015, 07:51 PM
  3. [SOLVED] Formula to pull the first three characters of the first three words of a cell
    By mtxteague in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-09-2015, 08:36 PM
  4. Replies: 5
    Last Post: 09-02-2014, 03:49 PM
  5. Replies: 4
    Last Post: 03-19-2014, 08:39 PM
  6. Replies: 3
    Last Post: 08-14-2013, 10:38 AM
  7. Replies: 3
    Last Post: 11-28-2012, 04:00 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