Make sure the cell you are pointing to actually contains a number and not just a textual representation of the number.
To convert a text cell to a number, select the cell and then select Format / Cells from the menu bar, and then on the Number tab, click General.
a source
to share