将范围存储在单元格中并将其与 Vlookup 一起使用
我需要对根据日期而变化的范围进行 vlookup
,例如: =Vlookup(a2,http://mypc/[attendance.xlsx]7th March'!$AR:$AS,2,0)
所以对于工作表的链接很好,无需更改,但工作表中的选项卡会根据日期更改:
例如:
如果日期是 8/3/2022,则公式将如下所示: =Vlookup(a2,http://mypc/[attendance.xlsx]8th March'!$AR:$AS,2,0)
我尝试将日期的值放入单元格中并在日期内使用另一个 vlookup,但是它不起作用。我还尝试使用间接公式来调用工作表链接,但它不起作用,也显示 #Ref 错误。
顺便说一句,查找值来自表格单元格。
那么有什么想法吗?
I need to do vlookup for a range which is variable depending on the date
for example: =Vlookup(a2,http://mypc/[attendance.xlsx]7th March'!$AR:$AS,2,0)
so for the link of the sheet is fine no need to change, but the tab in the sheet it changes according to date:
for example:
if the date is 8/3/2022 the formula will be like this: =Vlookup(a2,http://mypc/[attendance.xlsx]8th March'!$AR:$AS,2,0)
i tried to put the value of the date in a cell and using another vlookup inside the date but it didnt work. i also tried to use indirect formula to recall the sheet link but it didnt work also showing #Ref error.
Btw the lookup value is coming from a table cell.
so any ideas please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论