Hi Community,
I have a simple question. Let's assume I have few pairs of numbers:
8 and 7, (range 0-3)
32 and 14, (range 0-3)
38 and 14 (range 0-5)
and I want to produce random numbers that will sum up to the first number in the row, would that be possible?
Example for the first row: yield 7 numbers in range 0-3 that will sum up to 8 (e.g. 0,0,3,1,2,0,2)
Example for the third row: yield 14 numbers in range 0-5 that will sum up to 38. (e.g. 5,3,5,5,0,5,0,1,2,0,2,5,1,4)
I found one solution to this in the Community chat, but it uses macro which most of the time produces the desired outcome, but still sometimes does not. The formula should be able to absolutely always give randome numbers that will sum up to the first number, each time the workflow will be ran.
Thank you very much for the help, hints ....