+ Reply to Thread
Results 1 to 4 of 4

Split Excel Sheet Data into mutliple files based on two criteria

  1. #1
    Registered User
    Join Date
    07-16-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    5

    Post Split Excel Sheet Data into mutliple files based on two criteria

    Hi Excel Gurus,

    I want to split excel sheet data into multiple workbooks based on two criteria.

    Like....
    70001-70002.xlsx
    70001-70003.xlsx
    70001-70004.xlsx
    70001-70005.xlsx
    70002-70001.xlsx
    70002-70002.xlsx
    70002-70003.xlsx
    70003-70001.xlsx
    70003-70002.xlsx
    70003-70003.xlsx and so on...

    Thanks in Advance

    -Saleem
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Split Excel Sheet Data into mutliple files based on two criteria

    Hi saleembasha

    This Code is in the attached and appears to do as you require. It takes a bit of time to process all the combinations (~28 seconds on my Platform).

    CTRL + x will fire the Code.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    07-16-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Split Excel Sheet Data into mutliple files based on two criteria

    Hi John

    Thank you so much. It is working as per required. I appreciate you logical approach towards the solution.

    Saleem Basha

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Split Excel Sheet Data into mutliple files based on two criteria

    You're welcome...glad I could help. 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. Replies: 4
    Last Post: 05-18-2016, 03:48 AM
  2. Split the data in new excel Files based on Column
    By sai0449 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2015, 11:18 AM
  3. [SOLVED] How to split Excel into different files based on a column?
    By stan255 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-10-2015, 12:57 AM
  4. Replies: 5
    Last Post: 07-22-2015, 03:18 AM
  5. I would like to split one worksheet into many files based on criteria in two columns
    By paulfields4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2015, 07:34 PM
  6. Split excel sheet on based on Cell data
    By ovais247 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-30-2010, 04:15 AM
  7. Replies: 3
    Last Post: 08-02-2006, 12:35 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