Ok, so what I want to do is have a list of pseudo random numbers between limits.

I want the list length to be determined by a number in a cell. Let's say C1 = 30, and that's the amount of numbers in our list.
The limits for the list would be found in 2 other cells, upper and lower limits being C2 = 22 and C3 = 18 for this example.
I also want the average to be determined by a number in a cell, let's say C4 = 20.

I was thinking this could be done with a For loop and an Array somehow, but I can't figure out the logistics. Anyone got any ideas about this?