+ Reply to Thread
Results 1 to 6 of 6

find certain text in a string and split into a new column

  1. #1
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    find certain text in a string and split into a new column

    Hi,

    Excel.PNG

    Hi, i want to split the string in column A to only show the numbers separated by a comma with removing duplicates. All the ID's start with 1080..

    this is what i have tried so far...

    Please Login or Register  to view this content.

    The wild card 1080* doesn't work in InStr. The output should show as the values in the above picture attached.

    Thanks,

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: find certain text in a string and split into a new column

    Can you post a sample sheet? I can't receive pictures for some reason.

  3. #3
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    Re: find certain text in a string and split into a new column

    TestSq.xlsx

    Thanks,

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: find certain text in a string and split into a new column

    Here's how I read your problem.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-27-2015
    Location
    USA
    MS-Off Ver
    2010
    Posts
    53

    Re: find certain text in a string and split into a new column

    Thanks Jindon.

    Can you explain me how this code works??

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: find certain text in a string and split into a new column

    1) Extract all numbers that is 1080 + 5digits.
    2) Delete duplicates.

+ 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: 4
    Last Post: 03-30-2015, 03:20 PM
  2. [SOLVED] To Find if a text string contains key words in column B and C and set to value in column D
    By alice2011 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 01-27-2015, 11:42 AM
  3. Advanced Split Function: Need to pull text string in quotes, within a text string
    By Zamboni in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-27-2013, 04:38 PM
  4. [SOLVED] VBA to Search a Text String, Find a Value listed in another column and replace the text
    By Jschrod303 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-16-2012, 08:56 PM
  5. [SOLVED] Find Specific Text in Text String and Return Value in Adjacent Column
    By watchouse in forum Excel General
    Replies: 2
    Last Post: 07-11-2012, 03:53 PM
  6. Replies: 2
    Last Post: 07-23-2010, 10:19 AM
  7. [SOLVED] Find text string in column?
    By none in forum Excel General
    Replies: 3
    Last Post: 08-25-2005, 08:05 PM

Tags for this Thread

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