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

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Dave87

Board Regular
Joined
Apr 22, 2020
Messages
105
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: 13

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,118,192
Messages
5,570,774
Members
412,340
Latest member
nikitesh95
Top