FRED_SHEET
New Member
- Joined
- Oct 13, 2017
- Messages
- 48
I am trying to use a Random Number Generator to test a worksheet I am developing. I have been using the expression shown below with success to generate a number between 1 and 63 to put in a cell.
=TRUNC(RAND()*(64-1)+1)
However, I would like to test this cell with a random number between 0 and 63 and a null entry or blank in the cell generated randomly. I tried using the expression below but it doesn't seem to give be a zero, maybe I have tried enough times.
=TRUNC(RAND()*(64-0)+1)
Also, is there anyway to generate a blank entry randomly along with random entries from 0 to 63?
[TABLE="width: 100"]
<colgroup><col></colgroup><tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
=TRUNC(RAND()*(64-1)+1)
However, I would like to test this cell with a random number between 0 and 63 and a null entry or blank in the cell generated randomly. I tried using the expression below but it doesn't seem to give be a zero, maybe I have tried enough times.
=TRUNC(RAND()*(64-0)+1)
Also, is there anyway to generate a blank entry randomly along with random entries from 0 to 63?
[TABLE="width: 100"]
<colgroup><col></colgroup><tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]