Tell me more ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have a column in which all inputs are numbers. But these numbers are actually not real numbers. Not real in the sense, 050 in this case is very different from 50

The problem is that whenever I add 050 the sheet automatically turns it to 50. I have also tried ** 050**. That is, prepending a space to no avail. It still auto-corrects as 50.

What can I do to avoid this?

share|improve this question

migrated from superuser.com Nov 16 '12 at 8:33

1 Answer

up vote 8 down vote accepted

If there's a difference between 50 and 050, what you have are strings (i.e. text).

Changing the cell format to Plain Text via the Format>Numbers>Plain Text will keep leading zeros.

share|improve this answer
was wondering why you did not post it as an answer :) – naveen Nov 16 '12 at 8:29
Yeah, I realised that posting as a comment would leave the question showing as 'unanswered' so best to do it properly :] – J20 Nov 16 '12 at 8:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.