Same technique but this time we have to use numbers up to 256 (2^8)
There are 70 Binaries between 0 and 256 that have 4 x 1's
So the formula becomes:
=DEC2BIN(CHOOSE(RANDBETWEEN(1,70),15,23,27,29,30,39,43,45,46,51,53,54,57,58,60,71,75,77,78,83,85,86,89,90,92,99,101,102,105,106,108,113,114,116,120,135,139,141,142,147,149,150,153,154,156,163,165,166,169,170,172,177,178,180,184,195,197,198,201,202,204,209,210,212,216,225,226,228,232,240),8)
see attached file:
Press F9 to get new numbers if required