Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Copy data as is seen - ajit

I have column with 1000 values of 4 digits which I want as 6 digit with 2
leading zeroes. I changed the format and did it. Now I want to copy them in
another range as 6 digit (as it shows in cells) as a text. But it does not
get copied. Pl. suggest me the way out.
--
Knowldege is Power
  #2   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default Copy data as is seen - ajit

instead of copy, use the formula =text(a1,"000000")

"Ajit Munj" wrote:

I have column with 1000 values of 4 digits which I want as 6 digit with 2
leading zeroes. I changed the format and did it. Now I want to copy them in
another range as 6 digit (as it shows in cells) as a text. But it does not
get copied. Pl. suggest me the way out.
--
Knowldege is Power

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default Copy data as is seen - ajit

Format the Destination Range FIRST as Text;
Then (and only then) Copy and Paste to the Destination Range.
That will likely work...

"Ajit Munj" wrote:

I have column with 1000 values of 4 digits which I want as 6 digit with 2
leading zeroes. I changed the format and did it. Now I want to copy them in
another range as 6 digit (as it shows in cells) as a text. But it does not
get copied. Pl. suggest me the way out.
--
Knowldege is Power

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Copy data as is seen - ajit

Try this:

=TEXT(A1,"000000")

if your formatted number is in A1. Copy down to row 1000.

Hope this helps.

Pete

On Apr 10, 2:21*pm, Ajit Munj wrote:
I have column with 1000 values of 4 digits which I want as 6 digit with 2
leading zeroes. I changed the format and did it. Now I want to copy them in
another range as 6 digit (as it shows in cells) as a text. But it does not
get copied. Pl. suggest me the way out.
--
Knowldege is Power


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Copy data as is seen - ajit

You could use a formula:

=text(a1,"000000")



Ajit Munj wrote:

I have column with 1000 values of 4 digits which I want as 6 digit with 2
leading zeroes. I changed the format and did it. Now I want to copy them in
another range as 6 digit (as it shows in cells) as a text. But it does not
get copied. Pl. suggest me the way out.
--
Knowldege is Power


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default Copy data as is seen - ajit

Insert a helper column to the right of the column containing your 4-digit
numbers and enter the following formula:

="00"&A1

Changing A1 to match the cell with the first value. Then copy the formula
down the column to the last row.

Copy the entire helper column, move to the starting cell of the target
location and click EDIT in the menu, select PASTE SPECIAL and click the
VALUES option button.

The results of the formula are pasted to the target location as a 6 digit
text string with 2 leading zeroes. You can now delete the helper column with
the original formulas as it is no longer needed.

When you format a number it only changes the display of the number and not
its value, which is why you can't copy the value as viewed.

Hope this helps.
--
Kevin Backmann


"Ajit Munj" wrote:

I have column with 1000 values of 4 digits which I want as 6 digit with 2
leading zeroes. I changed the format and did it. Now I want to copy them in
another range as 6 digit (as it shows in cells) as a text. But it does not
get copied. Pl. suggest me the way out.
--
Knowldege is Power

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
error in sum-ajit Ajit Munj Excel Discussion (Misc queries) 6 December 10th 07 01:12 PM
countif - ajit Ajit Munj Excel Discussion (Misc queries) 1 July 7th 05 10:34 AM
scrolling up & down - ajit Ajit Munj Excel Discussion (Misc queries) 1 June 2nd 05 02:27 PM
conditional sum - Ajit Ajit Munj Excel Discussion (Misc queries) 1 March 4th 05 08:19 AM
Calendar - Ajit Ajit Munj Excel Discussion (Misc queries) 2 February 23rd 05 07:17 AM


All times are GMT +1. The time now is 05:46 PM.

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"