FormulaCraft

How to sum only the negative numbers in Excel and Google Sheets

Topic:SUM & aggregation
Excel & Google Sheets
=SUMIF(B2:B6,"<0")

Verified example

Computed by a real spreadsheet engine on the sample data below.

MonthNet
Jan500
Feb-200
Mar350
Apr-100
May600

=SUMIF(B2:B6,"<0")-300

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Select the range containing mixed values, e.g. B2:B6.
  2. 2Enter =SUMIF(B2:B6,"<0"). With no third argument, SUMIF sums the criteria range itself.
  3. 3Press Enter. The result is the sum of all negative values — a negative number itself.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I count negative numbers rather than sum them?

Use =COUNTIF(B2:B6,"<0") to count how many cells are negative.

Does the result include cells that contain zero?

No — "<0" excludes zero. Use "<=0" to include zeros in the sum.

More on SUM & aggregation

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: