Results 1 to 5 of 5

Retrieve first three words in a cell

Threaded View

  1. #1
    Registered User
    Join Date
    06-16-2011
    Location
    ohio
    MS-Off Ver
    Excel 2007
    Posts
    13

    Retrieve first three words in a cell

    I need to retrieve the first three words in a cell. Also, if there are less than three words in a cell I need it to retrieve the two or the one word still.

    Ex.
    A1 = This is a test
    A2 = Still a test
    A3 = Just test
    A4 = Test
    A5 = J P Morgan Chase

    I want it to return

    B1 = This is a
    B2 = Still a test
    B3 = Just test
    B4 = Test
    B5 = J P Morgan

    Please help me! I've been trying to use Trims and Left Substitutes but I haven't had any luck figuring it out. Every time I get something that gets me three words, it won't work for one or two words. Thank you so much in advance!

    Also, to save time so I'm not on here later asking about it. Is there one for the first two and four words with the same criteria as above?
    Last edited by Richww2; 06-30-2011 at 03:27 PM.

Thread Information

Users Browsing this Thread

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

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