Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to calculate current stock or inventory in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • How To Insert and Customize Sparklines in Excel
  • How to Create Gantt Chart in Excel
  • How to Create Thermometer Chart in Excel

References

  • How to use Excel TRANSPOSE Function
  • Extract all partial matches in Excel
  • Multi-criteria lookup and transpose in Excel
  • Create hyperlink with VLOOKUP in Excel
  • How to get first column number in range in Excel

Data Validations

  • Excel Data validation with conditional list
  • Excel Data validation number multiple 100
  • Excel Data validation date in specific year
  • How To Create Drop-down List in Excel
  • Excel Data validation allow weekday only

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:

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

Here’s how the formula works

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

Worked Example:   How to get top level domain (TLD) in Excel

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 extract name from email address 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 get page from URL 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 count line breaks in cell in Excel worksheet

Next Post:

How to count total words in a cell 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

Logical Functions

  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Nested IF function example in Excel
  • How to use Excel TRUE Function
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • NOT function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to calculate nth day of week in month in Excel
  • Extract time from a date and time in Excel
  • Get first day of month in Excel
  • Convert date string to date time in Excel
  • Get fiscal quarter from date in Excel

Grouping

  • Group numbers with VLOOKUP in Excel
  • Group times into 3 hour buckets in Excel
  • Group times into unequal buckets in Excel
  • Calculate conditional mode with criteria in Excel
  • If cell contains one of many things in Excel

General

  • How to count total columns in range in Excel
  • How to get original price from percentage discount in Excel
  • Count cells that do not contain many strings in Excel
  • Mark Workbook as Final in Excel
  • Check if multiple cells have same value in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning