如果 Sheet1 中的值与 Sheet2 中的值匹配,则条件超链接
当工作表 1 的 B 列(数字)中的值与工作表 2 的 A 列(数字)中的值匹配时,我想在工作表 1 的 A 列(链接)中创建一个条件超链接,指向工作表 2 中的匹配单元格。
在第一个实例中,我什至似乎无法创建超链接2 张之间...
我还尝试使用 MATCH 函数至少确认我是否可以准确地引用不同工作表中的匹配单元格并且它似乎有效;但似乎无法(1)使工作表之间的超链接正常工作以及(2)在存在匹配值时有条件地创建超链接。
不确定我是否还需要使用 INDEX 或宏;只是对如何实现我的总体目标有点迷失,并且希望社区提供任何建议<3
I would like to create a conditional hyperlink in Column A (Link) of Sheet 1 to a matched cell in Sheet 2 when a value in Column B (Number) of Sheet 1 matches that of Column A in Sheet 2 (Number).
In the first instance, I don't even seem to be able to create a hyperlink between 2 sheets...
I also tried using the MATCH functions to at least confirm if I could accurately reference matching cell in a different worksheet and it seems to work; but just can't seem to (1) get hyperlink between sheets to work and (2) create hyperlinks conditionally to when there are matching values.
Unsure if I may need to use INDEX as well or Macros; just a bit lost on how to achiever my goal overall and would appreciate any tips from the community <3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在公式方式中,您可以尝试使用函数
=CELL("address",INDEX(MATCH)))
返回匹配单元格的地址,然后创建指向它的链接。另请注意,如果您想在工作簿中创建链接,请在单元格地址前使用“#”。
Sheet1:

In formula way, you can try function
=CELL("address",INDEX(MATCH)))
to return matched cell's address, then create link to it.One more note, if you want to create link within your workbook, use '#" before cell's address.
Sheet1:

或宏方式:
or Macro way: