How do I remove partial data from a cell in Excel?

Anonymous
2023-10-12T14:44:02+00:00

I have a spreadsheet with full email addresses in one column. The list is 800 email addresses long. I only need the beginning of the email address and need to remove the "@company.com". I know there must be a simple way of doing this. Thank you for your help.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2023-10-12T14:49:24+00:00

    Fill in what you want in the column next to the top two entries, and then select the next cell and use

    Data / Flash fill

    Excel will process all the entries based on the logic it derives from your examples.

    5 people found this answer helpful.
    0 comments No comments
  2. Ashish Mathur 100.9K Reputation points Volunteer Moderator
    2023-10-12T23:18:20+00:00

    Hi,

    You may also use the =TEXTBEFORE(A2,"@") formula.

    Hope this helps.

    8 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-10-13T14:56:47+00:00

    OR -

    You could also use Data / Text to columns Delimited Next Choose @ as the delimiter, and then in the next step, select the second column and choose "Do not import column (skip)" then finish up.

    1 person found this answer helpful.
    0 comments No comments