Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default deleting the apostrophe

Hello:

In a column of Excel cells, I have the following character mask:

0000-0000-000-000-

The first character has an apostrophe in front of it. I want to create a
column to the right that has these characters and in the above format but
without the apostrophe that appears at the beginning.

What formula can I use to accomplish this?

Thanks!

childofhte1980s
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default deleting the apostrophe

Activecell.offset(0,1).Value = "0000-0000-000-000-"

--
Regards,
Tom Ogilvy

"childothe1980s" wrote in message
...
Hello:

In a column of Excel cells, I have the following character mask:

0000-0000-000-000-

The first character has an apostrophe in front of it. I want to create a
column to the right that has these characters and in the above format but
without the apostrophe that appears at the beginning.

What formula can I use to accomplish this?

Thanks!

childofhte1980s



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default deleting the apostrophe


The apostrophe is a special character that turns the cell into Text.
You can convert it back to a number by using =value(A1). You will los
the number formatting, but you can re-apply that with a custom format.

Mat

--
Mallyca
-----------------------------------------------------------------------
Mallycat's Profile: http://www.excelforum.com/member.php...fo&userid=3551
View this thread: http://www.excelforum.com/showthread.php?threadid=55305

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default deleting the apostrophe

Using =Value(A1)
gives me an error #Value


maybe, if a formula is required:
=TEXT(A1,"0000-0000-000-000-")





--
Regards,
Tom Ogilvy

"Mallycat" wrote in
message ...

The apostrophe is a special character that turns the cell into Text.
You can convert it back to a number by using =value(A1). You will lose
the number formatting, but you can re-apply that with a custom format.

Matt


--
Mallycat
------------------------------------------------------------------------
Mallycat's Profile:

http://www.excelforum.com/member.php...o&userid=35514
View this thread: http://www.excelforum.com/showthread...hreadid=553058



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default deleting the apostrophe

The apostrophe has been added either by someone or when the data was
exported from another application and in Excel, it means the cell contents
is text. This will also include when a number is in the cell.

1. To remove it, in a blank cell type the number 0.
2. Now copy the cell with 0 in it.
3. Highlight the cells containing the apostrophe and Right Click on the
highlighted area
4. Now Paste Special.
5. Under the Operation part of the Paste Special Menu, select the "Add"
radio button and click OK.
6. The apostrophe has now gone.

--
Saruman

---------------------------------------------------------------------------
All Outgoing Mail Scanned By Norton Antivirus 2003
---------------------------------------------------------------------------

"childothe1980s" wrote in message
...
Hello:

In a column of Excel cells, I have the following character mask:

0000-0000-000-000-

The first character has an apostrophe in front of it. I want to create a
column to the right that has these characters and in the above format but
without the apostrophe that appears at the beginning.

What formula can I use to accomplish this?

Thanks!

childofhte1980s





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Always have apostrophe snax500 Excel Discussion (Misc queries) 5 June 22nd 07 08:26 PM
Apostrophe Mayhew [email protected] Excel Worksheet Functions 1 January 1st 07 06:35 PM
Apostrophe Ben Excel Programming 8 September 19th 05 05:26 PM
Add apostrophe Tony Wainwright Excel Worksheet Functions 4 October 29th 04 01:50 PM
Add apostrophe Tony Wainwright[_2_] Excel Programming 4 October 29th 04 01:50 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"