+ Reply to Thread
Results 1 to 3 of 3

How to sort out some info in a cell?

  1. #1
    Registered User
    Join Date
    10-30-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    37

    How to sort out some info in a cell?

    Hi,

    I have a long list of names arranged like this:

    Mathis, Dr Görg, Senior Gardner in Botanical Studies

    I would like to remove the 'Senior Gardner in Botanical Studies' and the second comma...


    If someone had a simple way to sort this problem it would as always be greatly appreciated.

    Cheers!

  2. #2
    Valued Forum Contributor tlafferty's Avatar
    Join Date
    04-08-2011
    Location
    United States, Tacoma, WA
    MS-Off Ver
    Excel 2010, Excel 2013 Customer Preview
    Posts
    1,112

    Re: How to sort out some info in a cell?

    Assuming text is in cell A1, place this formula in B1:
    =LEFT(A1,SEARCH(",",A1,SEARCH(",",A1,1)+1)-1)
    Last edited by tlafferty; 11-08-2012 at 08:41 PM. Reason: further explanation
    If your question has been satisfactorily addressed, please consider marking it solved. Click the Thread Tools dropdown and select Mark thread as solved.
    Also, you might want to add to the user's reputation by clicking the star icon in the lower left corner of the post with the answer- it's why we do what we do...

    Thomas Lafferty
    Analyst/Programmer

  3. #3
    Registered User
    Join Date
    10-30-2012
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    37

    Re: How to sort out some info in a cell?

    Great, problem solved.

    Thanks a lot.

+ 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