Formula to convert name fields into email addresses in 2007

Posted on 2011-03-17
Medium Priority
Last Modified: 2012-05-11
Hi Experts

How would you write a formula to convert peoples names from col A into email address with a fixed @bbb.com in col B (all names have a space between first and last name in col a)

Col A             Col B
P Keilah        P.keilah@bbb.com

Question by:route217
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 39

Expert Comment

by:Pratima Pharande
ID: 35155277
write formula in colb like

LVL 24

Accepted Solution

jimyX earned 500 total points
ID: 35155280
Use this in column B:
=SUBSTITUTE(A1," ",".")&"@bbb.com"
LVL 19

Assisted Solution

MINDSUPERB earned 500 total points
ID: 35155291
Use this formula:


Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 39

Assisted Solution

by:Pratima Pharande
Pratima Pharande earned 500 total points
ID: 35155355
try this

=CONCATENATE(REPLACE(A1;SEARCH(" ";A1);1;".");"@bbb.com")

Author Comment

ID: 35155669
many Thanks for the feedback...
LVL 19

Assisted Solution

by:Rikin Shah
Rikin Shah earned 500 total points
ID: 35155733
Try this..

=CONCATENATE(SUBSTITUTE(A1," ","."),"@bbb.com")

Expert Comment

ID: 35165052

I would advise going a step further and use the trim function to remove extraneous spaces in the names.

=SUBSTITUTE(TRIM(A1)," ",".") & "@bbb.com"

Depending on the source of the data it is quite possible you have some extra spaces in there somewhere.

Best regards


Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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…

777 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