+ Reply to Thread
Results 1 to 3 of 3

I'd like to return text below a set of characters that repeats after a variable length

  1. #1
    Registered User
    Join Date
    02-29-2016
    Location
    Asheville, NC
    MS-Off Ver
    2013
    Posts
    7

    I'd like to return text below a set of characters that repeats after a variable length

    Title
    ----------
    Garbage
    ----------
    Desired Data


    Then

    Title
    ----------
    Garbage
    Garbage
    Garbage
    Refuse
    ----------
    Desired Data

    I'd like to write a formula that if I place this in a spreadsheet I can output my desired data. The desired data is always under the second set of dotted lines but the garbage between the lines varies by output.

  2. #2
    Forum Contributor
    Join Date
    01-28-2008
    MS-Off Ver
    Excel 365
    Posts
    157

    Re: I'd like to return text below a set of characters that repeats after a variable length

    These two formulas will return the row numbers of the first and second occurrences of the hyphens. They are array worksheet functions, so you must press Ctrl Shift Enter after typing.
    Please Login or Register  to view this content.
    Can you offset to obtain the data, knowing the row numbers?

  3. #3
    Registered User
    Join Date
    02-29-2016
    Location
    Asheville, NC
    MS-Off Ver
    2013
    Posts
    7

    Re: I'd like to return text below a set of characters that repeats after a variable length

    Offset will work for the rest of the formula, In the reference portion of the offset formula how do you find the second cell of 10 dashes? I know that there should be a way, and Now I see it's the array! Thank you!
    Last edited by davidfields1985; 03-01-2016 at 09:07 AM.

+ 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. Replies: 7
    Last Post: 12-17-2015, 05:14 PM
  2. Extract text between two characters in a string - varing text length
    By luv2birdie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-04-2014, 06:10 PM
  3. Replies: 6
    Last Post: 12-09-2012, 09:00 PM
  4. Replies: 0
    Last Post: 04-07-2006, 11:25 AM
  5. [SOLVED] Passing Variable length Space Characters to Variables
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-07-2006, 07:40 PM
  6. Replies: 1
    Last Post: 04-18-2005, 05:06 PM
  7. Replies: 1
    Last Post: 04-17-2005, 08:10 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