Quote Originally Posted by SaPires View Post
Ok, but the sheet you send me is not OK, is not importing the value correct, compare wth the table
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)),"")