+ Reply to Thread
Results 1 to 3 of 3

split data into multiple workbooks with 3 conditions

  1. #1
    Registered User
    Join Date
    04-29-2012
    Location
    Bangalore, Karnataka
    MS-Off Ver
    Excel 2003
    Posts
    1

    split data into multiple workbooks with 3 conditions

    Hi All,

    I require a macro file or coding to split data into multiple workbooks but with 3 conditions. Please find the attached sample report wherein I have given the sample data in the tab one and tab 2 is the output in the format I required.

    The split file should be segregated with the below criteria

    1. Country
    2. Payment/Recovery
    3. Currency

    For Example, spain have both debit and credit with two different currency namely GBP and EUR.

    I require the separate file for each criteria, a file can contain line items of Spain, debit, GBP and new file for Spain,Debit,EUR.

    Finally the file name should be the file number which has to taken from the file itself.

    Hope you can help me on this.

    Thanks and regards,
    Malaionfun
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-05-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: split data into multiple workbooks with 3 conditions

    you can use pivot table.

  3. #3
    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 data into multiple workbooks with 3 conditions

    Hi malaionfun
    Welcome to the Forum!

    See if the code in the attached does as you require. Let me know of issues.
    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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