How to removeminus sign in numbers having 17 digits

SanjayaGarg

New Member
Joined
Nov 10, 2017
Messages
27
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

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
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,215,333
Messages
6,124,317
Members
449,153
Latest member
JazzSingerNL

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