+ Reply to Thread
Results 1 to 6 of 6

Find data between characters - and between the next character... and the next...

  1. #1
    Registered User
    Join Date
    05-09-2013
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    12

    Find data between characters - and between the next character... and the next...

    I am using Excel 2007, and have a series of rows containing data separated by asterisks, like so:

    * alpha * omega beta * delta * gamma gamma * epsilon alpha epsilon

    I want to create a formula that will pull the data into columns. So basically I want a formula in columns B1, C1, D1 etc. to pull data from A1 and wind up with this:

    * alpha * omega beta * delta * gamma gamma * epsilon alpha epsilon alpha omega beta delta gamma gamma epsilon alpha epsilon

    I feel like the answer is a combination of FIND and MID to strip out the data, but I am not quite pulling it off! Any help?

    I have a few hundred cells with data formatted like this, and any assistance is appreciated. Thank you!

  2. #2
    Forum Contributor
    Join Date
    07-13-2015
    Location
    Quebec, Canada
    MS-Off Ver
    2013
    Posts
    232

    Re: Find data between characters - and between the next character... and the next...

    Could you perhaps provide an example of what you have and what you want? I'm not quite sure I understand your example, maybe add a file with some examples of what you would like?

  3. #3
    Registered User
    Join Date
    05-09-2013
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Find data between characters - and between the next character... and the next...

    Here is some sample data to show what I mean!
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,984

    Re: Find data between characters - and between the next character... and the next...

    Try

    =TRIM(MID(SUBSTITUTE($B2,"*",REPT(" ",250)),COLUMNS($A:A)*250+1,250))

    Drag across and down

  5. #5
    Registered User
    Join Date
    05-09-2013
    Location
    Portland, OR
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Find data between characters - and between the next character... and the next...

    Perfect! Thanks so much, John!

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,984

    Re: Find data between characters - and between the next character... and the next...

    Thank you for the feedback and rep.

+ 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. Removing Characters from Right Until Certain Character
    By jam_ran in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-13-2016, 12:19 PM
  2. [SOLVED] find the character position in a string of the last occurrence of a nominated character
    By jmac1947 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2014, 11:52 PM
  3. Finding first character in a row of characters
    By barneyrubble1965 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-27-2013, 10:45 AM
  4. Macro to find character and delete all text in cell after the character
    By SpencerRichman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 06:08 PM
  5. Find and replace specific characters within data
    By geosteve in forum Excel General
    Replies: 1
    Last Post: 01-17-2012, 05:07 PM
  6. Replies: 2
    Last Post: 06-16-2010, 09:01 AM
  7. [SOLVED] In Excel find characters when multiple characters exist w/i a cel
    By teacher-deburg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2005, 06:25 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