Yes you were right. Sorry for that. Paste below formula to I6 cell and drag it right-down. Enter Ctrl+Shift+Enter after pasting the formula.
=IFERROR(INDEX(TABELA!$C$3:$O$21,MATCH(AFTER!$E6,TABELA!$B$3:$B$21,0),MATCH(1,($O$4=TABELA!$C$1:$O$1)*(AFTER!I$5=TABELA!$C$2:$O$2),0)),"")
Bookmarks