[英]VLOOKUP not giving expected results (Google Sheets)
I'm trying to build an excel sheet and i want to retrieve the values in column J (Salida) who match the criteria in columns G and I (Comedor and Index).我正在尝试构建一个 excel 工作表,我想检索与 G 和 I 列(Comedor 和索引)中的条件匹配的 J 列(Salida)中的值。 : :
To achieve that goal I'm using this formula in cell K17;为了实现这个目标,我在单元格 K17 中使用了这个公式;
=vLOOKUP(concatenate(G17;I17); G7:J; 4; FALSE)
Let's see what I'm getting step by step:让我们一步一步看看我得到了什么:
=CONCATENATE(G17;I17) // This gives me "A1" as String
=Type(G17) returns 2 //String
=Type(I17) returns 2 //String
G7:J // the complete range where my criteria columns are in first positions
4 // The column index starting from the beginning of the range (Salida)
False // Exact match
And the error I'm receiving is "A1" not found in VLOOKUP evaluation but I have no idea about what's going on.我收到的错误是在 VLOOKUP 评估中找不到“A1”,但我不知道发生了什么。 Any help would be appreciated.任何帮助,将不胜感激。
try:尝试:
=INDEX(VLOOKUP(G17&I17; {G7:G&I7:I \ J7:J}; 2; 0))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.