Excel Hyperlink question

sterjohn

New Member
Joined
Jan 17, 2016
Messages
28
I wonder if someone could please help?
I have a column of email addresses in plain text in excel 2016 that I need to convert to clickable email links?
Is there a way that I can change all the email addresses to link at the same time?
Any help would be appreciated.
Kind regards,
John.S
Australia
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi John


A
B
C
D
E
2
DataDataDataFormula
3
Email Address
Subject
Body
Hyperlink
4
general@afl.com.auGo Eagles2018 Premiersgeneral@afl.com.au
5
abcengagement@abc.net.auGo Glory2019 Champ'sabcengagement@abc.net.au
6
edletters@afr.com.auWho doesn't like Collingwood?No-oneedletters@afr.com.au

<tbody>
</tbody>
Sheet: .

<tbody>
</tbody>


Formula in E4 = HYPERLINK( "mailto:" & B4 & "?subject=" & C4 & "&body=" & D4, B4)
Note: No spaces between "&body="
Easy-peasy! (y)
 
Upvote 0
Thanks verymuch for your advice on this Col.
I am wondering if I use this method, whenever I enter a new cell, will the newcell automatically include the formula?

I tried using avba code, (copy and pasted it as I’m an absolute novice with this), it worksfor the existing sheet but when I add a new
email address, ina new cell, it doesn’t copy the code into the new cell..
Just not surewhat to do here!
Any help wouldbe greatly appreciated..
Thanks again,
John.S
Ballarat, Vic

 
Upvote 0
Hi John
I am wondering if I use this method, whenever I enter a new cell, will the new cell automatically include the formula?


It won't if your range is just an "ordinary" group of cells in the spreadsheet. However, if you convert that range to an Excel Table (select a cell inside the range & press Ctrl+T, then ensure your field headings are the 1st row of the table), the formula cells should automatically replicate in the new rows (just enter new data in the first blank row under your existing table, and hey presto the formula should be replicated).
 
Upvote 0
Hi Col,
just wanted to say thanks for your help with my Excel problem, you're advice was great and really appreciated..
All the best,
John.S
 
Upvote 0
Hi Col,
sorry to bother but I seem to have hit another snag here..
When I try to copy all the new email links that have been created in the table into the we have been speaking about into the BCC field, I get a message from the mail program
saying that the “format of the email address isn’t correct”..
I’m assuming that because all the addresses have the “mailto” prefix?
Would you know how I can get around this?
Thanks again Col,
Kind regards,
John.S
 
Upvote 0
Interesting - as I don't get that problem when I copy the values from column E (Hyperlink) and paste into an email.

Is the "mailto" displaying in the cell of your Hyperlink field (as opposed to just being in the formula)? If so, it shouldn't be, for the hyperlink formula I included in my post #2 =Hyperlink( link_location, [friendly name] ) has that prefix only in the first argument, as below.

= HYPERLINK( "mailto:" & B4 & "?subject=" & C4 & "&body=" & D4, B4 )
You need the second argument with a simple direct link (e.g. =B4 ) to the Email Address field of your data table (as you can see that value gets used in both arguments)

This function is a little unusual, in that it returns two values but only displays one. The link_location argument doesn't display but is used to populate an email when you click on the cell to send an email directly from Excel (as you will notice that this argument also populates the Subject and mail Body fields of the email), whereas the [friendly name] argument returns the displayed value which is what you get when you copy the cell and paste it elsewhere (like a formula is when you use Copy + Paste Special Values)

I hope that clears your snag.:biggrin:
 
Upvote 0
I'm sorry formy ignorance on this Col, I'm definitely not an expert by any stretch!
Basically, what I have, is two columns (A and B) plain text email addresses inColumn A and just need the links to be in column B.
For example, first email in Col A, Cell 3 is: a.david@dse.vic.edu.au
Can you suggest a formula to make this into a link in Col B, Cell 3 without"mailto" prefix?
I will then just copy the formula down.
Hope this isn't asking too much!!
Kind regards,
John.S


 
Upvote 0
can you suggest a formula to make this into a link in col b, cell 3 without "mailto" prefix?


You should be able to use the formula I provided, and then when you want to send an email (which I now presume you're sending the same bulk email to multiple recipients in one go) just select the range of email addresses displayed in the Hyperlink formula column, copy, and paste into the address field of your email program.

If you're not interested in including the subject or email text in your spreadsheet, then just modify the formula to:
= HYPERLINK(
"mailto:" & A3 , A3 )
which will still allow you to copy & paste multiple addresses as above, but also to click an individual cell in the Hyperlink formula to open a new e
mail with the address field of your email program populated with that email address.

The minimalist approach is:
B3 = hyperlink(
A3, A3 )
 
Upvote 0

Forum statistics

Threads
1,215,650
Messages
6,126,021
Members
449,281
Latest member
redwine77

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
Back
Top