You need to generate 20 nonnegative random integers which sum up to 100? Then I suggest to use my UDF below.
You can generate an arbitrary number of integers which sum up to a specified amount, and all generated integers are not smaller than another specified number:
