Help with hyperlink lookup

lakaihigh

New Member
Joined
May 17, 2019
Messages
12
What I'm trying to accomplish is this:

I have a customer field in C2. I'm trying to generate a specific hyperlink to different web pages in S38, based on the customer inputted into C2.

I tried using data to make a =Hyperlink(vlookup function, and it works. As I switch the customer name, the correct hyperlinks appear in S38, but when clicked they say "cannot open specified file".

Any help would be greatly appreciated.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
CAn you post a sample of your data??
AND
the entire formula ??
 
Upvote 0
The formula I'm using is =VLOOKUP(C2, K190:L191, 2, 0)

The data its pulling from is simply

Customer Hyperlink
ex:
K190-L191 (small sample to test with)

Amazon http://www.google.com
Bealls http://www.gmail.com

I did however change the display text of the hyperlinks.

When I switch my customer field in "C2" the correct hyper link shows up in S38 and is clickable. I however always get the error message. I even tried a regular =HYPERLINK(L190) and it does the same thing.
 
Upvote 0
Works fine for me

[Table="width:, class:grid"][tr][td]Row\Col[/td][td]
C​
[/td][/tr]
[tr][td]
1​
[/td][td]=HYPERLINK(VLOOKUP(C2, K190:L191, 2, 0))[/td][/tr]

[tr][td]
2​
[/td][td]amazon[/td][/tr]
[/table]



maybe check for leading / trailling spaces in the table ??
 
Upvote 0
Hmm, no matter what I do, I'm still getting back the same error. I wish I could just share my sheet, I'm sure it's something simple I'm over looking (as i'm not the greatest with excel).
 
Upvote 0
Upload the sheet to dropbox and then post the link back here !!
 
Upvote 0
If Google drive doesnt work, let me know and I'll upload it to dropbox tomorrow. By the way, thank you so much for the reply and help. Much appreciated. I've made this from scratch while I learn excel and I've been stumped on this aspect for awhile.
 
Upvote 0
Had a bit of a play with it and removed the hyperlink entirely.
Closed and saved
Recreated a hyperlink from a known source and it worked OK....
Can't explain why, but this might bump you back up the thread list and someone else may know the issue causing it !
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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