I'm trying to get a list of products from 2 values in excel. I have seen in this tutorial that I can make a formula of the following way:
={SEERRO(ÍNDICE($A$6:$B$15;MENOR(SE($A$6:$A$15=$E$5;LIN($A$6:$A$15)-5);LIN(A1));2);"")}
This is the solution if I were to search from a value, but I need to use two values for the search, so I put another SE()
to do this (I'm using Office 2010 and I do not have SES()
)
My role is as follows:
={SEERRO(ÍNDICE('Materiais Usados'!$A$3:$G$27;MENOR(SE('Materiais Usados'!$A$3:$G$27=$A$26;SE('Materiais Usados'!$A$3:$G$27=$B$1;LIN('Materiais Usados'!$A$3:$G$27)-2));LIN(A1));1);"")}
It was not working, so when I debugged I realized that it gave me the error #NÚM!
for the following reason: When it enters the second SE()
it loses the information of the numbers of SE()
previous and turns them into FALSE. So how do I fix this? Is there another formula I can use for this? Thankful.