?
Solved

Concatenate Full Email Address

Posted on 2013-12-17
3
Medium Priority
?
335 Views
Last Modified: 2013-12-17
Hello Experts,

I want a formula to concatenate Name and Email fields to create a Full Email address.  The concatenate formula doesn't like starting with a quotation mark.  See e.g. below.

Name:            Gary Robbins
Email            garyrobbins@fuse.net
Full Email       [formula]      "Gary Robbins" <garyrobbins@fuse.net>

Gary
0
Comment
Question by:garyrobbins
3 Comments
 
LVL 19

Assisted Solution

by:jss1199
jss1199 earned 1000 total points
ID: 39725096
=CONCATENATE("",A2,""," <",B2,">")

Open in new window


Repeating the quotes escapes them, so """" reads as:
One quote to start a string, one escaped quote (""), then one quote to finish the string
0
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 1000 total points
ID: 39725104
Hello,

try

=""""&A1&""""&" <"&A2&">"

Count the double quotes. To actually present a double quote as the output of a formula, you need four of them in the formula.

Added complication here is the < sign. I decided to put it into its own block instead of adding it to the second block. Excel was trying to be "helpful" and see it as the "greater than" operator.

You don't need the Concatenate() function. Ever. Using & to concatenate text blocks is always less typing than Concatenate() and works just as well. But if you prefer the function try

=CONCATENATE("""",A1,""""," <",A2,">")

cheers, teylyn
0
 

Author Closing Comment

by:garyrobbins
ID: 39725129
Thank you for the prompt responses and for the added explanations.  You guys are terrific!

Gary
Cincinnati
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question