BINOMDIST(n,trials,p,cumulative)
n: number of successes
trials: number of trials
p: probability of success in each trial
cumulative: whether to evaluate the mass function or the cumulative distribution function
If n or trials are non-integer they are truncated. If n < 0 or trials < 0 this function returns a #NUM! error. If n > trials this function returns a #NUM! error. If p < 0 or p > 1 this function returns a #NUM! error.
This function is Excel compatible.