I have a need to divide rows into six groups and have used roundup and rounddown function which works except depending on the number of rows the last group sometimes is smaller than the rest example if i have 32 rows rounddown gives me the number 5 and roundup gives me 6 when dividing into six divisions so if i use 5 the last group would have seven while the others have 5 or if i use roundup i get five with 6 and the last with two is there formula that would adjust dynamically to the changing conditions and as evenly as possible divide the groups.
↧