简体   繁体   English

Excel VLOOKUP结果不一致

[英]Excel VLOOKUP inconsistent results

I am trying to make a simple gradebook using VLOOKUP in Excel for a class, but for some reason, some of my entries are getting a #N/A error while others find the correct value. 我试图在Excel中使用VLOOKUP创建一个简单的成绩单,但由于某种原因,我的一些条目得到#N / A错误,而其他人找到正确的值。 Any ideas or suggestions on how I went wrong would be appreciated. 关于我如何出错的任何想法或建议将不胜感激。 Below is the formula and a link to the workbook itself. 下面是公式和工作簿本身的链接。

=VLOOKUP([@GPA],J9:K21, 2, TRUE)

http://s000.tinyupload.com/?file_id=61517379121210655491 http://s000.tinyupload.com/?file_id=61517379121210655491

您只需要使用$ dollar符号将数据范围更改为绝对引用,至少在行号前面:

=VLOOKUP([@GPA],J$9:K$21, 2, TRUE)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM