Alpha and Numeric Strings have " ' " as their leading character

Hollando

Board Regular
Joined
Sep 13, 2012
Messages
55
Hello all,

I hope for this to be my last inquiry on this topic for the immediate future.

I have columns A-F which are general formatted cells. These cells have Alpha and Numeric strings. In each of these strings is an '. Does anyone have a non-VBA solution in order for to be rid of the leading character in question?


Please note I have tried to find ' and replace with (blank), but unfortunately this only works when the ' is not the leading character. As always your help and guidance no matter how small would be greatly appreciated.

With regards to all of my inquiries thus far I would like to thank each and everyone of you who have passed along a solution to the problems I was encountering.

Thanks,

Hollando
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Try highlighting the column with the problem, and go to Data>Text To Columns and click through to FINISH.
 
Upvote 0
If the ' character is always the leading charcter and doesn't appear elsewhere in the string and you have a string like:
'abc def ghi
in A1,
then in B1:
=SUBSTITUTE(A1,"'","")
copy down to cover your data then Copy column B entries, Paste Special - Values in column A and delete column B.
 
Upvote 0
If the ' character is always the leading charcter and doesn't appear elsewhere in the string and you have a string like:
'abc def ghi
in A1,
then in B1:
=SUBSTITUTE(A1,"'","")
copy down to cover your data then Copy column B entries, Paste Special - Values in column A and delete column B.

Unfortunately no...Won't grab the ' at the begining of the string.
 
Upvote 0
Yes they are. If you are referring to the fact that they are an extract from our SAP ERP system.
Are you sure that leading character is an apostrophe? Select one of the cells with that character as the first characters and look at the cell itself, not the Formula Bar... do you see the apostrophe or not?
 
Upvote 0
Are you sure that leading character is an apostrophe? Select one of the cells with that character as the first characters and look at the cell itself, not the Formula Bar... do you see the apostrophe or not?

Yes it's definitely an apostrophe. Just to be certain I copied the character and tried to seach for it, but still couldn't be located.

No in the cell without double clicking or pressing F2 I cannot see the apostrophe.
 
Upvote 0

Forum statistics

Threads
1,215,509
Messages
6,125,216
Members
449,215
Latest member
texmansru47

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