How to removeminus sign in numbers having 17 digits

SanjayaGarg

New Member
Joined
Nov 10, 2017
Messages
22
Office Version
  1. 2013
Platform
  1. Windows
I have a long list of numbers in below format which is having 17 digits with minus sign in between. i want to remove this sign and keep the 17 digits. Is it possible. Please help.

12-56-012454-000-1324
13-00-015426-000-1452
45-45-014785-234-1235
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Format the cells as Text, then use the Find/Replace dialog to replace the - with nothing.
 
Upvote 0
try

=SUBSTITUTE(A1,"-","")
 
Upvote 0
No, actually for some reason Excel does convert to numbers even though the cells are formatted as Text still. Weird.
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,409
Members
448,959
Latest member
camelliaCase

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top