+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    51

    Talking Multiple Trimmings

    Hi Everybody!

    I will pls. need help in trimming certain information contained in 1 cell and putting them each in a column. I could do left, mid & right but this time there is inconsistency in the content of the cell.

    I've attached a file which will further give you an idea exactly what I want (formula to be in Column M to P).

    Don't hesitate to ask for any clarification.

    Thanks
    Attached Files Attached Files
    Last edited by rickyilas; 02-17-2010 at 11:37 AM.

  2. #2
    Forum Moderator NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003, 2007, 2010
    Posts
    31,114

    Re: Multiple Trimmings

    In M3:

    =TRIM(LEFT(L3,FIND("-",L3)-1))

    in N3:

    =TRIM(MID(L3,FIND("-",L3)+1,FIND("->",L3)-FIND("-",L3)-2))

    in O3:

    =TRIM(MID(L3,FIND("->",L3)+3,FIND("[",L3)-FIND("->",L3)-4))

    in P3:

    =TRIM(MID(L3,FIND("[",L3)+1,FIND(":",L3)-FIND("[",L3)-1))+0

    all copied down.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  3. #3
    Registered User
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2003
    Posts
    51

    Re: Multiple Trimmings

    Thanks a lot NBVC! It works! I'm sure others will also find the solution of this kind of problem helpful.

Thread Information

Users Browsing this Thread

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

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.2.0