Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 337
  • Last Modified:

Concatenate Full Email Address

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
garyrobbins
Asked:
garyrobbins
2 Solutions
 
jss1199Commented:
=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
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
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
 
garyrobbinsAuthor Commented:
Thank you for the prompt responses and for the added explanations.  You guys are terrific!

Gary
Cincinnati
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now