vlookup不起作用 [英] vlookup doesn't work
问题描述
http://s3.amazonaws.com/alexa-static /top-1m.csv.zip
在该Alexa域名排名电子表格上(全球排名前100万的域名)
on that Alexa domain ranking spreadsheet (top 1 million domains in the world)
A列包含域名排名,B列包含域名(对于不熟悉的人)
A column contains domain ranking, B column contains domain name (for those not familiar)
我在D列上 = VLOOKUP("dog",A1:B1000001,1,TRUE)
On a D column, I put =VLOOKUP("dog",A1:B1000001,1,TRUE)
并返回#N/A
Vlookup为什么不起作用?
How come Vlookup is not working ?
使用Excel 2007,Vista.
Using Excel 2007, Vista.
推荐答案
来自 VLOOKUP 文档
VLOOKUP中的V代表垂直. 当使用VLOOKUP而不是HLOOKUP时 您的比较值位于 数据左侧的一列 您想找到.
The V in VLOOKUP stands for vertical. Use VLOOKUP instead of HLOOKUP when your comparison values are located in a column to the left of the data that you want to find.
Table_array的两个或更多列 数据.使用对范围或范围的引用 范围名称. 第一个中的值 table_array的列是值 通过lookup_value搜索. 可以是文本,数字或逻辑 价值观.大写和小写文字 是等效的.
Table_array Two or more columns of data. Use a reference to a range or a range name. The values in the first column of table_array are the values searched by lookup_value. These values can be text, numbers, or logical values. Uppercase and lowercase text are equivalent.
根据您的公式以及工作表中数据为ID(值)的事实,这将尝试将 dog 与 ID(整数)值进行匹配不应返回任何结果.
From your formula, and the fact the the data in the sheet is ID, Value, this will try to match dog to an ID ( integer ) value, which should return no results.
此外,查找值的排序顺序很重要
Also, the sort order of the lookup values are important
第一列中的值 table_array必须放在 升序排列;否则, VLOOKUP可能没有给出正确的 值.
The values in the first column of table_array must be placed in ascending sort order; otherwise, VLOOKUP may not give the correct value.
如果RangeLookUp设置为FALSE
If RangeLookUp is set to FALSE
如果为FALSE,则VLOOKUP只会找到一个 完全符合.在这种情况下,值 在table_array的第一列中 无需排序.
If FALSE, VLOOKUP will only find an exact match. In this case, the values in the first column of table_array do not need to be sorted.
这篇关于vlookup不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!