+ Reply to Thread
Results 1 to 2 of 2

Extracting Data from a Cell with Standard Naming Convention

  1. #1
    Registered User
    Join Date
    08-28-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    9

    Extracting Data from a Cell with Standard Naming Convention

    Ok guys this is a tricky one...

    I have a set of data with a column of "names" that have certain substrings of information separated by underscores (_).

    e.g. sampledata1_moredata2_moredata_moredata3_moredata4_moredata5

    I would like to write a function that says "pull data after 2nd underscore third underscore and fourth underscore, leaving out everything else" or "pull data from after the 4th _ and after the 5th _" you get it....

    I wrote a similar code in SQL the other day that worked well if any of you guys use both programs I'll add it (below) for reference.

    Please Login or Register  to view this content.
    For reasons not worth explaining I need to recreate this in excel... any thoughts?
    Last edited by jdohlinger; 10-06-2012 at 12:58 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,935

    Re: F(n) to Extract Data from a Cell with Standard Naming Convention

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Ben Van Johnson

+ 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