[SOLVED] Sum function returning 0.00 instead of total

Copper Contributor

In an excel document I have previously had no issues with, any new SUM functions I use, even on existing data, return 0.00 rather than the correct total. I have ensured data is formatted as numbers not text and yet any new attempts at using SUM or manually adding (e.g. =A1+A2+A3...) return 0.00, even though old =SUM functions in the document work until clicked on, then subsequently returning 0.00 as well.

 

Does anyone know why this might be happening or how to resolve this issue?

 

Edit: Saw a mention of circular arguments on another forum and the issue ended up being that the =SUM formulas were automatically including the cell the formula was in as well, causing an error. Problem fixed now but odd it happened.

1 Reply

@Fickle_Frog 

 

It would benefit us and you if you attached an example Excel file (click the "browse" link near the bottom of the reply window).

 

If you cannot attach per se (some people say the forum won't allow them to), upload the Excel file to a file-sharing website, and post the download URL.  I like box.net/files; others like dropbox.com.  Note:  onedrive.live.com seems to be broken today; do not use it.

 

-----

@Fickle_Frog  wrote:  ``I have ensured data is formatted as numbers not text``

 

The format of a cell per se does not matter.  Use formulas of the form =ISTEXT(A1) to determine if the type of the cell value is text.

 

However, you say that =A1+A2+A3... returns 0.00.  If that is correct, that would indicate that A1, A2, A3 et al are not text.  Otherwise, a formula of that form would return #VALUE.

 

Confirm that Automatic Calculation mode is enabled.

 

Also, confirm that there are no circular references in any cell in the workbook.

 

Finally (unlikely), confirm that Worksheet Calculation mode is enabled.  That is not easy to do.  You would need to look at ActiveSheet.EnableCalculation in VBA.

 

And look at the cell format to be sure that it is not literally "0.00" (with double-quotes) instead of 0.00 (format as Number with 2 decimal places).

 

Technically, a Custom format that is literally "0.00" (with double-quotes) is a numeric format that always displays 0.00 for any numeric value (!).