the lookup_value and the first column of table_array

来源: 天蝎 2011-08-05 15:13:53 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (1074 bytes)

Should both be number or both be text.  Here is the note from Excel Help:

  • When searching text values in the first column of table_array, ensure that the data in the first column of table_array does not contain leading spaces, trailing spaces, inconsistent use of straight ( ' or " ) and curly ( ‘ or “) quotation marks, or nonprinting characters. In these cases, VLOOKUP might return an incorrect or unexpected value. 

You can use either CLEAN function or TRIM function to clean the data up.

所有跟帖: 

I formated the value both in the same format but it still could -airsusan- 给 airsusan 发送悄悄话 airsusan 的博客首页 (66 bytes) () 08/05/2011 postreply 15:21:52

format will not work in this case because -天蝎- 给 天蝎 发送悄悄话 (398 bytes) () 08/05/2011 postreply 15:33:09

Thank you very much and will try it tomorrow.Have a nice weekend -airsusan- 给 airsusan 发送悄悄话 airsusan 的博客首页 (0 bytes) () 08/05/2011 postreply 16:15:04

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”