Hi All,
I have the following formula (#1) to find the 2nd occurrence in Column B when the date value in column D is greater than the date in cell F2, but i wanted to add a 2nd argument to it, If the value in column H equals the value of the cell in F3, but can't make it work (#2).
have tried different combinations with also adding the Row(H44:106) - ROW(INDEX(H44:H106) clause, but nothing seems to work for me.
Any ideas what I am doing wrong? Thanks so much for any help.
Best,
Ernie
1) =INDEX(B44:B106,SMALL(IF(D44:D106>F2,ROW(D44:D106)-ROW(INDEX(D44:D106,1,1))+1),2))
2) =INDEX(B44:B106,SMALL(IF(AND(D44:D106>F2,H44:H106=F3),ROW(D44:D106)-ROW(INDEX(D44:D106,1,1))+1),2))
I have the following formula (#1) to find the 2nd occurrence in Column B when the date value in column D is greater than the date in cell F2, but i wanted to add a 2nd argument to it, If the value in column H equals the value of the cell in F3, but can't make it work (#2).
have tried different combinations with also adding the Row(H44:106) - ROW(INDEX(H44:H106) clause, but nothing seems to work for me.
Any ideas what I am doing wrong? Thanks so much for any help.
Best,
Ernie
1) =INDEX(B44:B106,SMALL(IF(D44:D106>F2,ROW(D44:D106)-ROW(INDEX(D44:D106,1,1))+1),2))
2) =INDEX(B44:B106,SMALL(IF(AND(D44:D106>F2,H44:H106=F3),ROW(D44:D106)-ROW(INDEX(D44:D106,1,1))+1),2))