Looking up hyperlinks

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a formlua =VLOOKUP(a1,B1:c20,2,FALSE), where the cell being looked up
is a hyperlink. The formula return the correct path name for the hyperlink,
but the cell displayed is no longer a hyperlink. Anybody know how to retain
the hyperlink properties in these circumstances? Thanks
 
Anne. I tried this without the 2nd =. While the result is a hyperlink, I get
the error message "can open the specified file" - although I know there's
nothing wrong with the original hyperlink. Any ideas? Thanks again.
--
Peter
London, UK


Anne Troy said:
Try this, Peter:
=Hyperlink(=VLOOKUP(a1,B1:c20,2,FALSE))
************
Anne Troy
www.OfficeArticles.com
 
Sorry! Pasted that second = sign. Getting cannot open... is not necessarily
a bad hyperlink being created. Do you get the same message if you type the
hyperlink literally? I just helped someone do something similar and it
worked like a charm...that's the only reason I ask.
************
Anne Troy
www.OfficeArticles.com

Peter said:
Anne. I tried this without the 2nd =. While the result is a hyperlink, I
get
the error message "can open the specified file" - although I know there's
nothing wrong with the original hyperlink. Any ideas? Thanks again.
 
Yes I've got it to work not thanks Anne. It's to do with how you set up the
hyperlink in the orginal cell being looked up. A straight path name works, so
does right click hyperlink, so does =hyperlink(xx), but "friendly names",
anywhere in the scenario don't. Many thanks for your help.
 
The =vlookup() portion returns what's in the cell.

If the cell contains: www.microsoft.com

Maybe all you need to add is:
=hyperlink("http://" & vlookup(a1,b1:c20,2,false))

if it's an email address:
=hyperlink("mailto:" & vlookup(...))


Anne. I tried this without the 2nd =. While the result is a hyperlink, I get
the error message "can open the specified file" - although I know there's
nothing wrong with the original hyperlink. Any ideas? Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hyperlinks 2
Hyperlink in Excel spreadsheet 7
Insert a hyperlink as the text in the cell? 2
hyperlinks within Excel 3
Hyperlinks 6
View Hyperlink in another cell 1
Hyperlink w/ vlookup 1
Hyperlink 1

Back
Top