title: Greater Than and Less Than Range
body: <p>I am trying to go through random numbers between 0 and 1 and group them into an array.  Each array holds the value of numbers from 0 to 0.1, 0.1 to 0.2, etc. How do I write the <code>If</code> statement to get my code to include the 0.1? As of now, it is only reading the greater than 0 part.</p>
  
  <p>This is what I have:</p>
  
  <pre><code>If Range("A1").Offset(i - 1, 0).Value &gt; 0 &lt; 0.1 Then
  count1 = count1 + 1
  </code></pre>