+ Reply to Thread
Results 1 to 3 of 3

How to extract characters from alphanumeric excel cell?

  1. #1
    Registered User
    Join Date
    12-22-2011
    Location
    Chapel Hill, NC
    MS-Off Ver
    Excel 2007
    Posts
    2

    How to extract characters from alphanumeric excel cell?

    Good Morning,

    I am trying to extract out any instances of dates in the below examples. There are usually characters in between the dates and the dates can be in different places as well. The dates are also in different formats but most are six digits. XXXXXX. Sometimes five. I was thinking to using LEN to separate the five digit and six digit cells. I would like to be able to pull out these dates for comparison. I would prefer a formula but if necessary, I can go the macro route. Sometimes there are other numbers in the cells, which make the pulling of the dates more difficult. The common date theme is the number "11" since these are all 2011 dates.

    % AB CDEFGHK 11711

    % ABCD AB ABCDEFG ABCDE AB FHK 11291
    %,$12.34 110311DC/ABC
    %082911 277 ABCDEFGH
    %ABC DEF GH74 HIJ ABCDEFGH 112311


    Thank you,
    Adam

    This question is also posted at this site:
    http://answers.microsoft.com/en-us/o...1-16bde322b9df
    Last edited by Ron Coderre; 12-22-2011 at 11:09 AM. Reason: X-Post link missing

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: How to extract characters from alphanumeric excel cell?

    Welcome to the forum.
    This forum is moderated so please click the Forum Rules link at the top of the page and take a few minutes read the rules.
    You'll see that there's rule pertaining to posting the same question to multiple websites. We insist that you provide a link to the other websites so we can monitor progress at them and stop attempting to help you once your issue is resolved.

    Since you're new, I'll post the link for you...this time
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    05-22-2015
    Location
    Muscle Shoals, USA
    MS-Off Ver
    2013 e4
    Posts
    1

    Re: How to extract characters from alphanumeric excel cell?

    Hi All


    I picked this goody from Mr. Mike Girvin (you tube - Excel

    Magic Trick 489: Extract Only Numbers From Text String Array Formula)
    and said he got this tid-bit from Ron Coderre (MVP) by posting question on Mr Excel.

    I am using MS Office 2013 (excel) and when pressing the "F9" when the below text is highlighted
    I get a message "This formula is too long. Formulas should not be longer than 8192 characters" and the data I am using is one word with a number "mon1" or "Month1"


    Data Set in excel in K61: Mon1 or month1


    =ROW(INDIRECT("1:"&LEN(K61)))


    Any ideas, it seems to be something with LEN Function. I am

    using this for business plan and your insight/help is appreciated.


    Cheers


    Damon

+ 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