Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9798

Query - Procv with 2 Conditions

$
0
0

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


Viewing all articles
Browse latest Browse all 9798

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>