Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
error in sum-ajit | Excel Discussion (Misc queries) | |||
countif - ajit | Excel Discussion (Misc queries) | |||
scrolling up & down - ajit | Excel Discussion (Misc queries) | |||
conditional sum - Ajit | Excel Discussion (Misc queries) | |||
Calendar - Ajit | Excel Discussion (Misc queries) |