Solved

Formula to convert name fields into email addresses in 2007

Posted on 2011-03-17
7
288 Views
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

thanks
0
Comment
Question by:route217
[X]
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
7 Comments
 
LVL 39

Expert Comment

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

=CONCATENATE(A1;"@bbb.com")
0
 
LVL 24

Accepted Solution

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

Assisted Solution

by:MINDSUPERB
MINDSUPERB earned 125 total points
ID: 35155291
Use this formula:

=LEFT(A1,1)&"."&RIGHT(A1,LEN(A1)-2)&"@bbb.com"

Sincerely,
Ed
0
Technology Partners: 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 125 total points
ID: 35155355
try this

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

Author Comment

by:route217
ID: 35155669
many Thanks for the feedback...
0
 
LVL 19

Assisted Solution

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

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

Expert Comment

by:rowanscott
ID: 35165052
Hi

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

Rowan
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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,…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

740 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