+ Reply to Thread
Results 1 to 5 of 5

Trim function help needed

  1. #1
    Registered User
    Join Date
    03-14-2018
    Location
    Tampa,FL
    MS-Off Ver
    2016
    Posts
    11

    Unhappy Trim function help needed

    I have a column of data in the format of RLM.ConfigXXX.Step<>.NowXXX.aaa.bbb.cc. and expected output is "step<>".
    Basically i want the oupt to trim rest of the items other than Step#.

    Column Output expected
    RLM.ConfigNew.Step1.Now32.New.order.camec.old Step1
    RLM.Configold.Step7.Now52.old.order.camec.old Step7


    Many thanks.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Trim function help needed

    This will allow for up to a 2-digit nember after Step:

    =SUBSTITUTE(MID(A1,FIND("Step",A1),6),".","")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Trim function help needed

    ...another option

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    03-14-2018
    Location
    Tampa,FL
    MS-Off Ver
    2016
    Posts
    11

    Re: Trim function help needed

    Thanks.It worked.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Trim function help needed

    Which one?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cocktail of Formulas needed to Trim Text. Large text in cell
    By JPWRana in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 02-06-2018, 05:01 PM
  2. Replies: 8
    Last Post: 01-22-2017, 08:02 PM
  3. Replies: 2
    Last Post: 07-17-2014, 03:45 AM
  4. Replies: 4
    Last Post: 10-08-2013, 05:10 PM
  5. TRIM then LOWER then SUBSTITUTE formula needed
    By theblade24 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-28-2013, 11:23 AM
  6. Trying to trim a trailing space char and the Trim function isn't working
    By Psychochook in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2007, 11:28 PM
  7. Replies: 3
    Last Post: 12-29-2005, 11:10 PM

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.6.0 RC 1