+ Reply to Thread
Results 1 to 6 of 6

Find and trim

  1. #1
    Registered User
    Join Date
    12-23-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    25

    Find and trim

    HI

    e.g: P12345 123456_2009 Merchant Terminal Reprogramming.

    I have around 100 rows with similar format. Need to trim and use only "Merchant Terminal Reprogramming" from the whole of "P12345 123456_2009 Merchant Terminal Reprogramming".
    please help...

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Find and trim

    Do you have more than one example? similar format is not very specific.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

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

    Re: Find and trim

    Hi
    Select the data

    Ctrl +H

    Find what *_????
    Replace with (leave blank)

    Click Replace all

  4. #4
    Registered User
    Join Date
    12-23-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Find and trim

    P12345 123456_2009 Reporting - Phase
    P12345 123456_2009 Merchant Terminal Reprogramming
    P12345 123456_2009 .1 Industry and Mandates
    P32501 179145_2010.2 Mandates from Card Brands and Debit Networks
    P12345 123456_Bucket Moves/Adds and Changes
    P32804 181340_Bucket Base Technology

  5. #5
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Find and trim

    Hi

    Try this function out

    =TRIM(MID(A1,MIN(SEARCH({"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"},MID(A1,2,255)&"ABCDEFGHIJKLMNOPQRSTUVWXYZ"))+1,255))

    POST HAS BEEN EDITED
    Last edited by contaminated; 02-25-2010 at 10:41 AM.
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  6. #6
    Registered User
    Join Date
    12-23-2009
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: Find and trim

    Hi
    You are great its working.. Thank you very much

+ 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