What formula should be used so that for a given range and a condition, it returns the row index of the first row for which the condition is true?
In the example below, for the range A1:A5, if the condition is “<0” it will return 1. For “>1” return 3 and for “>2” return 5.