In this article:

Extract Name From Email Address in Google Sheets (2024 Update)

May 8, 2024

Click here to Send an Email From a Lido Spreadsheet

In this article we will show how to extract names from email addresses in google sheets in just a few simple steps. Simply follow the steps below:

Extract Name From Email Address in Google Sheets

1. Identify the Cell Containing the Email

For our example, we have two columns: Column A for the Name and Column B for the email.

The cells containing the emails in Column B start at B2. We then set Column C as the column for the names that we want to extract from the emails in Column B.

 extract name from email google sheets‍

2. Identify the Username Format in the Email Address

Email usernames (the part to the left of the @) do not have a standard syntax that is uniformly applied across different services.

However, certain hosts such as companies and schools often use standardized formatting across their organization.

For instance, they may use periods and underscores to separate first and last names. Some examples of this are:

firstname.lastname@company.com

firstname_lastname@company.com

These two combinations are included in the example below:

extract name from email in google sheets

3. Insert Formula to Extract The Name

The formula that we will use to extract the name from the emails is the following:

=PROPER(SUBSTITUTE(SUBSTITUTE(LEFT(cell, FIND("@", cell) - 1), ".", " "), "_", " "))

Where you replace cell with the reference to the cell containing the email address. In our example we will change “cell” to B2 in the formula.

=PROPER(SUBSTITUTE(SUBSTITUTE(LEFT(B2, FIND("@", B2) - 1), ".", " "), "_", " "))

extracting names from emails google sheets

4 Press Enter

You will now see the name extracted from the email address, properly formatted as well!

google sheets get a name from an email address

5. Apply the Formula to Entire Column

In order to extract the domain from all of the emails in the column there are two methods you can follow: 

Click on the cell and double-click the round blue dot to autofill the column with the formula.

formula to take name from email address in google sheets

Click on the cell and Click-drag the round blue dot in the lower-right corner of the cell.

Retrieve Name from Email in Google Spreadsheets

Either way, the results will be the same:

Google Sheets: Name Extraction from Email

Name extracted from email address

You have now successfully extracted a name from an email in Google Sheets!

FAQs

What if the last name comes first instead of the first name?

The last name appearing first before the first name in email addresses are less common, but the solution can be pretty straightforward: instead of a space, we insert a comma to denote that the last name comes first. The formula can be modified to:

=PROPER(SUBSTITUTE(SUBSTITUTE(LEFT(cell, FIND("@", cell) - 1), ".", ", "), "_", ", "))

Where you replace the cell with the reference to the cell containing the email address. The result is:

Name extracted from an email address in google sheets spreadsheet

What if the first name is just an initial?

Some email addresses are formatted to only have first name initials. If the first name initial is directly followed by the last name without a separator, the formula you can use is:

=PROPER(LEFT(cell,1) & ". " & REPLACE(LEFT(cell, FIND("@", cell) - 1),1,1,""))

Where you replace the cell with the reference to the cell containing the email address. You can see the result below:

If a separator such as a dot or an underscore is present, just modify the formula a little:

=PROPER(LEFT(cell,1) & ". " & REPLACE(LEFT(B7, FIND("@", cell) - 1),1,2,""))

Where you replace the cell with the reference to the cell containing the email address:

Get a Name from an Email Address in Google Sheets

If you enjoyed this article, you might also like some of the articles below:

Email .CSV Files to Google Sheets

Google Sheets Mail Merge

How to Send Google Sheets Email

Get Google Sheets productivity and automation tips delivered straight to your inbox
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
We'll email you 1-3 times a week — and never share your information.
Get your copy of our free Google Sheets automation guide!
  • 27 pages of Google Sheets tips and tricks to save time
  • Covers pivot tables and other advanced topics
  • 100% free

Work less, automate more!

Use Lido to connect your spreadsheets to email, Slack, calendars, and more to automate data transfers and eliminate manual copying and pasting. View all use cases ->