hyperlinking to a local file based on cell value

MurphDog

Board Regular
Joined
Oct 1, 2015
Messages
54
Office Version
  1. 365
Platform
  1. Windows
Creating an inventory spreadsheet for my girlfriends business she is starting up, which includes a ton of photographs. Is it possible to use a hyperlink to an image, based on the value of a cell in the row?

For example: if the images are located in ..\..\Pictures\*.jpg and I have a inventory record # associated with that photograph, can i link to it?

example: assume the hyperlink is in a cell on row 5 and the * references the value in Row 5, Column B

=hyperlink(..\..\Pictures\*.jpg,"photo")

The table this will go in is dynamic.
 

Some videos you may like

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Dave87

Board Regular
Joined
Apr 22, 2020
Messages
107
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Can you take a screenshot, im struggling to understand the layout of your page

this might do but Im not sure about the references or what information you have on row 5
=HYPERLINK(B5&A5,A5)
 

Attachments

  • Mr Excel Hyperlink.png
    Mr Excel Hyperlink.png
    20.4 KB · Views: 18

MurphDog

Board Regular
Joined
Oct 1, 2015
Messages
54
Office Version
  1. 365
Platform
  1. Windows
I apologize for the delay, been distracted, but that looks like it will work. Thank you!
 

Watch MrExcel Video

Forum statistics

Threads
1,127,505
Messages
5,625,199
Members
416,080
Latest member
blemon

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
Top