mercredi 11 janvier 2023

Google Apps Script: How can I generate 5 random numbers (between 0 and 8) that always have the sum of 30?

I know RANDBETWEEN(1,8), but I cant figure out how to generate 5 random numbers that always have 30 as a sum. (or 365 numbers that have 1560 as a sum, which is probably much more complex even)




Aucun commentaire:

Enregistrer un commentaire