Usually I see this when a cell has been formatted as text first, then the formula was entered.
To fix it, I change the cell formatting to General (or some number type of formatting), then edit the formula ("F2", then "enter" is all I usually do).
Omar Freeman
Kitchener, ON