How to delete all text except emails address's from excel for mac spreadsheet

Greetings,


Re Microsoft excel for mac version 16.14.1


I have a spreadsheet with loads of text and information that is not assigned to rows or columns – messy spreadsheet basically. i want to extract all the email addresses only ie. is there a formula/technique I can use to delete ALL the text in the entire spreadsheet and keep only the email addresses?


Ive been given a VBA script - firstly how do you check its not 'malicious' and secondly how do you enable/run this on the specific spreadsheet?


Plssssss help 🙂

MacBook Air, macOS High Sierra (10.13.5), Microsoft excel for mac version 16.

Posted on Jul 7, 2018 2:15 PM

Reply
5 replies

Jul 7, 2018 5:35 PM in response to Stuart423

Thats great thank you Stuart423!

Definitely helped clean it up and most email addresses now in 1 column so easy to extract.


However the volume of info/text is vast and many of the email addresses i want have been placed in other columns/rows in no specific order...


Could you possibly suggest a formula one could use to 'extract' these remaining emails?


Much appreciated!

Jul 7, 2018 5:59 PM in response to julianfrombenmore

There are probably formulas that could be helpful, but I prefer just grabbing and moving. Select all of the spreadsheet (click the triangle at the top left) so everything is highlighted. On the Data menu, choose Filter.


The Filter command will add a drop-down arrow at the top of each column. Dropping down that menu will list everything in the column...just uncheck everything that's not an e-mail address. You now have only the e-mail addresses showing. Select them and copy and then turn the filters off and paste the email addresses at the bottom of the correct column. (command-c to copy, or even better, command-x to cut)


Repeat the process for each column that contains e- mail addresses. At the point where they are all moved, you can just delete the other columns if you want to, and have just the addresses.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to delete all text except emails address's from excel for mac spreadsheet

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.