Module 8 · Text · Split the emails

Dana Novak manages the office at Copperleaf Dental

Copperleaf Dental now sends reminders by email. Some patients never get them. Dana wants to check the email addresses. She splits each address into the user name and the domain.

Loading the spreadsheet…

Module 8 · Text

Split the emails

Dana Novak, manages the office at Copperleaf Dental
Dana Novak manages the office at Copperleaf Dental

Copperleaf Dental now sends reminders by email. Some patients never get them. Dana wants to check the email addresses. She splits each address into the user name and the domain.

Steps

  1. Take the text before a character

    TEXTBEFORE gives back the text before a character. You do not need to count positions.

    How to do it

    1. Select the cell for the result.
    2. Type =TEXTBEFORE( and the cell with the text. Type a comma.
    3. Type the character in quotes and a closing bracket.
    4. Press Enter.

    =TEXTBEFORE(B5,"@")

    Task: Get the second user name. Put it in cell C6.

  2. Take the text after a character

    TEXTAFTER gives back the text after a character.

    How to do it

    1. Click cell D5.
    2. Type =TEXTAFTER(B5,"@")
    3. Press Enter.
    4. Both functions find the first @ in the text. Copy the formula down with Ctrl+D.

    =TEXTAFTER(B5,"@")

    Task: Get the domains of all addresses. Fill in D6:D12. Then look for a domain with a typing error.