Get undefined when adding specific text to cells
-
I have a table where the items are numbered 1-40. I wanted to be able to sort by those numbers, so I had them in a column of the table. When I tried to sort, however, it was sorting 1,10,11 etc. instead of 1,2,3 etc. I figured its sorting as text, so as a quick fix I tried to change the first ten numbers to 01,02,03,04, etc. When I viewed the table the first four numbers were missing. I went back to the table, and sure enough the first four cells that had the numbers were blank. When I clicked into one of them, it said undefined. I tried adding back the 01, etc. but it still did the same thing. 05-09 were fine. I could type 05 into one of the cells, and it would work, but if I changed it to 01, I would get undefined again.
So two questions. Is there a way to sort a column as numbers? That would probably be the easiest. Second, what the heck is going on with 01,02,03,04?
- You must be logged in to reply to this topic.