RANDBINOM(p,trials)
RANDBINOM returns a binomially-distributed random number.
If @p < 0 or @p > 1 RANDBINOM returns #NUM! error. If @trials < 0 RANDBINOM returns #NUM! error.
RANDBINOM(0.5,2).
RAND, RANDBETWEEN.