Just to add on a little to Arvi's hint:
Formulas don't work in cells formatted as text.
Try re-formatting the cell/col as general (or number),
then re-confirm the formula (click inside the formula bar, press ENTER)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---