Read the last part of an email domain

Turn ava@dept.example.org into org. It doesn't tell you a country.

What you'll make

In Excel: ava@dept.example.org becomes org.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The email address."ava@dept.example.org"
2TEXTAFTER( … ,"@")Keeps the text after the @ sign."dept.example.org"
3TEXTAFTER( … ,".",-1)Keeps the text after the last dot."org"

Each bracket wraps the one above it, so Excel works from the inside out.

=TEXTAFTER(TEXTAFTER(A8,"@"),".",-1)

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own list. Paste email addresses into the green column of the Template tab. The last parts fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

This is only the text after the last dot. It doesn't tell you the country or the organization.

Microsoft's help: TEXTAFTER function