+ Reply to Thread
Results 1 to 4 of 4

Formula to keep specific words only based on position

  1. #1
    Registered User
    Join Date
    09-18-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    3

    Question Formula to keep specific words only based on position

    Hi guys, I am new to excel formulas and I am struggling with it.

    I have a line of text, of which I want to keep only the 2nd and 3rd word and remove the rest. for example: cell A1 contains 'I love reading books' . I want to write a formula/vba code whichever is easier to give output in B1 as 'love reading'.

    Could someone help me with this? Thanks in advance

  2. #2
    Registered User
    Join Date
    09-18-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    3

    Re: Formula to keep specific words only based on position

    at the moment I am able to remove the first word using formula RIGHT(A1,LEN(A1)-FIND(" ",A1))... Struggling with the remaining words.

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Formula to keep specific words only based on position

    Good morning IamNewbee

    ...and welcome to the forum!!

    Try (assumes your string is in A1) :
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    HTH

    DominicB

  4. #4
    Registered User
    Join Date
    09-18-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    3

    Re: Formula to keep specific words only based on position

    Quote Originally Posted by dominicb View Post
    Good morning IamNewbee

    ...and welcome to the forum!!

    Try (assumes your string is in A1) :
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    HTH

    DominicB
    It works perfectly. Thanks dominicb

+ 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] Remove duplicates based on specific words
    By coatesy69 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-26-2016, 08:23 AM
  2. Replies: 15
    Last Post: 10-12-2014, 08:53 AM
  3. [SOLVED] Autopopulating a formula to only sum cells with specific values relative to its position.
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2013, 04:31 PM
  4. [SOLVED] looking formula for Extract Specific WORDs in existing LONG Words
    By santosh226001 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-07-2013, 08:21 AM
  5. Replies: 3
    Last Post: 12-21-2012, 05:33 AM
  6. Locate a reference in a table based on specific words on a text
    By zetavares83 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-06-2012, 06:17 PM
  7. Select specific numbers from a list based on position
    By judoist in forum Excel General
    Replies: 1
    Last Post: 11-21-2005, 12:25 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