A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You probably need to do this in two columns. The first column simply gathers four random numbers, each between 0 and 1. Then second column "normalizes" the result by dividing all four of the random numbers by the sum of the four, such as:
| =RAND() | =A1/SUM($A$1:$A$4) |
|---|---|
| =RAND() | =A2/SUM($A$1:$A$4) |
| =RAND() | =A3/SUM($A$1:$A$4) |
| =RAND() | =A4/SUM($A$1:$A$4) |
| =SUM(A1:A4) | =SUM(B1:B4) |
Which yields, for example:
| 0.97 | 0.54 |
|---|---|
| 0.14 | 0.08 |
| 0.61 | 0.34 |
| 0.07 | 0.04 |
| 1.79 | 1.00 |
Note that the second column will always sum to 1.0. You can expand this to 10 different random numbers easily. I don't think you need to use RANDBETWEEN().
HTH,
Eric