Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a list on Text data
ie 1, 14, 203, etc I want them all to be 6 charcters long. ie 000001, 000014, 000203, etc. I can concatenate but the I would manually need to remove extra 0's Any suggestions -- Thanks ETC |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Set the format to 000000 (FormatCellsCustom)
-- HTH Bob Phillips (remove nothere from email address if mailing direct) "Sweetetc" wrote in message ... I have a list on Text data ie 1, 14, 203, etc I want them all to be 6 charcters long. ie 000001, 000014, 000203, etc. I can concatenate but the I would manually need to remove extra 0's Any suggestions -- Thanks ETC |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If it is for display purposes, you can format (numbers, not text) using a
custom format of "000000" If you need the values to 6 characters you can use for numeric values: =text(number, "000000") For text values: =rept("0",6-len(text value))&text value "Sweetetc" wrote: I have a list on Text data ie 1, 14, 203, etc I want them all to be 6 charcters long. ie 000001, 000014, 000203, etc. I can concatenate but the I would manually need to remove extra 0's Any suggestions -- Thanks ETC |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Format Cells... Number Custom and enter 000000
-- Gary's Student "Sweetetc" wrote: I have a list on Text data ie 1, 14, 203, etc I want them all to be 6 charcters long. ie 000001, 000014, 000203, etc. I can concatenate but the I would manually need to remove extra 0's Any suggestions -- Thanks ETC |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Duke
Thanks the TXT seemed to do the trick. I could not get the REPT to work correctly -- Thanks ETC "Duke Carey" wrote: If it is for display purposes, you can format (numbers, not text) using a custom format of "000000" If you need the values to 6 characters you can use for numeric values: =text(number, "000000") For text values: =rept("0",6-len(text value))&text value "Sweetetc" wrote: I have a list on Text data ie 1, 14, 203, etc I want them all to be 6 charcters long. ie 000001, 000014, 000203, etc. I can concatenate but the I would manually need to remove extra 0's Any suggestions -- Thanks ETC |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Stop excel from dropping the 0 in the beginning of a number? | Setting up and Configuration of Excel | |||
Changing a text field to a date field | New Users to Excel | |||
Some lines of text in Excel field do not wrap text. Please help. | Excel Discussion (Misc queries) | |||
zero supress leading zeros when chg format from text to number | Excel Worksheet Functions | |||
Sort or Filter option? | Excel Worksheet Functions |