Create hyperlinks using VLOOKUP?

  • Thread starter Thread starter lunker55
  • Start date Start date
L

lunker55

I would like to enter a model number(CM3636a) in A1.
When entered, is there a way to lookup in a table and create a hyperlink
automatically?
I have hundreds of model numbers which I want to associate a diagram(jpg).
I only want to do this once, then everytime the same model number is
entered, a link is created to that diagram.
Can anyone think of any ingenious ideas on how to achieve something like
this?

Joe
 
Hi
if you have the name of a file in column b try something like
=HYPERLINK("C:\temp\" & VLOOKUP(A1,'lookuptable'!A1:B100,2,0) & ".jpg")
 
Thank you Frank.
Works perfectly. I am so happy.
Am I able to change the visible text in the hyperlink?
Instead of showing the location(very long-server location), can the cell
just show "Layout"?

Joe
 
Hi
yes, use the second parameter of the HYPERLINK function. e.g.
=HYPERLINK("C:\temp\" & VLOOKUP(A1,'lookuptable'!A1:B100,2,0) &
".jpg","Layout")
 
Thanks Frank.
Perfect!
Joe


Frank Kabel said:
Hi
yes, use the second parameter of the HYPERLINK function. e.g.
=HYPERLINK("C:\temp\" & VLOOKUP(A1,'lookuptable'!A1:B100,2,0) &
".jpg","Layout")
 

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

Back
Top