Excel Tutorial
Excel tutorials, quizzes & AI guides — all levels
RSS
  • Online Excel Exercises
  • Training
  • Excel Tests
  • Sitemap
  • Premium Quizzes
  • Shop
  • My account

Build Email Addresses from First and Last Name in Excel

Text functions
Reading time: 2 minutes
Views: 27

You have a staff list: last names in column A, first names in column B. You need 400 addresses in the form firstname.lastname@company.com. One formula does the lot.

The formula

=LOWER(B2&”.”&A2&”@company.com”)

Result: ruby.marquez@company.com. Copy it down the column and the whole list is built.

Read it from the inside out: the cells are joined with the & operator, then LOWER wraps the whole expression and forces everything to lowercase in one go. No need to apply it to each piece.

Email addresses built with LOWER from the last name and first name columns

Only the first letter of the first name

Many companies use a shorter form: the first initial, then the last name. Keep only the first character of the first name with LEFT:

=LOWER(LEFT(B2,1)&”.”&A2&”@company.com”)

Result: r.marquez@company.com. LEFT(B2,1) returns the first letter of the first name, and the rest of the formula remains unchanged.

Email addresses built with the first letter of the first name and the full last name

Without a formula: Flash Fill

Excel can also build the addresses for you, with no formula at all:

  1. Type the first two addresses by hand in C2 and C3: ruby.marquez@company.com and hudson.howard@company.com. Two examples help Excel understand the pattern.
  2. Select the cells to fill, here C2:C10.
  3. Go to Home > Fill > Flash Fill (or press Ctrl + E).
Flash Fill from the Home tab, Fill menu, after typing the first two email addresses

Excel follows the pattern of your examples and fills the rest of the column. It also works for the short form: type r.marquez@company.com and Flash Fill uses the initial.

⚠️ The difference with the formula: Flash Fill writes values, not formulas. If a name changes, or if you add a new person, nothing updates: you have to run Flash Fill again.⚠️ Use it for a one-off list, and the formula for a list that changes. More examples in Extract text with AI in Excel with FlashFill.

The two things that will break it

Invisible spaces

A list exported from another system almost always carries trailing spaces. If the cell contains “Ruby “ with a space at the end, you get ruby .marquez@company.com: an address that will bounce, and that looks perfectly normal on screen. Wrap each cell in TRIM:

=LOWER(TRIM(B2)&”.”&TRIM(A2)&”@company.com”)

Accents and special characters

LOWER handles capital letters, but it does not touch accents. Many names keep them, for example Vietnamese names: Thảo Trần gives thảo.trần@company.com, which most mail systems refuse.

SUBSTITUTE replaces one character at a time:

=SUBSTITUTE(SUBSTITUTE(A2,”ầ”,”a”),”ả”,”a”)

⚠️ One SUBSTITUTE per character quickly makes a very long formula. Above three or four special characters, clean the names in a helper column first, then build the address from it: the formula stays readable, and you can check what it changed.

Compound names need the same care: De La Cruz contains spaces, and Mary-Jane a hyphen. Decide on a rule (remove them, or keep the hyphen) and apply it with SUBSTITUTE.

And the duplicates

Two people called John Smith give the same address. Before sending anything, run the generated column through a duplicate check. It takes ten seconds, and it is the one mistake nobody catches by reading.

Now practise

Joining a first name and a last name is the base of every email address. Try it in a real spreadsheet, free and corrected as you type: six steps, with the & operator, then CONCAT, then TEXTJOIN.

CONCAT Exercise - Join last name, first name and city (and build an email)

Combine last name and first name into one cell using &, CONCAT and TEXTJOIN, with UPPER/LOWER for formatting — 6 guided steps.

=cell & " " & cell

1 / 6

Join first name + space + last name

Text — Q1 · 151

=B2&" "&A2

=CONCAT( … , " " , … )

2 / 6

Same thing with CONCAT

Text — Q2 · 152

=CONCAT(B2," ",A2)

=UPPER(…) & " " & …

3 / 6

Format "LAST NAME First name" (last name in uppercase)

Text — Q3 · 153

=UPPER(A2)&" "&B2

="Hello Mr. " & cell

4 / 6

Greeting line: "Hello Mr. Dupont"

Text — Q4 · 154

="Hello Mr. "&A2

=TEXTJOIN( delimiter , ignore_empty , … )

5 / 6

Join Last name, First name and City with TEXTJOIN

Text — Q5 · 155

=TEXTJOIN(", ",TRUE,A2,B2,C2)

=LOWER( … & "." & … & "@company.com" )

6 / 6

Build an email: firstname.lastname@company.com

Text — Q6 · 156

=LOWER(B2&"."&A2&"@company.com")

Your score is

0%

Related Articles

  • CONCAT vs TEXTJOIN in Excel: Which One Should You Use?
  • Functions LEFT – RIGHT – MID
  • Extract text with AI in Excel with FlashFill
  • The TRIM function of Excel
  • Find duplicate values in Excel by formula?

Frédéric LE GUEN

Flashfill, Text functions, TRIM

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed Posts

  • Displaying Negative Numbers in Parentheses in Excel (310,065)
  • Top 10 Excel Functions You Must Know (232,001)
  • How to make automatic calendar in Excel (212,775)
  • Dash for a zero in Excel automatically (190,812)
  • Converting a Date from YYYYMMDD to DD/MM/YYYY in Excel (171,033)
image excel exercises
Excel Exercises
image excel quizzes
Excel Quizzes

Build Email Addresses from First and Last Name in Excel

Reading time: 2 minutes
Views: 27

You have a staff list: last names in column A, first names in column B. You need 400 addresses in the form firstname.lastname@company.com. One formula does the lot.

The formula

=LOWER(B2&”.”&A2&”@company.com”)

Result: ruby.marquez@company.com. Copy it down the column and the whole list is built.

Read it from the inside out: the cells are joined with the & operator, then LOWER wraps the whole expression and forces everything to lowercase in one go. No need to apply it to each piece.

Email addresses built with LOWER from the last name and first name columns

Only the first letter of the first name

Many companies use a shorter form: the first initial, then the last name. Keep only the first character of the first name with LEFT:

=LOWER(LEFT(B2,1)&”.”&A2&”@company.com”)

Result: r.marquez@company.com. LEFT(B2,1) returns the first letter of the first name, and the rest of the formula remains unchanged.

Email addresses built with the first letter of the first name and the full last name

Without a formula: Flash Fill

Excel can also build the addresses for you, with no formula at all:

  1. Type the first two addresses by hand in C2 and C3: ruby.marquez@company.com and hudson.howard@company.com. Two examples help Excel understand the pattern.
  2. Select the cells to fill, here C2:C10.
  3. Go to Home > Fill > Flash Fill (or press Ctrl + E).
Flash Fill from the Home tab, Fill menu, after typing the first two email addresses

Excel follows the pattern of your examples and fills the rest of the column. It also works for the short form: type r.marquez@company.com and Flash Fill uses the initial.

⚠️ The difference with the formula: Flash Fill writes values, not formulas. If a name changes, or if you add a new person, nothing updates: you have to run Flash Fill again.⚠️ Use it for a one-off list, and the formula for a list that changes. More examples in Extract text with AI in Excel with FlashFill.

The two things that will break it

Invisible spaces

A list exported from another system almost always carries trailing spaces. If the cell contains “Ruby “ with a space at the end, you get ruby .marquez@company.com: an address that will bounce, and that looks perfectly normal on screen. Wrap each cell in TRIM:

=LOWER(TRIM(B2)&”.”&TRIM(A2)&”@company.com”)

Accents and special characters

LOWER handles capital letters, but it does not touch accents. Many names keep them, for example Vietnamese names: Thảo Trần gives thảo.trần@company.com, which most mail systems refuse.

SUBSTITUTE replaces one character at a time:

=SUBSTITUTE(SUBSTITUTE(A2,”ầ”,”a”),”ả”,”a”)

⚠️ One SUBSTITUTE per character quickly makes a very long formula. Above three or four special characters, clean the names in a helper column first, then build the address from it: the formula stays readable, and you can check what it changed.

Compound names need the same care: De La Cruz contains spaces, and Mary-Jane a hyphen. Decide on a rule (remove them, or keep the hyphen) and apply it with SUBSTITUTE.

And the duplicates

Two people called John Smith give the same address. Before sending anything, run the generated column through a duplicate check. It takes ten seconds, and it is the one mistake nobody catches by reading.

Now practise

Joining a first name and a last name is the base of every email address. Try it in a real spreadsheet, free and corrected as you type: six steps, with the & operator, then CONCAT, then TEXTJOIN.

CONCAT Exercise - Join last name, first name and city (and build an email)

Combine last name and first name into one cell using &, CONCAT and TEXTJOIN, with UPPER/LOWER for formatting — 6 guided steps.

=cell & " " & cell

1 / 6

Join first name + space + last name

Text — Q1 · 151

=B2&" "&A2

=CONCAT( … , " " , … )

2 / 6

Same thing with CONCAT

Text — Q2 · 152

=CONCAT(B2," ",A2)

=UPPER(…) & " " & …

3 / 6

Format "LAST NAME First name" (last name in uppercase)

Text — Q3 · 153

=UPPER(A2)&" "&B2

="Hello Mr. " & cell

4 / 6

Greeting line: "Hello Mr. Dupont"

Text — Q4 · 154

="Hello Mr. "&A2

=TEXTJOIN( delimiter , ignore_empty , … )

5 / 6

Join Last name, First name and City with TEXTJOIN

Text — Q5 · 155

=TEXTJOIN(", ",TRUE,A2,B2,C2)

=LOWER( … & "." & … & "@company.com" )

6 / 6

Build an email: firstname.lastname@company.com

Text — Q6 · 156

=LOWER(B2&"."&A2&"@company.com")

Your score is

0%

Related Articles

  • CONCAT vs TEXTJOIN in Excel: Which One Should You Use?
  • Functions LEFT – RIGHT – MID
  • Extract text with AI in Excel with FlashFill
  • The TRIM function of Excel
  • Find duplicate values in Excel by formula?
Tags: FlashfillText functionsTRIM

Frédéric LE GUEN

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net