How to Create a Hyperlink to an Email Address in Google Sheets

Published on

There are two options to create a hyperlink to an email address in Google Sheets: using the HYPERLINK function or the Link command. Additionally, you can convert an email address into a People Chip.

You can make the email address clickable and open your email client to compose an email using either the HYPERLINK function or the Link command.

A People Chip is a feature that converts an email address into a chip displaying contact information, such as names and email addresses, in a visually distinct way within a cell.

While the Link menu command and the HYPERLINK function create clickable email addresses, People Chips require you to hover over the chip to view the contact information.

This is the simplest method to make an email address clickable.

Steps:

  1. Navigate to the cell where you want to create the clickable email address (e.g., cell A1).
  2. Go to the Insert menu and click on Link.
  3. In the first field labeled “Text”, enter the username (display text) or leave it blank.
  4. In the second field labeled “Paste a link, or search”, enter the email address you want to hyperlink.
  5. Click Apply.
Shortcut to Create a Hyperlink to an Email Address in Google Sheets

Pros & Cons of the Link Command:

  • Pros:
    • Easy to create clickable links.
  • Cons:
    • Can only create one hyperlink at a time.

To hyperlink to an email address using a formula in Google Sheets, use the following syntax:

=HYPERLINK("mailto:example_email@example.com","username")

Insert this formula into cell A1 or any empty cell. Replace example_email@example.com with the email address you want to hyperlink.

The “username” argument in the formula is the link label, which means the visible text in cell A1 will be “username”. Replace “username” with the actual username, such as “Prashanth”.

If you prefer the email address to appear as the link label instead of a name, use:

=HYPERLINK("mailto:example_email@example.com")

Pros & Cons:

  • Pros:
    • Allows you to create multiple clickable email addresses at once.
  • Cons:
    • Requires familiarity with functions in Google Sheets. For instance, the argument separator in the formula is a comma, but in some locales, it may be a semi-colon.

The HYPERLINK function works with the ARRAYFORMULA function, allowing you to convert a list of email addresses into clickable email addresses in one go.

Example:

HYPERLINK Function to Create Clickable Email Address List

Column A has usernames, and column B has corresponding email addresses. The range is A1:B.

Insert the following formula in cell C2:

=ARRAYFORMULA(
   IF(B2:B="", "",
      HYPERLINK("mailto:" & B2:B, IF(A2:A="", B2:B, A2:A))
   )
)

If you do not want the usernames as the link label, you can leave column A blank.

Formula Breakdown:

The formula follows the IF function syntax IF(logical_expression, value_if_true, value_if_false):

  • logical_expression: B2:B="" – checks whether the email addresses are blank.
  • value_if_true: "" – returns an empty string if the logical expression evaluates to TRUE.
  • value_if_false: HYPERLINK("mailto:" & B2:B, IF(A2:A="", B2:B, A2:A))

Breaking down the HYPERLINK formula:

The formula follows the HYPERLINK function syntax HYPERLINK(url, [link_label]):

  • url: "mailto:" & B2:B – creates a “mailto” link for each email address in column B.
  • link_label: IF(A2:A="", B2:B, A2:A) – if the username is blank, use the email address as the link label; otherwise, use the username.

People Chips

To create a People Chip, navigate to the cell containing the email address and click Insert > Smart Chips > Convert to People Chip. This will only work with valid email addresses, meaning email addresses in your Google Contacts.

You can read more about this in the resources below.

Resources

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Calculate Weighted Average in Pivot Table in Google Sheets

You can calculate a weighted average in a Pivot Table using a custom formula...

Summarize Data and Keep the Last Record in Google Sheets

In Google Sheets, we can summarize data (like sum, average, min, max, count) using...

How to Retrieve the Last Record in Each Group in Excel

As part of data analysis, you may need to retrieve the last record from...

Filter Data with Multi-Select Drop-Downs in Google Sheets

If you've started using multi-select drop-downs in Google Sheets, you may encounter challenges when...

More like this

Calculate Weighted Average in Pivot Table in Google Sheets

You can calculate a weighted average in a Pivot Table using a custom formula...

Summarize Data and Keep the Last Record in Google Sheets

In Google Sheets, we can summarize data (like sum, average, min, max, count) using...

Filter Data with Multi-Select Drop-Downs in Google Sheets

If you've started using multi-select drop-downs in Google Sheets, you may encounter challenges when...

4 COMMENTS

  1. Hi Prashanth,

    I copied the array formula and got the message ‘invalid link,’ so I put the text in column B and the email address in column A, and it worked.

    • Hi, Herminia Mathieu,

      Thank you for pointing out the error.

      I have modified the formula within the post above from this-

      =ArrayFormula(if(A1:A="",,HYPERLINK("mailto:"&A1:A,B1:B)))

      -to this.

      =ArrayFormula(if(A1:A="",,HYPERLINK("mailto:"&B1:B,A1:A)))

  2. Prashanth-

    I am racking my brain trying to figure out how to extract the email address from the hyperlinks in this spreadsheet. I have tried all sorts of scripts and REGEX formulas to no avail. Do you have any recommendations? Thank you for any advice you can offer. Kindly, Karen

    Test Sheet: – link removed by admin –

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.