+ Reply to Thread
Results 1 to 4 of 4

Strip Data

  1. #1
    Forum Contributor
    Join Date
    10-04-2014
    Location
    USA
    MS-Off Ver
    MS Office 2013
    Posts
    146

    Strip Data

    I have attached a sheet for reference. Looking for code to strip data from columns "M:AH"

    MONTH 02-08/02-28 WOULD BECOME "2" FOR THE MONTH OF FEBRUARY

    MONTH 06-01/06-30 WOULD BECOME "6" FOR THE MONTH OF MAY


    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Strip Data

    if this is a one of action instead of looking for a formula. Try following search and replace

    Search: "Month "
    Leave replace field blank

    then
    Search: "-*"
    Leave replace field blank

    the second search has * for a wildcard so - and everything after it will be deleted leaving only the month numbers..
    Excel auto assumes 02 is presented as the number 2 and so on..

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Strip Data

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Forum Contributor
    Join Date
    10-04-2014
    Location
    USA
    MS-Off Ver
    MS Office 2013
    Posts
    146

    Re: Strip Data

    alansidman... perfect !!!

+ 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. [SOLVED] Strip excess data from text using a formula
    By robertguy in forum Excel General
    Replies: 3
    Last Post: 05-02-2017, 06:55 AM
  2. Export worksheet to CSV, strip extra commas (derived from formulas with blank data)
    By AGrayson84 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-23-2017, 09:49 PM
  3. [SOLVED] Excel 2007 : Use RIGHT function correctly to strip unneeded data away
    By mrchinchin25 in forum Excel General
    Replies: 4
    Last Post: 03-21-2014, 01:59 PM
  4. [SOLVED] VB Macro to strip and rearrange data
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-17-2014, 12:17 AM
  5. [SOLVED] Extract Data from non adjacent cells and strip out formatting
    By HangMan in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-22-2013, 09:23 AM
  6. Strip data from a cell
    By mundo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-09-2007, 06:47 PM
  7. How do I strip out some parts of a column of text data?
    By footballcmr2 in forum Excel General
    Replies: 3
    Last Post: 07-01-2005, 03:05 PM

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