Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say I have an integer value of 950 (representing 950 cents) in cell A1 in an Excel 2010 spreadsheet. Is there a way to make Excel display this value as 9.50 (representing 9.50 dollars) in that same cell (A1) while still keeping the original integer value as 950, maybe by using a custom number format code?

share|improve this question
up vote 6 down vote accepted

Number format code you want is


The hash (#) is for optional extra digits and the slash (\) before the decimal point (.) makes it a literal text character instead of the default decimal point position marker. Zeroes (0) will display a zero regardless of how many digits there are in the number.

share|improve this answer

Your Answer


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.