EXCEL SOLUTIONS

Clean up names and emails pasted in

Remove extra spaces and fix capital letters in a messy contact list.

BeginnerAdministrationAbout 6 minutes

Sample data

RowAB
1Raw nameEmail
2 amira HASSAN [email protected]
3ben CARTER[email protected]
4CHEN wei[email protected]
5dina ali[email protected]
Contact list pasted from an email (fictional) Row 1 holds the headings. All data is fictional. Dates are year-month-day.

Download CSV

Steps

Each formula is already filled in and calculated. Edit it and press Run to try your own version. Nothing is saved or uploaded.

  1. See the problem: the first name has stray spaces. Count the characters.

    Result17

  2. TRIM removes the extra spaces.

    Resultamira HASSAN

  3. PROPER fixes the capital letters.

    ResultAmira Hassan

  4. Do the same for the second name.

    ResultBen Carter

  5. Tidy the email: trim and make lower case.

    Result[email protected]

  6. Pull the part before the @ out of the email.

    Resultben.carter

What to remember

Clean in a new column with formulas, then copy and paste as values over the old column. Never clean the only copy.

Formulas used

TRIMPROPERLOWERLENLEFTFIND

Tools that help

Need Something Different? Let’s Talk.

Looking for different features or something built around your workflow? Share your idea with us.