如何使用vlookup查找最高值的相应文本
ID| Name | Description| Price
---------+------------+------------------
1| Pen | Blue ink | 10
1| Pencil | HB | 20
2| Chair | 4 legs | 50
1| Paper | A4 | 25
这是我试图使用vlookup找到最高价格的固定表。我不确定,但是我使用时会遇到错误
= vlookup(max(d3:d6),a3:c6,2,false)
但随后我遇到了一个错误
公式和函数不可用的值
我认为我的Vlookup语句的语法有问题,但我无法弄清楚。任何帮助将不胜感激
ID| Name | Description| Price
---------+------------+------------------
1| Pen | Blue ink | 10
1| Pencil | HB | 20
2| Chair | 4 legs | 50
1| Paper | A4 | 25
This is a table of stationary that I am trying to use VLOOKUP to find the name of the highest price. I'm not sure but I am getting an error when I use
=VLOOKUP(MAX(D3:D6),A3:C6,2,FALSE)
but then I get an error
A value is not available to the formula and function
I think there is something wrong with the syntax of my VLOOKUP statement but I can't figure it out. Any help would be much appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
索引值,即您要查找查找值(最大值)的列需要是最左边的列。 Vlookup仅在右边工作。
因此,index()带有match(),就像这样:
假设所有列等您不显示它们,但是您可以从那里拿走。
The index value ie the column where you want to find the lookup value (your max value) needs to be the leftmost column. vlookup only works to the right.
So, index() with match() like so:
Assuming all the columns etc as you don't show them, but you can take it from there.