ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Replace dashes (https://www.excelbanter.com/excel-discussion-misc-queries/127482-replace-dashes.html)

Wanna Learn

Replace dashes
 
Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks

Bernard Liengme

Replace dashes
 
Use =SUBSTITUTE(A1,"-","")

The last argument is a pair of double quotes with no space between
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Wanna Learn" wrote in message
...
Hello
I have a column of numbers example 12-2222-02 . I need to delete the
dashes.
the number should read 12222202 What is the fastest way to do this
thanks




Dave F

Replace dashes
 
=SUBSTITUTE(A1,"-","")

Dave
--
Brevity is the soul of wit.


"Wanna Learn" wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks


Wanna Learn

Replace dashes
 
Thank soooo much.

"Dave F" wrote:

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

Dave
--
Brevity is the soul of wit.


"Wanna Learn" wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks


Dave Peterson

Replace dashes
 
Select your range to fix
Edit|replace
what: - (dash)
with: (leave blank)
replace all

And maybe applying a custom format after is another way.

Wanna Learn wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks


--

Dave Peterson

Wanna Learn

Replace dashes
 
Dave Thank you. Also I want to thank you for the click sort module in
Contextures you directed me to the other day. Thank you

"Dave Peterson" wrote:

Select your range to fix
Edit|replace
what: - (dash)
with: (leave blank)
replace all

And maybe applying a custom format after is another way.

Wanna Learn wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks


--

Dave Peterson


Dave Peterson

Replace dashes
 
You're welcome.

That's a good site to bookmark.

Wanna Learn wrote:

Dave Thank you. Also I want to thank you for the click sort module in
Contextures you directed me to the other day. Thank you

"Dave Peterson" wrote:

Select your range to fix
Edit|replace
what: - (dash)
with: (leave blank)
replace all

And maybe applying a custom format after is another way.

Wanna Learn wrote:

Hello
I have a column of numbers example 12-2222-02 . I need to delete the dashes.
the number should read 12222202 What is the fastest way to do this thanks


--

Dave Peterson


--

Dave Peterson


All times are GMT +1. The time now is 03:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com