Share via

Sum and Average Formulas Don't Work

Anonymous
2023-11-13T16:36:33+00:00

There doesn't appear to be any consistency with how these errors are being made. Sometimes the bottom bar will display correct sums and averages. Other times they'll display incorrect figures or they wont display at all. This also occurs when I try to input formulas. I'm getting a lot of sum = 0 and average = DIV/0 errors.

All of my cells are formatted as numbers and I'm getting no circular reference errors. I have changed calculating options to manual. I've tried exiting excel and reopening.

(average and sum are incorrect)

(Average and sum not calculated)

(Correct average and sum)

Microsoft 365 and Office | Excel | For education | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-11-13T20:43:35+00:00

    Could you share us a test file to reproduce your issue?

    For sharing a sample workbook, upload to OneDrive or any other cloud drives. Then post a link here.

    Check that the cells you are referencing in your formulas are actually numbers. Sometimes cells can be formatted as numbers but still contain text or other characters that can cause errors in calculations.

    You may use isnumber formula to check if the value in cell is a really number.

    .

    You may try this formula to convert text to number.

    =NUMBERVALUE(CLEAN(A2))

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Bob Jones AKA CyberTaz MVP 436K Reputation points
    2023-11-14T20:39:52+00:00

    Admittedly deceptive, but if the digits were input as Text applying any type of Number formatting does not convert the text string to a value. However, the type of Number formatting will be indicated when the cell is selected.

    When summing a range of cells which contain numerical text strings the result is zero.

    The Average function will return a #Div/0 because the denominator [number of cells containing values] is none (0).

    The easy way to correct the problem is to select & copy the affected cells, then paste while the cells still are selected. Click the warning triangle ⚠️ & select Convert to Number. This only works if all selected cells need to be converted. IOW, none which contain an actual value can be included in the selection.

    Another option is to enter the digit 1 into an unused cell the copy that cell. Select affected cells then use Paste Special - Multiply. With this method the selected range can include cells which contain a value as well as cells which contain a text string.

    Was this answer helpful?

    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more