- UID
- 223384
- 帖子
- 638
- 主题
- 62
- 注册时间
- 2011-7-11
- 最后登录
- 2014-8-6
|
ohai Wrote:
-------------------------------------------------------
> Yeah. There are lots of ways to do this. The
> simplest way I can think of is:
>
> 1) In column A, use =rand() for each of the 10
> cells. This generates a uniform random variable (0
> to 1) for each cell.
> 2) Then, take the sum of all the column A values.
> 3) In column B, divide the column A values by the
> sum from 2). The column B values will be random
> and will sum to 1.
bingo |
|