Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
When I attempt to sort hex numbers in a spreadsheet I get incorrect results.
The cells are formatted as text (else the leading 0 would be dropped). I would like sort results to run from 0000 - ffff. any ideas? |
#2
![]() |
|||
|
|||
![]()
First run a sort. Then create a second sorting column and stick an X where
it is numbers and leave it blank when you have letters. Or vice versa. I think you have some cells stored as a number. Force them to text. Run a sort and choose "Sort numbers and numbers stored as text separately". "Jane Martin" wrote: When I attempt to sort hex numbers in a spreadsheet I get incorrect results. The cells are formatted as text (else the leading 0 would be dropped). I would like sort results to run from 0000 - ffff. any ideas? |
#3
![]() |
|||
|
|||
![]()
When I ran a sort on those kinds of strings, the data was sorted ok.
But if you're having trouble, you could use a helper column and a formula: =hex2dec(a1) and drag down Then sort your data based on this key. ==== I did format all the cells as text--including those that looked like: 1234 (4 numbers) Jane Martin wrote: When I attempt to sort hex numbers in a spreadsheet I get incorrect results. The cells are formatted as text (else the leading 0 would be dropped). I would like sort results to run from 0000 - ffff. any ideas? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I sort letters before numbers in Excel? | Excel Discussion (Misc queries) | |||
Does Excel round numbers with a 5 in the tens place? | Excel Discussion (Misc queries) | |||
How to convert Excel imported numbers from text to numbers? | Excel Discussion (Misc queries) | |||
Excel Sort function should not sort the cell formatting! | Excel Worksheet Functions | |||
Excel Auto Filter: WHY'S SORT @ TOP OF LIST? WHEN I KEY TO "SHOW . | Excel Worksheet Functions |