+ Reply to Thread
Results 1 to 10 of 10

Split one excel sheet into multiple sheets based on column value but only selected columns

  1. #1
    Forum Contributor
    Join Date
    09-27-2017
    Location
    USA
    MS-Off Ver
    MS365 - 2302
    Posts
    163

    Exclamation Split one excel sheet into multiple sheets based on column value but only selected columns

    Hi,

    I found an macro online that works perfect in splitting the data into multiple sheets based on Column "S". However I only need selected columns to go to the other sheets vs the current all data in Raw file.

    I only want the following column to be split "A:B" "E" "H" "J" "N:O" "R:T" only these columns should move.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    09-27-2017
    Location
    USA
    MS-Off Ver
    MS365 - 2302
    Posts
    163

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    https://www.mrexcel.com/forum/excel-...umn-value.html

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

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    09-27-2017
    Location
    USA
    MS-Off Ver
    MS365 - 2302
    Posts
    163

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    Please Login or Register  to view this content.
    I am getting the above as an Debug not sure what I am supposed to do

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

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    Read a(i,1) when the code get in to a debug mode.
    Hover over the cursor on it and you can read.

  7. #7
    Forum Contributor
    Join Date
    09-27-2017
    Location
    USA
    MS-Off Ver
    MS365 - 2302
    Posts
    163

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    attached is a template password 3091
    Attached Files Attached Files

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

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    Change to
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    09-27-2017
    Location
    USA
    MS-Off Ver
    MS365 - 2302
    Posts
    163

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    Perfect works like a Gem :-)

    Thank you @jindon.

    One question though if you take a look at the attached template I have put the link below. You helped me solve the splitting of data however do you think it is possible to auto allocate names to these task?

    https://www.excelforum.com/excel-pro...ml#post5202870

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

    Re: Split one excel sheet into multiple sheets based on column value but only selected col

    If that takes care of your original question, select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] PowerQuery - Split column into multiple columns based on another column
    By Bassehave in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2019, 09:48 AM
  2. Split single column into multiple columns based on value
    By _Raven_ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-12-2018, 03:28 PM
  3. [SOLVED] Need VBA code to match the value and split the data in the multiple sheets based on column
    By Giri.hb in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-04-2016, 09:06 AM
  4. [SOLVED] Combine Selected Columns & Rows Informations from Multiple Excel Sheets to one sheet
    By akherief in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-04-2016, 07:44 AM
  5. Split excel file having multipl sheets into multiple excel file based on column
    By Shaharyarwatto in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2014, 05:02 AM
  6. Replies: 1
    Last Post: 04-20-2014, 02:48 PM
  7. Replies: 1
    Last Post: 04-12-2014, 04:03 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