Skip to main content

How to lookup to return an active hyperlink in Excel?

In Excel, the VLOOKUP function can help us to return the corresponding value based on a specific cell data. But, if the lookup value is in URL hyperlink format, it will be displayed as plain text without the hyperlink as following screenshot shown. How could you keep the hyperlink format when using the VLOOKUP function?

doc lookup with hyperlinks 1

Lookup to return an active hyperlink with formula


arrow blue right bubble Lookup to return an active hyperlink with formula

To lookup and return the corresponding value with hyperlink, you can combine the Hyperlink and Vlookup functions to solve it, please do as this:

Enter this formula: =HYPERLINK(VLOOKUP(D2, $A$1:$B$8,2,FALSE)) into a blank cell where you want to output the result, then press Enter key, and the corresponding value with hyperlink has been returned at once, see screenshot:

doc lookup with hyperlinks 2

Notes:

1. In the above formula, D2 is the cell value which you want to return its corresponding data, A1:B8 is the data range that you want to use, the number 2 indicates the column number that your matched value is returned.

2. This formula is only applied to the hyperlinks which are URL websites or full path.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
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