Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / May 2008

Tip: Looking for answers? Try searching our database.

How do I remove non-numerical charaters from a string?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 23 May 2008 16:02 GMT
I have data formatted like 038-1439-00 and I would like to remove the dashes
so that the cell reads 038143900. Is there a formula in Excel that can strip
out the dashes?
Gary''s Student - 23 May 2008 16:21 GMT
=SUBSTITUTE(A1,"-","")
Signature

Gary''s Student - gsnu200787

Steve - 23 May 2008 16:30 GMT
Perfect - THANKS!

> =SUBSTITUTE(A1,"-","")
Rick Rothstein (MVP - VB) - 23 May 2008 16:22 GMT
I may be missing something in your question, but if you have the cells
"formatted" to show numbers with dashes, then just change the cell's format
to not show them.

Rick

>I have data formatted like 038-1439-00 and I would like to remove the
>dashes
> so that the cell reads 038143900. Is there a formula in Excel that can
> strip
> out the dashes?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.