Turn Off Excel Autoformat on replace

just1joe

Board Regular
Joined
Apr 15, 2003
Messages
79
Hello,

I have data that I'm trying to cleanse. I imported it into excel with each column defined as text format. This part is fine and worked the way I needed it to. I am trying to remove - / \ characters from some of the columns.

When I use the replace function 05/17 becomes 517 when I need 0517 and 6666-8888-7777-9999-9999 dsiplays as 6.66689e+19. If I then save the file as text, it saves the 6.66689e+19 value.

Is there a way to turn the autoformat feature off? Or is there another method for removing these characters other than replce?
 
Right, but if you used Excel's Text ODBC driver you could produce some SQL that would clean your data before it ever reached Excel.
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,214,798
Messages
6,121,636
Members
449,043
Latest member
farhansadik

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