Share via

Getting a SUM

Anonymous
2024-10-17T20:17:32+00:00

I am trying to SUM a column of tree rows with one of the rows showing a "NUM" result. This row may or may not be used so, if used, would contain a value and the SUM would contain all three rows. If the row containing the NUM value is not used the NUM is the result within the cell and the rows will not SUM. How do I SUM these rows with or without the NUM value?

Microsoft 365 and Office | Excel | For business | 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

Answer accepted by question author

Anonymous
2024-10-22T15:06:07+00:00

You are welcome:) You may also give feedback on it.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author

Anonymous
2024-10-17T20:30:34+00:00

How about

=SUM(IFERROR(range, 0))

If you do not have Microsoft 365, Office 2024 or Office 2021, confirm the formula by pressing Ctrl+Shift+Enter.

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-10-22T14:35:10+00:00

    Thank you, that worked!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-10-18T03:03:03+00:00

    =SUM(IFERROR(B2:B4,0))

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-10-17T20:57:35+00:00
    5.0% 30 25 $500,000 $140,819 $32,526 $24,271 $8,255 $116,548
    5.8% 15 14 $175,000 $16,809 $17,784 $15,887 $1,896 $921
    0.0% 0 0 $0 $0 $0 #NUM! #NUM! #NUM!
    These are totals $157,628 $50,310 $0 this is where I need the formula $0 #NUM!

    Hans,

    First, thanks for the response.

    Here is a portion of the workbook causing the issue. I am building this as a template so people can fill in numbers and have the calculations be completed.

    I want the first two rows to SUM even with the #NUM in the third row. If the third row is used starting on the left side, a value will appear in the cell with the #NUM value. The cell returns a value when there is a valid number in the #NUM cell but not the way is is currently.

    Was this answer helpful?

    0 comments No comments