In-workbook hyperlink and vlookup

NFaraci

New Member
Joined
Aug 21, 2018
Messages
18
Hello and thank you in advance for any help.

I'm looking to have VLOOKUP return a hyperlink, but one which is a reference within the workbook, rather than a URL. Can't find a format for writing the hyperlink to begin with that Vlookup can then return as working. Explanation of the below representation is that the first sheet is a list of questions and answers. The Answer locations is where I want the links to bring the user. In the second sheet, the Question columns would be blank until someone fills in which Question they are looking for. The Vlookup would then populate the Answer column with the link back to that location of the first sheet. What I had used, which works for URLs but not this, is =HYPERLINK(VLOOKUP(Question,Questions:Answers,2,0). Any suggestions?

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Question 1[/TD]
[TD]Answer 1[/TD]
[/TR]
[TR]
[TD]Question 2[/TD]
[TD]Answer 2
[/TD]
[/TR]
</tbody>[/TABLE]




[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Question 1[/TD]
[TD]Link to Answer 1[/TD]
[/TR]
[TR]
[TD]Question 2[/TD]
[TD]Link to Answer [/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,575
Messages
6,173,148
Members
452,502
Latest member
PQCurious

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