来自不同工作簿的 VLOOKUP
我有 2 个工作簿....OdysseyDeposit 其中我的源数据和 Civil Bank Accnt Recon 其中包含 OdysseyDeposit 的 VLOOKUP。
这是我正在使用的 VLOOKUP 函数:
=IF(ISNA(VLOOKUP(A2,[OdysseyDeposit.xls]Sheet1!$A$9:$L$19, 12, 0)), 0,
VLOOKUP(A2,[OdysseyDeposit.xls]Sheet1!$A$9:$L$19, 12, 0))
ISNA 函数在那里,因此如果在 OdysseyDeposit 中找不到该值,我会在 Civil Bank Accnt Recon 工作簿中得到 0,因此我的添加工作正常。
然而,我的印象是 OdysseyDeposit 不必打开才能检索值,但如果它关闭,我不会得到任何值,只是零。
我对关闭源文件时 VLOOKUP 的工作是否不正确?是不是因为ISNA功能关闭后就不能更新了?
I have 2 workbooks....OdysseyDeposit where my source data is and Civil Bank Accnt Recon which contains VLOOKUP to the OdysseyDeposit.
Here is the VLOOKUP function that I am using:
=IF(ISNA(VLOOKUP(A2,[OdysseyDeposit.xls]Sheet1!$A$9:$L$19, 12, 0)), 0,
VLOOKUP(A2,[OdysseyDeposit.xls]Sheet1!$A$9:$L$19, 12, 0))
The ISNA function is there so if the value is not found in OdysseyDeposit I get a 0 in my Civil Bank Accnt Recon workbook so my addition works correctly.
However, I was under the impression that OdysseyDeposit did NOT have to be open in order to retrieve the values, but if it is closed I don't get any values, just zeros.
Am I incorrect about VLOOKUP working when the source file is closed? Could it not be updating when it is closed because of the ISNA function?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是对的,不需要打开工作簿来检索值,但确实需要建立它们之间的链接。
You are correct the workbook does not need to be open to retrieve values but a link between them does need to be established.