AweSome15
New Member
- Joined
- Aug 23, 2021
- Messages
- 4
- Office Version
- 365
- 2016
- Platform
- Windows
Hello everyone,
I wrote formula to generate binary number (0,1), as obviously it had generated as I expected (as can be seen). My questions are:
1. How can I formulate, whenever it generated '0', it would stay for at least/minimum two rows (included the generated number), but when it generated '1' it would stay for at least five rows (included the generated number). Whatever number after the minimum requirement fulfilled will be ignored
2. Is it possible to generate binary number (0,1) (as i pointed out in the 1st question) while adding another requirement i.e., the '0' or '1' number within specific percentage (let say 20 %) and the rest will automatically follows on the portion to it.
Most appreciated to all of you,
Cheers Up
I wrote formula to generate binary number (0,1), as obviously it had generated as I expected (as can be seen). My questions are:
1. How can I formulate, whenever it generated '0', it would stay for at least/minimum two rows (included the generated number), but when it generated '1' it would stay for at least five rows (included the generated number). Whatever number after the minimum requirement fulfilled will be ignored
2. Is it possible to generate binary number (0,1) (as i pointed out in the 1st question) while adding another requirement i.e., the '0' or '1' number within specific percentage (let say 20 %) and the rest will automatically follows on the portion to it.
Most appreciated to all of you,
Cheers Up
=RANDBETWEEN((0,1) | Expected | =RANDBETWEEN((0,1) | Expected | |
0 | 0 | 1 | 1 | |
1 | 0 | 1 | 1 | |
0 | 0 | 1 | 1 | |
1 | 1 | 1 | 1 | |
1 | 1 | 1 | 1 | |
1 | 1 | 1 | 1 | |
0 | 1 | 0 | 0 | |
1 | 1 | 0 | 0 | |
1 | 1 | 0 | 0 | |
1 | 1 | 0 | 0 | |
0 | 0 | 0 | 0 | |
1 | 0 | 1 | 1 | |
1 | 1 | 0 | 1 | |
% of Zeros | 38.46% | % of Zeros | 38.46% | |
% of non-Zeroes | 61.54% | % of non-Zeroes | 61.54% |