Vlookup Hyperlink Not Working

For function there is a workaround you can try, with 255 character limit in the formula bar you can split the URL into two cells. For example: Half of the URL in cell A1 and the other half in cell B1, then in another cell put your hyperlink formula. If you used other ways to insert hyperlink, I suggest you provide the way you did. Only when I use both my custom function and the VLOOKUP function together does the hyperlink stop working. At this point, the closest thing I've found to a solution is what I did in the last variation shown above (i.e. Moving the VLOOKUP portion of the formula to another column and then hiding that column).

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?

Lookup to return an active hyperlink with formula

Not

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:

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 2indicates 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.

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.

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!
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    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
  • To post as a guest, your comment is unpublished.
    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.
    • To post as a guest, your comment is unpublished.
      Hello Jeffrey, did you find the solution for your problem ? i am having the same problem
      • To post as a guest, your comment is unpublished.
        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.
        • To post as a guest, your comment is unpublished.
          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
  • To post as a guest, your comment is unpublished.
    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
  • To post as a guest, your comment is unpublished.
    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?