Can someone please help me with the following. I would like a formula that returns a position in a range, upon matching the first item that matches criteria BUT only start searching from a given position.
For example, for the following range there are the following values: [0,1,0,1]
If criteria is X>0, and start looking after position 2, then the formula should return: 4
But I can't get it to work. I tried the following formulas, but both of these return: 2.
MATCH(1,(O221:O224>0)*(ROW(range)>2),0)
XMATCH(1,INDEX((O221:O224>0)*(ROW(range)>2),0),0)
It would obviously be easier if I simply entered in a shortened range, but I'm not able to do that (the above formula would be deeply embedded in a much larger formula with dynamic ranges).
Can anyone assist?
For example, for the following range there are the following values: [0,1,0,1]
If criteria is X>0, and start looking after position 2, then the formula should return: 4
But I can't get it to work. I tried the following formulas, but both of these return: 2.
MATCH(1,(O221:O224>0)*(ROW(range)>2),0)
XMATCH(1,INDEX((O221:O224>0)*(ROW(range)>2),0),0)
It would obviously be easier if I simply entered in a shortened range, but I'm not able to do that (the above formula would be deeply embedded in a much larger formula with dynamic ranges).
Can anyone assist?
Last edited: