+ Reply to Thread
Results 1 to 5 of 5

Formula to combine cells to build email address

  1. #1
    Registered User
    Join Date
    12-04-2003
    Posts
    2

    Formula to combine cells to build email address

    Hello everyone. I've got an interesting question for you.

    I have a worksheet with three columns. First Name, Last Name and email address. I need to combine the first name with the last name and add our @ourcompany.com to the end of it for the emaill address.

    I've figured out how to do that, but my problem is, we don't use our first and last names in the email address. We use first initial and last name.

    I know how to make Tom Jones become [email protected]

    What I need to know is how to make Tom Jones become [email protected].

    Can someone point me in the right direction here? I just need the first initial of the first name and combine that with the last name and then add in the @ourcompany.com.

    Thanks for the help. I appreciate it.

    John
    Last edited by VBA Noob; 10-17-2008 at 04:01 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    =LEFT(A1,1)&B1&C1
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Formula to combine cells to build email address

    With
    A1: (a first name....eg Tom)
    B1: (a last name....eg Jones)

    This formula creates an email address using the first initial and last name
    Please Login or Register  to view this content.
    In that example, C1 returns: [email protected]

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    12-04-2003
    Posts
    2
    Your suggestions did work and I've got the list completed. Thank you both very much.

    John

  5. #5
    Registered User
    Join Date
    12-09-2014
    Location
    Washington, DC
    MS-Off Ver
    8
    Posts
    1

    Re: Formula to combine cells to build email address

    This formula works...and you have made my day!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Enter simple changing formula in many but not all cells
    By Burley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2008, 02:14 PM
  2. build formula using 2 cells, evaluate that formula in 3rd cell?
    By ryan1234 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2007, 07:29 PM
  3. cells formula
    By associates in forum Excel General
    Replies: 1
    Last Post: 08-22-2007, 08:29 PM
  4. Adding a second email address
    By chris_mayer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2007, 09:03 AM
  5. Capture Email Name Or Address
    By JoJo in forum Excel General
    Replies: 2
    Last Post: 03-20-2007, 02:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1