如何在Google表格中使用VLOOKUP修复返回列中第一个值而不是适当值的问题?

huangapple go评论47阅读模式
英文:

How to fix returning of the first value in a column instead of the appropriate value using VLOOKUP in Google Sheets?

问题

Here is the translation of the code-related part:

在这个屏幕上,"C9" 是一个下拉列表的 "A" 值。 "D9" 是 "VLOOKUP" 函数的结果。在 "E9" 中,我需要获取列 "B" 中值 "D9" 的索引。但问题是它总是返回列中的第一个值。如屏幕截图所示,它应该返回 "B6"。

这个问题有解决的方法吗?谢谢。

图片描述

我尝试了这段代码:

=ADDRESS(MATCH(VLOOKUP(C9;A2:B6;2;FALSE);B1:B6;0);2;4)

英文:

Good afternoon Please give advice.

In this screen, "C9" is a drop-down list of "A" values. "D9" is the result of the "VLOOKUP" function. In "E9" I need the index of the value "D9" from column "B". But the problem is that it always returns the first value in the column. As on a screenshot it should return "B6".

Is the a way of solving this problem? Thank you.

enter image description here

I tried this code:

=ADDRESS(MATCH(VLOOKUP(C9;A2:B6;2;FALSE);B1:B6;0);2;4)

答案1

得分: 0

"你可以尝试:\n\n ="B"&xmatch(C9,A:A)"

英文:

You may try:

="B"&xmatch(C9,A:A)

如何在Google表格中使用VLOOKUP修复返回列中第一个值而不是适当值的问题?

huangapple
  • 本文由 发表于 2023年5月25日 22:03:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/76333173.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定