+ Reply to Thread
Results 1 to 3 of 3

Finding words are reporting what is next to it.

  1. #1
    Registered User
    Join Date
    09-28-2009
    Location
    Tucson, Arizona
    MS-Off Ver
    Excel 2003
    Posts
    17

    Finding words are reporting what is next to it.

    Ok, I hope you guys can help me out. I took a short excel class at college, (more of just a section of my class) and I was wondering something, is there a way to say find the words "the" between x and y, then say what is in the cell to the left or right of those words?

    Last question is how do you name a set of data?

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Finding words are reporting what is next to it.

    is there a way to say find the words "the" between x and y, then say what is in the cell to the left or right of those words?
    There is likely a better solution, but . . .

    Say A1 holds the phrase "see the dog run"

    B1 formula: =LEFT(A1,FIND("the",A1,1)-1)
    B1 result = See

    C1 formula: =TRIM(MID(A1,FIND(" ",A1,FIND("the",A1,1)),LEN(A1)-(FIND("the",A1,1))))
    C1 result = dog run

    Last question is how do you name a set of data?
    See the link for help on named ranges: Contextures - Named Ranges

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Finding words are reporting what is next to it.

    With say A1:A4 of:

    see the dog run
    see dog run
    the hills are alive with the sound of music
    come to the
    Another variant might be

    Please Login or Register  to view this content.
    Note we're assuming you only split based on the first instance of "the"

+ Reply to Thread

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