title: How to choose a value between the two, with given probability in Excel?
body: <p>I have list of probabilities in column 1. How I can fill column 2 with 0 and 1 based on the corresponding probabilities?</p>
  
  <pre><code>0.5 1
  0.2 0
  0.9 1
  0.35 1
  0.1 0
  </code></pre>