Dividing rows into groups based on two parameters

thomazzs

New Member
Joined
Jun 14, 2014
Messages
15
Dear all,

I have the following problem: I need to divide the rows below into groups, based on two criteria.

e.g. The sum of Balls <= 10.000 & the sum of Bucket <= 5

the order of the rows cannot change.

Is there an (easy) way to let excel determine these groups?


the result in the row "group" would (for this example) be as follows:

OrderBallsBucketGroup
1503711
2260111
3158411
4153412
5313322
6900213
7713
81513
91413
102013

<tbody>
</tbody>

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
47,492
Office Version
  1. 365
Platform
  1. Windows
I can't see from that example what Bucket has to do with it.
This formula in D2, copied down produces those results.
If this is not what you need, perhaps another example that demonstrates all the possibilities and further explanation may help.

Excel Workbook
ABCD
1OrderBallsBucketGroup
21503711
32260111
43158411
54153412
65313322
76900213
87713
981513
1091413
11102013
Groups
 

Watch MrExcel Video

Forum statistics

Threads
1,118,661
Messages
5,573,475
Members
412,531
Latest member
gkrishna788
Top