Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
copying a cell and changing the formating from number to text
I have a spreadsheet that has numbers and number/letter combinations that I
am trying to reformat to text so it will sort like a text sort versus a number. I have tried refromatting all cells to text but it still does not sort correctly. Is there a way to copy to contents of the cell to another location and change the formatting to text? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
copying a cell and changing the formating from number to text
Changing the numberformat of a cell doesn't change the underlying values.
If you're trying to convert numbers to text, how about using a helper column with a formula like: =a1&"" or =text(a1,"000000") (if you need leading zeros) Then drag down the column and sort your data by this helper column. Mark Gloves wrote: I have a spreadsheet that has numbers and number/letter combinations that I am trying to reformat to text so it will sort like a text sort versus a number. I have tried refromatting all cells to text but it still does not sort correctly. Is there a way to copy to contents of the cell to another location and change the formatting to text? -- Dave Peterson |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
copying a cell and changing the formating from number to text
Dave, thanks, but it didn't change any thing. Basically I'm trying to sort
about 2000 items so they start wtih "1", then "10", then "1000", "2", "20", "2000". There are some items that have numbers and letters like 24C, 6900BXL, etc. I thought that making the numbers text would alllow it to sort in that kind of order versus 1,2,3,4....1000, 1001, etc. Mark "Dave Peterson" wrote: Changing the numberformat of a cell doesn't change the underlying values. If you're trying to convert numbers to text, how about using a helper column with a formula like: =a1&"" or =text(a1,"000000") (if you need leading zeros) Then drag down the column and sort your data by this helper column. Mark Gloves wrote: I have a spreadsheet that has numbers and number/letter combinations that I am trying to reformat to text so it will sort like a text sort versus a number. I have tried refromatting all cells to text but it still does not sort correctly. Is there a way to copy to contents of the cell to another location and change the formatting to text? -- Dave Peterson |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
copying a cell and changing the formating from number to text
Nope. Changing them to text will allow them to sort as text
1 11 1234 2 23 23b .... You're life will be lots easier if you can separate the numbers and the letters into different columns. Or if you do your data entry nice (all text) 00001 00001A 00011A 00023B .... Mark Gloves wrote: Dave, thanks, but it didn't change any thing. Basically I'm trying to sort about 2000 items so they start wtih "1", then "10", then "1000", "2", "20", "2000". There are some items that have numbers and letters like 24C, 6900BXL, etc. I thought that making the numbers text would alllow it to sort in that kind of order versus 1,2,3,4....1000, 1001, etc. Mark "Dave Peterson" wrote: Changing the numberformat of a cell doesn't change the underlying values. If you're trying to convert numbers to text, how about using a helper column with a formula like: =a1&"" or =text(a1,"000000") (if you need leading zeros) Then drag down the column and sort your data by this helper column. Mark Gloves wrote: I have a spreadsheet that has numbers and number/letter combinations that I am trying to reformat to text so it will sort like a text sort versus a number. I have tried refromatting all cells to text but it still does not sort correctly. Is there a way to copy to contents of the cell to another location and change the formatting to text? -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formating a number in a cell | Excel Discussion (Misc queries) | |||
Copying and pasting table info and cell formating in one hit | Excel Discussion (Misc queries) | |||
copying info from one cell to another, changing the format, but leaving the number | Excel Worksheet Functions | |||
edit number in cell without it changing to text | Excel Discussion (Misc queries) | |||
Changing cell or text color depending on week number | Excel Discussion (Misc queries) |