Concatenation question

G

Guest

I have four feilds, First, Middle, Last and Email. I want to use a
concatenation function in Email to combine First middle and last and
automatically add the @aol.com. My formula is as follows:
=CONCATENATE(A2,".",B2,".",C2,"@anywhere.com")

The problem is when the user does not have a middle initial, my company
merely skips it. How do I prevent the double ".." when the middle inital is
not present?

In my example below, John's email address is perfect. However, Mary's has
the double dot (..) between her first and last.

FirstName MI LastName EmailAddress
John B Doe (e-mail address removed)
Mary Smith (e-mail address removed)

Any help is greatly appreciated.

Thanks,

Cindi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top