Remove a specific character in a cell of numbers

Guzzlr

Well-known Member
Joined
Apr 20, 2009
Messages
946
Office Version
  1. 2016
Platform
  1. Windows
Hello All,
I have a little issue.
Column C has a list of data sets per cell. For example: 323DTD., would be in one cell. Another cell will have 665E.BD. Each cell has a combination of Numbers and Letters. However, the period (.), is what I wish to get rid of, and not every data set has a period...but the majority do.
I can't use the =LEFT function, because not all cells have the same number of characters, and the period is located in different areas.
The sheet already is a macro, so adding code will not be a problem. I was thinking of a last row scenario, but I don't know the code to find the (.) that is haphazardly placed.
Thanks for the help
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Why not just use the Search/Replace facility, either manually or in code?
 
Upvote 0
I tried that.
Find (.) replace with (blank)
It coming back that it could not find anything...
 
Upvote 0
Did you have "Match entire cell contents" checked when you tried?
If so uncheck it
 
Upvote 0
I was trying just the one column of "C". it found all (.) when the entire sheet was selected. I suppose that will work, I just wanted to find/replace the column C
 
Upvote 0
You should be able to just select col C & do it
 
Upvote 0
You should be able to just select col C & do it
That's what I've always done in the past. However, when I do it here, it says nothing is found. However, selecting the entire sheet, it does find the (.) and replace with a blank
Thanks for the help
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,816
Members
449,095
Latest member
m_smith_solihull

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