+ Reply to Thread
Results 1 to 2 of 2

need forumla for String Splitting

  1. #1
    Registered User
    Join Date
    06-29-2012
    Location
    hyd
    MS-Off Ver
    Excel 2007
    Posts
    23

    need forumla for String Splitting

    Hi all
    I know this can be done, it's just a matter of knowing the right formula. I wrote a But I am unable make 100% correct.

    Please help me

    Here are the not working scenarios from Sheet2 (col A to col G)

    First sheet is test data. Second sheet is my attempt to get what I want out of it.
    Row 2 works fine- Column F pulls correct city, column E returns just the street address.
    Row 6 doesn't return properly for column E, likely because the data it is using doesn't match for upper/lower case.
    Row 9&10, pulls the wrong city for column F- La Palma and Eureka are the street names, but they're also in the city list (column B). This needs to return the LAST instance in the string from D that appears in column B.
    Row 11 is bad, too, because it needs to only remove the LAST instance of the content in column F, not ALL instances or first instance only.

    Thanks!
    Attached Files Attached Files
    Last edited by sqlindia; 01-22-2013 at 08:56 AM. Reason: Title not correct

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Need Help in Excel formula

    Hi sqlinia and welcome to the forum

    "we would love to help you, but 1st, according to forum rule 1, please rename your thread to something more meaningful, that actually describes your problem. lots of contributors will look at a thread title, and if it of interest to them, or falls within their area of expertise, and will only open those threads. also, searching for ""help"" will not turn up too many results that will benefit you, sorry

    when you name a thread, think ""google"". what kind of returns would you expect if you typed that into google?

    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."
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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