Solved

Concatenate Full Email Address

Posted on 2013-12-17
3
292 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 250 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 earned 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
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…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

864 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now