The below formula returns #Value. The problem is in the bolded portion of the formula. It works if I remove the AND and do only 1 criteria, but I can't make it work with two criteria
=INDEX(Sheet3!$D$3:$D$1031,(SMALL(IF(AND(Sheet3!$S$3:$S$1031="YES",Sheet3!$Q$3:$Q$1031=E46)),ROW(Sheet3!$D$3:$D$1031)-ROW(Sheet3!$D$3)+1),ROWS(Sheet3!$D$3:$D3))))
I've also tried the below, but it also returns an error:
=INDEX(Sheet3!$D$3:$D$1031,(SMALL(IF((Sheet3!$S$3:$S$1031="YES")*(Sheet3!$Q$3:$Q$1031=E46)),ROW(Sheet3!$D$3:$D$1031)-ROW(Sheet3!$D$3)+1),ROWS(Sheet3!$D$3:$D3))))
Please help. Thanks
=INDEX(Sheet3!$D$3:$D$1031,(SMALL(IF(AND(Sheet3!$S$3:$S$1031="YES",Sheet3!$Q$3:$Q$1031=E46)),ROW(Sheet3!$D$3:$D$1031)-ROW(Sheet3!$D$3)+1),ROWS(Sheet3!$D$3:$D3))))
I've also tried the below, but it also returns an error:
=INDEX(Sheet3!$D$3:$D$1031,(SMALL(IF((Sheet3!$S$3:$S$1031="YES")*(Sheet3!$Q$3:$Q$1031=E46)),ROW(Sheet3!$D$3:$D$1031)-ROW(Sheet3!$D$3)+1),ROWS(Sheet3!$D$3:$D3))))
Please help. Thanks