"Rangemaster" <
Rangemast...@excelbanter.com> wrote:
> But I'm not able to make a cumulative list or summation
> of the generated random numbers whatsoever. Is there any
> way to make a function or formula that summates the generated
> random numbers everytime the number is regenerated?
> For example: when the random numbers are 5, 6 and 7 after
> refreshing three times, is there a formula that can tell
> you what the sum of those individual numbers is?
Instead of "refreshing three times", put your random formula into 3 cells.
For example, =RANDBETWEEN(1,50) into A1, A2 and A3. Then the sum can be
computed in A4 with the formula =SUM(A1:A3).
Every time you press F9, a new set of 3 random numbers will be generated in
A1:A3, and A4 will be their sum.
The real problem is: that also happens every time your edit any cell in any
worksheet in the workbook, and when Excel decides to recalculate for any
other reason.
If you don't want that (most people don't), copy A1:A3 and use
paste-special-value to paste a set of random numbers into B1:B3. Then use
=SUM(B1:B3) to maintain their sum.
A1:A3 will continue to change on their own. But they will not affect your
sum (of B1:B3) unless and until you copy and paste-special-value A1:A3
again.
If you do not like that manual procedure, there are alternatives. Let me
know if you want to hear about them.