How to Hyperlink Multiple PDF Files in Excel (3 Methods)

Excel HYPERLINK Function Introduction

The HYPERLINK Function creates a shortcut in a specific cell. If you click on the shortcut, it will open the linked document or cell. The document can be stored on the hard drive of the computer, a network server, or on the internet.

  • Syntax

HYPERLINK(link_location,[friendly_name])

  • Arguments

link_location: It is the compulsory argument of the function, defining the link address.

[friendly_name]: This is the second argument of the function and it is optional. We put the text that should be displayed in the cell using the double quotation sign.

For example, you want to hyperlink a file in Cell B4. If Cell A2 contains the link location and you need ‘Click here to download’ to be displayed, then, you need to type the formula below in Cell B4:

=HYPERLINK(A2,”Click here to download”)

How to Hyperlink Multiple PDF Files in Excel: 3 Ways

We will use a dataset that contains information about the Department and Appointment Letters of some employees. In the Appointment Letter column, we will hyperlink the PDFs of the letters, one for each employee.


Method 1 – Hyperlink Multiple PDF Files Using the Excel Insert Tab

STEPS:

  • Select the cell where you want to link the PDF. We have selected Cell D5.

Hyperlink Multiple PDF Files Using Excel Insert Tab

  • Go to the Insert tab and select Link. It will open a drop-down menu.
  • Select Insert Link from the drop-down menu.

Hyperlink Multiple PDF Files Using Excel Insert Tab

  • Alternatively, right-click on Cell D5 and select Link from the context menu.

Hyperlink Multiple PDF Files Using Excel Insert Tab

  • The Insert Hyperlink window will appear.
  • Select the folder that contains the PDF files using the drop-down icon.

Hyperlink Multiple PDF Files Using Excel Insert Tab

  • Select the appointment letter of Mike as Row 5 contains information about Mike. You have to select the respective PDF file for each employee.
  • Click OK to proceed.

Hyperlink Multiple PDF Files Using Excel Insert Tab

  • After clicking OK, you will see that Cell D5 has been linked successfully.

Hyperlink Multiple PDF Files Using Excel Insert Tab

  • Repeat for the rest of the cells to hyperlink multiple PDF files.

Hyperlink Multiple PDF Files Using Excel Insert Tab

Read More: How to Activate Multiple Hyperlinks in Excel


Method 2 – Using the Command Prompt to Hyperlink Multiple PDF Files in Excel

We made the Appointment Letter column empty.

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

STEPS:

  • Go to the file that contains the PDF files.
  • The order of the PDF files should be the same as the order of the employees. This means Letter 1 must contain the appointment letter of Mike. In this way, Letter 2, Letter 3, Letter 4, and Letter 5 should contain the appointment letters of Tom, Paul, Josh & Carry, respectively.
  • Type ‘cmd’ in the Address bar like the picture below.
  • Hit Enter to open the command prompt window.

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

  • Paste the following command in the window:
dir/b/s/0|clip
  • Press Enter.

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

  • Go to your Excel sheet and select a cell. We have selected Cell B11.

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

  • Press Ctrl + V to paste the addresses of the PDF files.

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

  • Select Cell D5 and insert this formula:
=HYPERLINK(B11,"Download")

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

  • Hit Enter.

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

This formula links the address of Cell B11 and defines the friendly name as Download.

  • Drag down the Fill Handle to hyperlink the rest of the cells.

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

  • If you click on the Download, it will show a message. You need to click OK to open the PDF file.

Use of Command Prompt to Hyperlink Multiple PDF Files in Excel

Read More: How to Hyperlink Multiple Cells in Excel


Method 3 – Simple Excel Formulas to Hyperlink Multiple PDF Files

We will create a drop-down list first and then apply some simple formulas. This is very effective for large datasets.

Simple Excel Formulas to Hyperlink Multiple PDF Files

STEPS:

  • Go to a new sheet and create a structure like the below image.
  • Select the cell that will contain the drop-down list. We have selected Cell C4.

Simple Excel Formulas to Hyperlink Multiple PDF Files

  • Select the Data Validation option from the Data tab.

Simple Excel Formulas to Hyperlink Multiple PDF Files

  • Select List in the Allow field of the Data Validation window.
  • Select the Source field.

Simple Excel Formulas to Hyperlink Multiple PDF Files

  • Go to the sheet that contains the name of the employees and select the names. The name of the employees should be unique.
  • Click OK to proceed.

  • You will see a drop-down list in Cell C4.

  • We need to hyperlink the PDF files. The name of the PDF files should be the same as the name of the employees.
  • Open the file that contains the PDF files.
  • Click on the right side of the Address bar.
  • Press Ctrl + C to copy the address.

  • Select Cell B7 of the sheet and press Ctrl + V to paste it.

  • Select Cell B8 and insert this formula:
=B7&"\"&C4&".pdf"

Here, this formula is creating link locations for the respective PDF files.

  • Press Enter.

  • Select Cell C5 and insert the formula:
=HYPERLINK(B8,"Download")

  • Hit Enter and choose a name from the drop-down list to see results like the below.

Here, the HYPERLINK function creates a shortcut for the link stored in Cell B8 and defines Download as the friendly name.

Read More: Excel Hyperlink with Shortcut Key 


Things to Remember

  • Method 1 is very effective for a small number of PDF files but not handy for large datasets.
  • In Method 2, the PDF files should be arranged in the same order as the order of the employees. Otherwise, it will hyperlink the wrong PDF file.
  • In Method 3, the name of the PDF files must be the same as the name of the employees.

Download the Practice Workbook


Related Articles

<< Go Back To Create Hyperlink in Excel | Hyperlink in Excel | Linking in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Mursalin Ibne Salehin
Mursalin Ibne Salehin

Mursalin Ibne Salehin holds a BSc in Electrical and Electronics Engineering from Bangladesh University of Engineering and Technology. Over the past 2 years, he has actively contributed to the ExcelDemy project, where he authored over 150 articles. He has also led a team with content development works. Currently, he is working as a Reviewer in the ExcelDemy Project. He likes using and learning about Microsoft Office, especially Excel. He is interested in data analysis with Excel, machine learning,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo