跳到主要内容

如何在Excel中查找以返回活动超链接?

作者:晓阳 最后修改时间:2020-06-03

在Excel中,VLOOKUP函数可以帮助我们根据特定的单元格数据返回相应的值。 但是,如果查找值为URL超链接格式,它将显示为纯文本,而没有超链接,如下面的屏幕快照所示。 使用VLOOKUP函数时如何保持超链接格式?

具有超链接的doc查找1

查找以返回带有公式的活动超链接


箭头蓝色右气泡 查找以返回带有公式的活动超链接

要查找并通过超链接返回相应的值,可以结合使用Hyperlink和Vlookup函数来解决它,请执行以下操作:

输入以下公式: =超级链接(VLOOKUP(D2,$ A $ 1:$ B $ 8,2,FALSE)) 放入要输出结果的空白单元格,然后按 输入 键,并立即返回了带有超链接的相应值,请参见屏幕截图:

具有超链接的doc查找2

笔记:

1.在上式中 D2 是要返回其对应数据的单元格值, A1:B8 是您要使用的数据范围,数字 2 指示您返回匹配值的列号。

2.此公式仅适用于URL网站或完整路径的超链接。

最佳办公生产力工具

🤖 Kutools 人工智能助手:基于以下内容彻底改变数据分析: 智能执行   |  生成代码  |  创建自定义公式  |  分析数据并生成图表  |  调用 Kutools 函数...
热门特色: 查找、突出显示或识别重复项   |  删除空白行   |  合并列或单元格而不丢失数据   |   不使用公式进行四舍五入 ...
超级查询: 多条件VLookup    多值VLookup  |   跨多个工作表的 VLookup   |   模糊查询 ....
高级下拉列表: 快速创建下拉列表   |  依赖下拉列表   |  多选下拉列表 ....
列管理器: 添加特定数量的列  |  移动列  |  切换隐藏列的可见性状态  |  比较范围和列 ...
特色功能: 网格焦点   |  设计图   |   大方程式酒吧    工作簿和工作表管理器   |  资源库 (自动文本)   |  日期选择器   |  合并工作表   |  加密/解密单元格    按列表发送电子邮件   |  超级筛选   |   特殊过滤器 (过滤粗体/斜体/删除线...)...
前 15 个工具集12 文本 工具 (添加文本, 删除字符,...)   |   50+ 图表 类型 (甘特图,...)   |   40+ 实用 公式 (根据生日计算年龄,...)   |   19 插入 工具 (插入二维码, 从路径插入图片,...)   |   12 转化 工具 (小写金额转大写, 货币兑换,...)   |   7 合并与拆分 工具 (高级组合行, 分裂细胞,...)   |   ... 和更多

使用 Kutools for Excel 增强您的 Excel 技能,体验前所未有的效率。 Kutools for Excel 提供了 300 多种高级功能来提高生产力并节省时间。  单击此处获取您最需要的功能...

描述


Office Tab 为 Office 带来选项卡式界面,让您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
Comments (9)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I'm looking to use excel for a spec builder, where you can fin information via product codes, I currently have an if command followed by vlookup to drag the information from a hidden sheet into the file by using the product code, I want to drag a hyperlink over too but have been struggling to do so, is this possible? Also, I want the link to shpw custom text.. TIA
This comment was minimized by the moderator on the site
its work, using hyperlink and vlookup they will give the link, but the link is not working when you click it. it show " Cannot open specified file"

anyone can help me. I want to vlookup the link at the same time when i press the link it will give the link value.
This comment was minimized by the moderator on the site
same problem ! how did you solve it
This comment was minimized by the moderator on the site
Same thing for me! itworked for a second, but idk what happened that when I went to do it a second time (on a different cell I needed the link), it all went to shit and I get the same message, "Cannot open the spoecified file". Please help!
This comment was minimized by the moderator on the site
Hello Jeffrey, did you find the solution for your problem ? i am having the same problem
This comment was minimized by the moderator on the site
I am trying to fix this problem right now. It only works if you open up the file that you're pulling the hyperlink from.
This comment was minimized by the moderator on the site
i came up with a very long formula that did the job but it is very complex that if u have to add a raw you must edet everything


=HYPERLINK(GetURL(INDIREKT(ADRESSE(VERGLEICH(links!$K$1,links!E6:E9) + 5, 7, 1, 1, "links"))),INDIREKT(ADRESSE(VERGLEICH(links!$K$1,links!E6:E9) + 5, 7, 1, 1, "links")))


links is the name of a sheet i have and the GetURL function is a fuction I had to add that i got online... you can google that fuction

kindly inform me if you get to an essiere solution
This comment was minimized by the moderator on the site
Bagaimana cara membuat hasil indek match yang ada hyperlink worksheet nya aktif. Atau mungkin ada cara lain untuk menampilkannhasil cari yg mengandung link sheet aktif
This comment was minimized by the moderator on the site
This almost worked for me but I have a long list of hyperlinks to reference to and as the address’s are quite lengthy, I have used the “Text to display” function to shorten the text displayed.


As I have done this, the hyperlink no longer works as it references the text displayed, not the correct address.


Is is there anyway round this as I do not have space in spreadsheet to display the full address?
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations