Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default QUICK FORMAT WITH APOSTROPHE

I have a column with several thousand rows in the 5-digit Special zipcode
format. I'd like to keep the 5-digit values the same (some begin with a
leading zero), but need to have the data in the text format that BEGINS WITH
AN APOSTRAPHE. Is there a way to convert the entire column quickly?
--
William
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default QUICK FORMAT WITH APOSTROPHE

This may seem convoluted, but it will work the fastest. Say, for instance
that your data is in Column 'A'. Highlight column 'B,' and format the cells
as text. Then open Notepad and copy column 'A' from Excel (make sure that
you copied them while they were in the 5-Digit special zip format) and paste
them into Notepad. They should have retained their preceeding zeroes.

Then copy the values out of Notepad, put your cursor into cell B1 and simply
paste them back into Excel. All of the zip codes will be left-aligned in the
cell with a green carrot in the upper, left corner, indicating that a number
has been stored as text. Then, in cell C1, type the following formula:

="'"&B1

Copy the formula all the way down. Once that's done, copy column 'C' and
Paste Special Values to remove the formulas.

Like I said, a little convoluted, but it gets the job done quickly.


Jeff



"William" wrote:

I have a column with several thousand rows in the 5-digit Special zipcode
format. I'd like to keep the 5-digit values the same (some begin with a
leading zero), but need to have the data in the text format that BEGINS WITH
AN APOSTRAPHE. Is there a way to convert the entire column quickly?
--
William

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default QUICK FORMAT WITH APOSTROPHE

I always thought "carrots" were orange?


Gord Dibben MS Excel MVP

On Tue, 15 Dec 2009 13:19:01 -0800, jb_tenor1
wrote:

This may seem convoluted, but it will work the fastest. Say, for instance
that your data is in Column 'A'. Highlight column 'B,' and format the cells
as text. Then open Notepad and copy column 'A' from Excel (make sure that
you copied them while they were in the 5-Digit special zip format) and paste
them into Notepad. They should have retained their preceeding zeroes.

Then copy the values out of Notepad, put your cursor into cell B1 and simply
paste them back into Excel. All of the zip codes will be left-aligned in the
cell with a green carrot in the upper, left corner, indicating that a number
has been stored as text. Then, in cell C1, type the following formula:

="'"&B1

Copy the formula all the way down. Once that's done, copy column 'C' and
Paste Special Values to remove the formulas.

Like I said, a little convoluted, but it gets the job done quickly.


Jeff



"William" wrote:

I have a column with several thousand rows in the 5-digit Special zipcode
format. I'd like to keep the 5-digit values the same (some begin with a
leading zero), but need to have the data in the text format that BEGINS WITH
AN APOSTRAPHE. Is there a way to convert the entire column quickly?
--
William


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default QUICK FORMAT WITH APOSTROPHE

The part of a carrot exposed to the sun while it is growing will be
green. ;-)

Gord Dibben wrote:

I always thought "carrots" were orange?


Gord Dibben MS Excel MVP

On Tue, 15 Dec 2009 13:19:01 -0800, jb_tenor1
wrote:


This may seem convoluted, but it will work the fastest. Say, for instance
that your data is in Column 'A'. Highlight column 'B,' and format the cells
as text. Then open Notepad and copy column 'A' from Excel (make sure that
you copied them while they were in the 5-Digit special zip format) and paste
them into Notepad. They should have retained their preceeding zeroes.

Then copy the values out of Notepad, put your cursor into cell B1 and simply
paste them back into Excel. All of the zip codes will be left-aligned in the
cell with a green carrot in the upper, left corner, indicating that a number
has been stored as text. Then, in cell C1, type the following formula:

="'"&B1

Copy the formula all the way down. Once that's done, copy column 'C' and
Paste Special Values to remove the formulas.

Like I said, a little convoluted, but it gets the job done quickly.


Jeff



"William" wrote:


I have a column with several thousand rows in the 5-digit Special zipcode
format. I'd like to keep the 5-digit values the same (some begin with a
leading zero), but need to have the data in the text format that BEGINS WITH
AN APOSTRAPHE. Is there a way to convert the entire column quickly?
--
William




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default QUICK FORMAT WITH APOSTROPHE

Thanks, Jeff. Worked perfectly and saved me a lot of grief.
--
William


"William" wrote:

I have a column with several thousand rows in the 5-digit Special zipcode
format. I'd like to keep the 5-digit values the same (some begin with a
leading zero), but need to have the data in the text format that BEGINS WITH
AN APOSTRAPHE. Is there a way to convert the entire column quickly?
--
William



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default QUICK FORMAT WITH APOSTROPHE

Excellent! Aside from what I've posted, I have not found another easy way to
do this. I will be interested to see if anyone else has a different approach.

Jeff

"William" wrote:

Thanks, Jeff. Worked perfectly and saved me a lot of grief.
--
William


"William" wrote:

I have a column with several thousand rows in the 5-digit Special zipcode
format. I'd like to keep the 5-digit values the same (some begin with a
leading zero), but need to have the data in the text format that BEGINS WITH
AN APOSTRAPHE. Is there a way to convert the entire column quickly?
--
William

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
Quick question on sheet format Del Excel Discussion (Misc queries) 6 August 28th 09 10:28 PM
Always have apostrophe snax500 Excel Discussion (Misc queries) 5 June 22nd 07 08:26 PM
Apostrophe vs Text format DTTODGG New Users to Excel 5 April 12th 06 05:26 PM
excel quick find format chris Excel Worksheet Functions 1 February 9th 05 03:17 AM
Add apostrophe Tony Wainwright Excel Worksheet Functions 4 October 29th 04 01:50 PM


All times are GMT +1. The time now is 12:00 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"