+ Reply to Thread
Results 1 to 4 of 4

Split a record if a cell has a specific characters

  1. #1
    Registered User
    Join Date
    08-15-2023
    Location
    Davenport, IA
    MS-Off Ver
    365
    Posts
    14

    Split a record if a cell has a specific characters

    Hi,

    I have a table which has a listing of Part numbers and Order Numbers, however, some of the Part Numbers have have multiple order numbers listed in the same cell separated by a "/" or "-". I am looking for a macro that can look at each Order Number, and if it contains a "/" or a "-" Duplicate the record with the same data, but split the order number on its own row. Please see attached, and thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Split a record if a cell has a specific characters

    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  3. #3
    Registered User
    Join Date
    08-15-2023
    Location
    Davenport, IA
    MS-Off Ver
    365
    Posts
    14

    Re: Split a record if a cell has a specific characters

    Sintek, This is perfect, thank you!

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Split a record if a cell has a specific characters

    ..........................
    THANKS.gif

+ 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. [SOLVED] vba code to Remove Specific Text From Cell | specific string | Specific Characters
    By west123 in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 07-31-2024, 02:56 PM
  2. [SOLVED] split string into characters and format specific character
    By k1dr0ck in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2022, 03:58 AM
  3. [SOLVED] Formula to split cell text based on specific characters
    By amlg in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-18-2019, 05:09 PM
  4. [SOLVED] macro split specific data to respective columns but should not exceed 32 characters
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2018, 02:24 PM
  5. Split String into 4 Parts - Max 30 Characters per Cell and Whole Words
    By keithm_007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2012, 05:56 AM
  6. Replies: 1
    Last Post: 08-17-2011, 05:59 AM
  7. Need to split cell data and remove characters
    By jdough247 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-10-2011, 12:47 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