+ Reply to Thread
Results 1 to 4 of 4

vba to split numbers and text to their headers from a merge cell column

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    vba to split numbers and text to their headers from a merge cell column

    I have a data sheet , the column C has a series of data description with numbers and text which are all merge in one cell.

    there are 7 headers after column C , my goal to split each numbers and text to their respective headers.

    The expected results are in yellow as per test sheet
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: vba to split numbers and text to their headers from a merge cell column

    Do you really need a macro for this? It can be done easily with the text to columns feature using the comma as a delimiter. If you must have a macro, record the text to columns procedure.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: vba to split numbers and text to their headers from a merge cell column

    Thanks for advise , Have a try

    Thank you worked as per your advise
    Last edited by JEAN1972; 10-22-2017 at 09:36 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: vba to split numbers and text to their headers from a merge cell column

    Thanks for the rep!

+ 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] formula for multiple split headers of text and numbers to respective headers
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-19-2017, 10:17 AM
  2. [SOLVED] Split column before X numbers (as text) in cell
    By JMusch in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2015, 05:15 PM
  3. Inserting column headers text before the content of each cell in a column
    By Spacedone in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-27-2014, 10:18 AM
  4. [SOLVED] Split cell containing numbers and text
    By MATU70 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-23-2014, 04:12 AM
  5. Split numbers and text from a single Cell
    By wong_lizzie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-17-2012, 08:12 AM
  6. split numbers from text in cell
    By nicko54 in forum Excel General
    Replies: 4
    Last Post: 03-26-2009, 07:24 AM
  7. [SOLVED] Formula to split Text from Numbers in cell
    By John Ortt in forum Excel General
    Replies: 2
    Last Post: 06-07-2006, 06:35 AM

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