I have wrote a formula that is Index and match function and matching the sheet2 cell E9 and F9 with sheet1 Col"A" and Col"B".
If same values are exist then Index will copy the same row data of matching criteria then paste that data into Sheet2 as i did in below attached sheet.
Can someone please help with that problem, Result is coming accurate with single criteria but not with 2 criteria's. Your help will be appreciated.
=IFERROR(INDEX(Sheet1!$A$1:$CH$8,match($E$8,Sheet1!$A:$A,0),match($F$9,Sheet1!$B:$B,0),MATCH(E10,Sheet1!$3:$3,0)))
INDEX([Range], [Row number], [Column number])returns a single cell's value.IFERROR(INDEX([Range], [Row number], [Column number]), [Column number])returns a column number if INDEX returns an error. That's how you get the "5". Obviously, you mean to get another INDEX if the first one fails. Your formula doesn't say that. - Variatus