PC Review


Reply
Thread Tools Rate Thread

How can I remove hidden apostrophe in Excel?

 
 
=?Utf-8?B?SmltIE1vYmVyZw==?=
Guest
Posts: n/a
 
      14th Feb 2007
Hi,

I have a spreadsheet of data and a number of the columns have data that is
preceeded by a hidden apostrophe. The apostrophe can only be seen when you
click on the cell. I have looked and can't find a post that addresses this.
Can anyone out there tell me how to remove this. I have tried using the trim
function in conjuction with the clean function and it didn't work. Ack!
 
Reply With Quote
 
 
 
 
Nozza
Guest
Posts: n/a
 
      14th Feb 2007
On Wed, 14 Feb 2007 10:00:38 -0800, Jim Moberg
<(E-Mail Removed)> wrote:

>Hi,
>
>I have a spreadsheet of data and a number of the columns have data that is
>preceeded by a hidden apostrophe. The apostrophe can only be seen when you
>click on the cell. I have looked and can't find a post that addresses this.
>Can anyone out there tell me how to remove this. I have tried using the trim
>function in conjuction with the clean function and it didn't work. Ack!


If the cells are all numbers, then add 0 to them in a new column.

This will convert the string 7 to a numeric 7.

eg If A1 is equal to '7 then in cell B1 use the formula =A1+0

HTH

Noz
--
Email (ROT13)
(E-Mail Removed)
 
Reply With Quote
 
Bill Ridgeway
Guest
Posts: n/a
 
      14th Feb 2007
The ' formats the cell to align left. You may also see carat ^ (not sure
about correct spelling) which centres text and " which aligns text to the
right. You can't delete it and there's nothing to worry about.

Regards.

Bill Ridgeway
Computer Solutions

"Jim Moberg" <(E-Mail Removed)> wrote in message
news:04862269-5D4D-4C77-A532-(E-Mail Removed)...
> Hi,
>
> I have a spreadsheet of data and a number of the columns have data that is
> preceeded by a hidden apostrophe. The apostrophe can only be seen when
> you
> click on the cell. I have looked and can't find a post that addresses
> this.
> Can anyone out there tell me how to remove this. I have tried using the
> trim
> function in conjuction with the clean function and it didn't work. Ack!



 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      14th Feb 2007
Is the apostrophe visible only in the formula bar?

The CLEAN function works for me.

=CLEAN(A1) then copy>paste special>values>ok>esc.

Another thought, if you have Tools>Options>Transition>Transition Navigation Keys
options checkmarked, you could be seeing the Lotus alignment mark.

' for left aligned
^ for centered
" for right


Gord Dibben MS Excel MVP

On Wed, 14 Feb 2007 10:00:38 -0800, Jim Moberg
<(E-Mail Removed)> wrote:

>Hi,
>
>I have a spreadsheet of data and a number of the columns have data that is
>preceeded by a hidden apostrophe. The apostrophe can only be seen when you
>click on the cell. I have looked and can't find a post that addresses this.
>Can anyone out there tell me how to remove this. I have tried using the trim
>function in conjuction with the clean function and it didn't work. Ack!


 
Reply With Quote
 
=?Utf-8?B?SmltIE1vYmVyZw==?=
Guest
Posts: n/a
 
      14th Feb 2007
I did try that and it didn't work for me.

"Gord Dibben" wrote:

> Is the apostrophe visible only in the formula bar?
>
> The CLEAN function works for me.
>
> =CLEAN(A1) then copy>paste special>values>ok>esc.
>
> Another thought, if you have Tools>Options>Transition>Transition Navigation Keys
> options checkmarked, you could be seeing the Lotus alignment mark.
>
> ' for left aligned
> ^ for centered
> " for right
>
>
> Gord Dibben MS Excel MVP
>
> On Wed, 14 Feb 2007 10:00:38 -0800, Jim Moberg
> <(E-Mail Removed)> wrote:
>
> >Hi,
> >
> >I have a spreadsheet of data and a number of the columns have data that is
> >preceeded by a hidden apostrophe. The apostrophe can only be seen when you
> >click on the cell. I have looked and can't find a post that addresses this.
> >Can anyone out there tell me how to remove this. I have tried using the trim
> >function in conjuction with the clean function and it didn't work. Ack!

>
>

 
Reply With Quote
 
=?Utf-8?B?SmltIE1vYmVyZw==?=
Guest
Posts: n/a
 
      14th Feb 2007
It looks like I found the solution. I saved the file as a csv file type and
after I brought it into excel again I didn't see the apostrophe.

"Jim Moberg" wrote:

> Hi,
>
> I have a spreadsheet of data and a number of the columns have data that is
> preceeded by a hidden apostrophe. The apostrophe can only be seen when you
> click on the cell. I have looked and can't find a post that addresses this.
> Can anyone out there tell me how to remove this. I have tried using the trim
> function in conjuction with the clean function and it didn't work. Ack!

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      14th Feb 2007
Is a macro ok?

Option Explicit
Sub testme()
Dim myRng As Range
Dim myCell As Range

Set myRng = Nothing
On Error Resume Next
Set myRng = Intersect(Selection, _
Selection.Cells.SpecialCells(xlCellTypeConstants))
On Error GoTo 0

If myRng Is Nothing Then
MsgBox "No constants in selection!"
Exit Sub
End If

For Each myCell In myRng.Cells
If myCell.PrefixCharacter <> "'" Then
myCell.Value = "'" & myCell.Text
End If
Next myCell

End Sub

Select a range and try it out.

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

Jim Moberg wrote:
>
> Hi,
>
> I have a spreadsheet of data and a number of the columns have data that is
> preceeded by a hidden apostrophe. The apostrophe can only be seen when you
> click on the cell. I have looked and can't find a post that addresses this.
> Can anyone out there tell me how to remove this. I have tried using the trim
> function in conjuction with the clean function and it didn't work. Ack!


--

Dave Peterson
 
Reply With Quote
 
Lori
Guest
Posts: n/a
 
      14th Feb 2007
You could also try selecting a column and then Data > Text to columns
> Finish.


On Feb 14, 6:00 pm, Jim Moberg <JimMob...@discussions.microsoft.com>
wrote:
> Hi,
>
> I have a spreadsheet of data and a number of the columns have data that is
> preceeded by a hidden apostrophe. The apostrophe can only be seen when you
> click on the cell. I have looked and can't find a post that addresses this.
> Can anyone out there tell me how to remove this. I have tried using the trim
> function in conjuction with the clean function and it didn't work. Ack!





 
Reply With Quote
 
Karen Ellis
Guest
Posts: n/a
 
      29th May 2008
This formula worked like a charm for me:
=VALUE(cell containing apostrophe)
Then you can copy, paste special, and click Values to replace the cells containing apostrophes.
 
Reply With Quote
 
DILipandey
Guest
Posts: n/a
 
      29th May 2008
Hi, you can multiply those value by 1 which containes hidden apostrophe.
After doing this you can have those value moved to right side of the cell and
you can see that hidden apostrophe no more is there in the cell. thanks

--
Dilip Kumar Pandey
MBA, BCA, B.Com(Hons.)
(E-Mail Removed)
(E-Mail Removed)
New Delhi, India


"unknown" wrote:

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove hidden symbols in cells on excel? John C Microsoft Excel Misc 1 12th Dec 2008 06:26 AM
Download to Excel: How to remove apostrophe? DCPan Microsoft Access VBA Modules 0 19th Jun 2008 10:46 PM
adding a hidden apostrophe to a cell hedgracer Microsoft Excel Misc 3 28th Dec 2007 10:57 PM
How do I remove a hidden space in Excel cells =?Utf-8?B?RUogQg==?= Microsoft Excel Misc 4 18th Nov 2005 07:25 PM
Remove the apostrophe (') in Excel cell text values =?Utf-8?B?Q29ubnVsbA==?= Microsoft Excel Misc 5 11th Jan 2005 05:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:46 AM.