An Excel table consists of two columns (e.g., A1:B5):

```
0 10
1 20
3 30
2 20
1 59
```

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.

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.