Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to extract phone number from multi-line strings in cells in excel

Example of cells below. As you can see some cells have more info like emails, and some don’t have a number but they’re all in the same column.

Cell 1

Smith, James W
#129432
123 N. Street Road
 Libertyville, IL, 60048
(810) 955-9721 
claudie.predov@hotmail.com

Cell 2

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Evette T Rudnick
#7928253
1308 Stutler Lane
Tidioute, PA, 16351

Cell 3

David C Ponce
#1234567
2855 Retreat Avenue
 Frenchboro, ME, 04635
(313) 204-6364

Any help is appreciated. Thank you.

>Solution :

Use MID and SEARCH:

=IFERROR(MID(A1,SEARCH("(???) ???-????",A1),14),"")

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading