+ Reply to Thread
Results 1 to 4 of 4

Partial Data Extraction 2

Hybrid View

  1. #1
    Registered User
    Join Date
    08-23-2007
    Posts
    47

    Partial Data Extraction 2

    Hi,

    I was hoping to be able to extract data from a cell that has varying data but always xx followed by 4 numerals (e.g. xx4682) somewhere in the cell/data.

    is there a formula that will extract the 4 digits after the xx.

    Thank you

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,911

    Re: Partial Data Extraction 2

    If your data is in A1, then in B1 =MID(A1,FIND("xx",A1)+2,4)
    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

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Partial Data Extraction 2

    Maybe something like this:
    =MID(A1,FIND("xx",A1)+2,4)

    note- this assumes that there is no possibility of 'xx' NOT being followed by 4digits though
    would need to see more specific info about the data, or a sample of the data to get much more than that though

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Registered User
    Join Date
    08-23-2007
    Posts
    47

    Re: Partial Data Extraction 2

    Thank you both!

+ 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