Problem with data structure

Hello everyone
I’ve been stuck in a tough puzzle!
I have two type of data, with 68 and 570 branches. I want to divide the 570 branches data into 68 categories
but these 68 categories does not have equal size. For example, the first seven values of list#2 should be a single category, the next 12 values of list#2 should be a category and to the end!
desperately need help. :disappointed:

long story short :slight_smile: you want to partition list#2 using list#1 to define the partition sizes
Set → List → Partition List

thanks but you mean I should make flatten my lists first?

yes of course, sorry I forgot to mention that
make also sure that (number of elements in list # 2) == (sum of elements of list # 1)