+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : How to remove some Texts from Cell ?

  1. #1
    Registered User
    Join Date
    03-01-2009
    Location
    Dubai
    MS-Off Ver
    Excel 2003
    Posts
    12

    How to remove some Texts from Cell ?

    Hi.
    here are 3 Examples.

    1:
    54878*7455#,1.00,"BATCH-5-1142@unknown"," ",""," ","","","","",1.00,5,"2 Euros",1007,"Mar 6 2009","Mar 6 2009","Jul 31 2010",360,1142

    2:
    54544*5487#,1.00,"BATCH-5-1143@unknown"," ",""," ","","","","",1.00,5,"2 Euros",1007,"Mar 6 2009","Mar 6 2009","Jul 31 2010",360,1143

    3:
    67867*2342#,1.00,"BATCH-5-1144@unknown"," ",""," ","","","","",1.00,5,"2 Euros",1007,"Mar 6 2009","Mar 6 2009","Jul 31 2010",360,1144


    So in 1st example this is the PIN number: 54878*7455#
    i want to keep this PIN and remove other text in same line.

    same like this in 2nd example 54544*5487# this is PIN . but other text in same line should be removed.

    How do i do that ?

    Thank You so much.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How to remove some Texts from Cell ?

    Try

    =Left(A1,Find("#",A1))
    Where there is a will there are many ways.

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

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

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: How to remove some Texts from Cell ?

    Hi and welcome to the board
    One way is to select the column then Data - text to Columns - select "fixed width" - insert a separator after the # - OK
    Now delete everything in the second column

    HTH

+ 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