跳到主要內容

如何查找以在Excel中返回活動的超鏈接?

在Excel中,VLOOKUP函數可以幫助我們基於特定的單元格數據返回相應的值。 但是,如果查找值為URL超鏈接格式,它將顯示為純文本,而沒有超鏈接,如以下屏幕截圖所示。 使用VLOOKUP函數時如何保持超鏈接格式?

具有超鏈接的doc查找1

查找以返回帶有公式的活動超鏈接


箭頭藍色右氣泡 查找以返回帶有公式的活動超鏈接

要查找並通過超鏈接返回相應的值,可以結合使用Hyperlink和Vlookup函數來解決它,請執行以下操作:

輸入以下公式: =超級鏈接(VLOOKUP(D2,$ A $ 1:$ B $ 8,2,FALSE)) 放入要輸出結果的空白單元格,然後按 Enter 鍵,並立即返回了帶有超鏈接的相應值,請參見屏幕截圖:

具有超鏈接的doc查找2

筆記:

1.在上式中 D2 是要返回其對應數據的單元格值, A1:B8 是您要使用的數據范圍,數字 2 指示返回匹配值的列號。

2.此公式僅適用於URL網站或完整路徑的超鏈接。

最佳辦公生產力工具

熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

kte選項卡201905


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (8)
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 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
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations