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”