title: Excel: Find the minimal value in a column
body: <p>An Excel table consists of two columns (e.g., A1:B5):</p>
  
  <pre>0 10
  1 20
  3 30
  2 20
  1 59</pre>
  
  <p>I need to get the minimal value in column B for which the corresponding value in column A is greater than zero. In the above example it should be 20.</p>
  
  <p>I tried using various combinations of INDEX(), MIN(), IF(), ROW(), array formulas, etc. - but I just can't figure out how to do it. :-( Any help would be appreciated.</p>