Skip to content
xlsoffice. All Rights Reserved
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Lookup and Reference Examples

  • Get nth match with INDEX / MATCH in Excel
  • Count rows that contain specific values in Excel
  • Last row number in range
  • How to get address of named range in Excel
  • Vlookup Examples in Excel

Data Analysis Examples

  • Conditional Formatting New Rule with Formulas in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How to conditionally sum numeric data in an Excel table using SUMIFS
  • How to Create One and Two Variable Data Tables in Excel
  • How To Create Pareto Chart in Excel

Data Validation Examples

  • Excel Data validation unique values only
  • Excel Data validation don’t exceed total
  • Excel Data validation must not contain
  • Excel Data validation with conditional list
  • Excel Data validation date in specific year

How to extract domain from email address in Excel

by

Atimes a user may want to extract the domain from an email address, the RIGHT, LEN, and FIND functions can be used to achieve that. In the formula below, email represents the email address you are working with.

Formula

=RIGHT(email,LEN(email)-FIND("@",email))

Explanation

In the example, we are using this formula:

Worked Example:   How to remove trailing slash from url in Excel
=RIGHT(C4,LEN(C4)-FIND("@",C4))

Here’s how the formula works

C4 contains the email address “achang@maaker.com”.

At the core, this formula is extracting characters starting from the right, and using the FIND and LEN functions to figure out how many characters to extract.

Worked Example:   How to create email address from name in Excel

LEN computes the length of the entire email address, which 17 characters.

FIND locates the “@” character inside the email address “achang@maaker.com”. The “@” character is the 7th character, so FIND returns 7. The number 7 is then subtracted from the 17, which is 10. The number 10 is used as the second argument for the RIGHT function, which extracts 10 characters from the email address, starting from the right. The result is the domain, “maaker.com”

Worked Example:   How to extract name from email address in Excel

Altogether, this formula works something like this

=RIGHT(C4,LEN(C4)-FIND("@",C4))
=RIGHT(C4,17-7)
=RIGHT("achang@maaker.com",10)
="maaker.com"

Post navigation

Previous Post:

How to create email address with name and domain in Excel

Next Post:

How to extract name from email address in Excel

Leave a Reply Cancel reply

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

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others
  • How to get first word in Excel
  • Clean and reformat telephone numbers using SUBSTITUTE function in Excel
  • TRIM function: Description, Usage, Syntax, Examples and Explanation
  • EXACT function: Description, Usage, Syntax, Examples and Explanation
  • How to create email address from name in Excel
  • Get fiscal quarter from date in Excel
  • How to calculate nth day of week in month in Excel
  • Get work hours between dates and times in Excel
  • How to calculate next anniversary date or birthday in Excel
  • Add workdays no weekends in Excel
  • ACCRINT function: Description, Usage, Syntax, Examples and Explanation
  • RRI function: Description, Usage, Syntax, Examples and Explanation
  • Calculate periods for annuity in Excel
  • Calculate cumulative loan principal payments in Excel
  • NPV function: Description, Usage, Syntax, Examples and Explanation
Acronyms, Abbreviations, Initialism & What They Stand For
© 2021 xlsoffice. All Rights Reserved | Teal Smiles