• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Removing Unwanted Characters

rsomist

Member
I have a column with over 1200 rows of email address in this format:

Smith, Ross <ross.smith@abcd.com>

In each of the 1200+ rows, I am needing to remove everything but what is inside of the brackets, so I would want that cell to say:

ross.smith@abcd.com

What is the best way to remove the Smith,Ross and the <> in all cells without manually doing it?

Thank You.
 
Just for spreading the word on possibilities with Power Query (different approaches possible, but here is just one when data is loaded in PQ):
  1. it would look like this
    upload_2018-1-25_8-34-33.png
  2. the click on Split column by delimiter and confirm
    upload_2018-1-25_8-36-27.png
    Data will look like this
    upload_2018-1-25_8-37-11.png
  3. Click Transform -> Replace Values
    upload_2018-1-25_8-38-0.png
    Data looks like this
    upload_2018-1-25_8-38-48.png
  4. Give the headers a proper name and load to excel
 
Continued:
Data will finally look like this
upload_2018-1-25_8-40-39.png

And if you add data to the original data, the query can be refreshed and the same transformation steps are applied.
 

Attachments

  • Split via PQ.xlsx
    16.8 KB · Views: 2
Back
Top