Resources

How to send emails from Excel

When you hear the word 'email', many of you will gravitate towards Outlook as your go-to tool (other email clients are available).

However, have you ever thought about organising, structuring, and sending emails from Excel?

Admittedly, with a little help from Outlook, it's possible and can certainly save you time in the office.

Let's dive into how you can construct your very own customisable template so you can tailor the email you send to a set of people.

Example

A list of employee names alongside their respective email addresses are present in A2:B5.

These two fields are variables, as they change for each person. However, there are several other components that must be considered.

The text for the subject and body, as well as the CC email address are fixed values, as they apply across the board. These are placed at the side ready to be referenced.

Back in the original data, we need to add a column with a 'Send Email' link adjacent to each name and email address.

To do this, let's use the HYPERLINK function and string each part of the email together with the help of parameters, which indicate what part belongs to what. 

They are:

mailto:
The recipient email address

?subject=
The email subject text

&body=
The email body text

&cc=
The CC recipient email address 

In the link_location argument, each parameter must be specified between quotation marks, while the ampersand (&) concatenates it with the corresponding range or cell reference.

For example, "mailto:"&B2:B5 references the email addresses in B2:B5.

"?subject="&E2 points to the subject text in E2.

After including the rest of the parameters and a couple of additional strings, the email structure is now complete.

In the second argument, [friendly_name], putting "Send Email" ensures the clickable links appear with this text.

The final formula in C2 is:

=HYPERLINK(
"mailto:"&B2:B5
&
"?subject="&E2
&
"&body="&"Hi"
&
A2:A5&","
&
E4
&
"&cc="
&
E11,
"Send Email"
)

These are the references that specify where the values are stored:

  • B2:B5 — Email
  • E2 — Subject
  • A2:A5 — Name
  • E4 — Body
  • E11 — CC

To ensure all the links are identifiable, use Format Painter to copy the formatting from the first to the rest.

After clicking the first 'Send Email' link, Outlook opens with the email prepared, except there are no line breaks in the body text, despite including them in E4.

This is because they're not recognised in the cell. However, there is a way to combat this problem. 

The solution is to include %0A twice consecutively on every other line to create separation between the parts. This special code represents a line break.

When 'Send Email' is tried again, the issue is resolved. The emails can now be sent!

Conclusion

Who would have thought Excel could be so useful for sending emails? I didn't, but I should have known better.

As clever as it is, of course there are limitations to the method I showed you, such as how long your emails can be, the inability to send multiple emails at once, and the lack of support for attachments.

These are possible to overcome with the use of VBA, but that's for another time.

For simple requirements, it does everything you need and is much better than going through the tedious task of typing each email out individually.

So go on — give it a go and let us know how you get on!

Watch the video

For more Excel tips and tricks like this, check out our Video Tutorials page.

Andrew Moss
About the Author

Andrew Moss

Andrew is a technical writer who specialises in Microsoft Excel and data analysis. He has published hundreds of articles and social media posts aimed at helping people enhance their skills and spreading good practices.

Conversation

0 Comments

As you comment, let's keep the discussion friendly and respectful to add value to the conversation.

Thank you! Your comment has been sent!
Oops! Something went wrong while submitting the form.
Commenter profile pic.
Author Name
Comment Time

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere. uis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Reply
Delete
Commenter profile pic.
Author Name
Comment Time

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere. uis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Reply
Delete

Get Tickets

Benefit from an award-winning 3-day conference plus access to exclusive networking and additional Masterclass events.

Get Tickets
Close Cookie Popup
Cookie Preferences
By clicking “Accept All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts as outlined in our privacy policy.
Strictly Necessary (Always Active)
Cookies required to enable basic website functionality.
Cookies helping us understand how this website performs, how visitors interact with the site, and whether there may be technical issues.
Cookies used to deliver advertising that is more relevant to you and your interests.
Cookies allowing the website to remember choices you make (such as your user name, language, or the region you are in).