+ Reply to Thread
Results 1 to 6 of 6

Split data into 3 segements of each volume and value

  1. #1
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Split data into 3 segements of each volume and value

    Hello there,

    From the attached data example (the actual data is roughly 54000 rows) - i need to create 3 sets of data that have as far as is possible an equal volume of account numbers with an equal value. I'm not entirely sure how to even start looking at this so thank you for your help in advance.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: Split data into 3 segements of each volume and value

    if it helps the volume of accounts is the priority ove thier value if we cannot get an excact even split.

  3. #3
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: Split data into 3 segements of each volume and value

    is this not possible?

  4. #4
    Registered User
    Join Date
    05-30-2012
    Location
    St Paul, MN
    MS-Off Ver
    2010
    Posts
    51

    Re: Split data into 3 segements of each volume and value

    Hi,
    The question as originally posed appears to me to be a fairly difficult problem. I suspect that it's possible to provide a simple 'good 'nuf' solution, but some more information is needed. So, let me pose a few possible solutions along with my suspicions of how they are inadequate.

    Possible solution 1: copy rows 1-18000 into NewSheet1, 18001 - 36000 into NewSheet2, 36001 - 54000 into NewSheet3.

    Potential problem; certain 'chunks' of account have different typical values associated with them. For example, accounts starting with '01' might typically be a few hundred pounds(Euros?), while accounts starting with '9' might typically be a few million pounds.

    Possible solution 2: Copy each 3rd row to a new sheet. In a blank column, enter the formula
    Please Login or Register  to view this content.
    and using the auto filter copy/paste the rows with each of three values into three new worksheets.

    Potential Problem: While this helps remove the effects of clustered 'chunks', and the relative size of each total will approach parity, the absolute difference will increase as the number of rows increase.

    Possible solution 3: Sort the sheet by the values (descinding). In a blank column, enter the formula
    Please Login or Register  to view this content.
    Then, using the autofilter, copy/paste the rows contating 0 or 5 into NewSheet1, 1 or 4 into NewSheet2, and 2 or 3 into NewSheet3. Same problems as solution 2, but the absolute and relative differences should be smaller.

    Hopefully, one of these methods provides an adequate solution: I'm not sure if I'm up for solving the problem as originally stated

  5. #5
    Forum Contributor
    Join Date
    09-05-2011
    Location
    Essex, England
    MS-Off Ver
    Excel 2003 Excel 2007
    Posts
    383

    Re: Split data into 3 segements of each volume and value

    Hi Cjo,

    Many Thanks for your help - your solution worked perfectly. 3 units with excactly the same volume of accounts and their value is within 0.001% of one another.

  6. #6
    Registered User
    Join Date
    05-30-2012
    Location
    St Paul, MN
    MS-Off Ver
    2010
    Posts
    51

    Re: Split data into 3 segements of each volume and value

    Just out of curiosity, which method did the trick?

+ 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