Computer Learning Zone CLZ Access Excel Word Windows

We learn more by looking for the answer to a question and not finding it than we do from learning the answer itself.

-Lloyd Alexander
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Excel Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Removing non numeric characters from phone numbers
Andrew 

15 years ago
I have a list of about 65,000 phone numbers which have been entered into the database inconsistently. I would like to have a formula which pulls out only the numbers in the cell. Some examples of how the phone numbers are currently formatted:

(111)111-1111
(111) 111 1111

1111111111
111/111/1111

Etcetera.

Can you help? Thanks!

Andrew


Richard Pontificates:

Well, you'd need some VBA code and a custom filtering function to do this RIGHT, but if you only have to do it ONCE, you could use the SUBSTITUTE function and a couple of steps.

Let's say you have your numbers in Column A. You could set up a function in Column B like this:

=SUBSTITUTE(A1,"(","")

This will substitute all ( characters with a blank - effectively removing it. Now, do the same thing for column C to remove the right parentheses:

=SUBSTITUTE(B1,")","")

Keep going for the spaces, slashes, hyphens, dashes, and whatever else you need to remove, and eventually you'll be left with a column of clean numbers. Again it's not the PERFECT solution, but if this is a one-time cleaning job, it will get you by. When you're done, just copy and paste the VALUES from the last column into a fresh sheet, and voila... your clean list of numbers.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Excel Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/18/2026 2:38:23 AM. PLT: 1s