Hyperlink retured through a VLOOKUP gives error

Andrew80284

New Member
Joined
Jun 12, 2019
Messages
4
I have created several worksheets including one that holds my look up tables (worksheet labeled tables). I also have another worksheet called "Directions". In the "Tables" worksheet I have an array with three columns, the first holding the text value I am searching for, column two which contains hyperlinks to Worksheet three, and Column three which contains hyperlinks to Worksheet 4.

=HYPERLINK(VLOOKUP(C7,Tables!E2:G10,2,0))

The formula returns the hyperlink, but when you click on the link an error message pops up saying "Cannot open the specified file". The hyperlink works from the Tables page directly, but not when returned with the HYPERLINK(VLOOKUP function.

Any help would be greatly appreciated.

Thank you,
Andrew
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Re: Hyperlink retured through a VLOOUP gives error

Try this

=HYPERLINK("#" & VLOOKUP(C7,Tables!E2:G10,2,0))
 
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,183
Members
449,071
Latest member
cdnMech

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top