Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

dividing rows that are growing in number every week into six equal groups [closed]

$
0
0

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.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>