+ Reply to Thread
Results 1 to 2 of 2

Splitting a list of values into 17 separate group of equal sums.

  1. #1
    Registered User
    Join Date
    09-06-2019
    Location
    USA
    MS-Off Ver
    365
    Posts
    1

    Splitting a list of values into 17 separate group of equal sums.

    I have a list of 300+ values. I am trying to group these values into 17 groups where each group has an equal sum of values, or near equal.

    E.g. The list is: 1, 3, 4, 2, 2, 1. Two groups would be: 1, 3, 2 (6) and 1, 4, 2 (7).

    I have this VBA but it only works for 2 groups.

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Splitting a list of values into 17 separate group of equal sums.

    Hello nicmo,

    Welcome to the forum!

    Because your code references a lot of workbook cells, it is impossible to accurately provide a working solution. Please post a copy of your workbook. You will probably need to post it to a file sharing site because you need 5 or more posts before you can post a workbook here.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. Splitting a data list into 3 equal sums.
    By mjeffriesjr in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 08-07-2018, 09:41 PM
  2. Need some help dividing a list of values into groups with equal sums
    By rpike623 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-15-2018, 05:46 PM
  3. [SOLVED] Splitting a list of values in separate columns
    By siouxfire in forum Excel General
    Replies: 20
    Last Post: 05-09-2014, 07:42 AM
  4. Replies: 2
    Last Post: 10-20-2012, 09:22 AM
  5. Divide List of Numbers Into Two Equal Sums
    By iLookup(HELP!, here) in forum Excel General
    Replies: 7
    Last Post: 10-08-2012, 06:13 PM
  6. Splitting Data Into Separate Files Based on Pre-Populated List
    By sigma1113 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-16-2011, 03:20 PM
  7. Replies: 1
    Last Post: 12-20-2010, 04:46 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