I'm trying to do a query with 2 conditions:
=ArrayFormula({"User"\A1:F1;QUERY(SE.ERRO({PROCV(B2:B&F2:F;G2:H;2;FALSO)\A2:F});"Select * Where Col1 Is Not Null Order By Col1 Asc")})
The first is if the countries of column G are in column B, returns the values of column A to E with the query. This is already done with the help of the forum (Erik).
But now I need to add a second condition, beside looking for the countries I need to look for the user code, if user code H is in user code F. So the result of the query should be only Angola, Dinamarca, China and Ucrania.
It's possible?
https://docs.google.com/spreadsheets/d/14Juj65V8SKhlvgLMF_Ywfy7cOvgw45r3Ecg7sH9uVVs/edit?usp=sharing








