ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how to remove dashes (https://www.excelbanter.com/excel-worksheet-functions/132644-how-remove-dashes.html)

[email protected]

how to remove dashes
 
I have a list of 500 part number with dashes in between. Example 1234-56-789.
How do able to remove the dashes to make it 123456789?

JE McGimpsey

how to remove dashes
 
One way:

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

the -- will convert the text string into ann actual number. If you want
to leave your "number" as text, omit them.

In article ,

wrote:

I have a list of 500 part number with dashes in between. Example 1234-56-789.
How do able to remove the dashes to make it 123456789?


RichardSchollar[_2_]

how to remove dashes
 
On 28 Feb, 05:28,
wrote:
I have a list of 500 part number with dashes in between. Example 1234-56-789.
How do able to remove the dashes to make it 123456789?


You could do them en masse by using Find/Replace ie select the entire
column and press Ctrl+H and in Find What: - and in Replce With:
(leave this blank).

Hope this helps!

Richard



All times are GMT +1. The time now is 05:04 AM.

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