Dil*_*hod 0 excel excel-formula vlookup
我第一次使用Excel的VLOOKUP(),我很难用它.这是截图:

我给B8单元写了一个公式; =VLOOKUP(C8, $A$2:$C$5, IF(C8 = "W", 2,3))
我期待结果1,但我得到了错误的结果0.25.难道我做错了什么?
谢谢您的帮助!
小智 7
vlookup在表的最左列中查找值,然后从找到搜索值的行返回一个值(该行确定的距离是多少).
在您的示例情况下,您需要在下面的第4部分中添加(NearOrExact)
vlookup公式由4部分组成:
1. SearchFor this is the value that is being searched for.
2. WhereToSearch this is the range in which to search and in which the answer lives.
3. WhichColumn this is the column in the WhereToSearch range which has the answer in it.
4. NearOrExact you decide whether the vlookup should search for a close value or an exact value.
Run Code Online (Sandbox Code Playgroud)
vlookup公式的结构:= vlookup(SearchFor,WhereToSearch,WhichColumn,NearOrExact)
来自< http://www.excelvlookuphelp.com/how-to-use-vlookup/ >
| 归档时间: |
|
| 查看次数: |
7709 次 |
| 最近记录: |