If the cell value is between 0 and 1:
Probability is the cell value
Trials is 50
If the cell value is between 1 and 1,000 (the maximum number of binomial trials):
Probability (Prob) is 0.5
Trials is cell value
Otherwise:
Probability (Prob) is 0.5
Trials is 50