How to Sum and Count Negative and Positive Numbers in Excel?

How to Sum and Count Negative and Positive Numbers in Excel?

 

Usually, we can easily sum or count a range of data in a worksheet. Summing positive numbers is simple, but if the dataset contains both positive and negative numbers, it is difficult to sum only positive or negative numbers separately. Let’s look at how you can use formulas to sum only positive or negative numbers in Excel.

Also, you can use the COUNTIF function to count the number of cells in a range that contain positive and negative numbers. 

This Tutorial Covers:

  1. How to sum only Positive and Negative values?
  2. How to sum all positive numbers?
  3. How to sum all numbers greater than a certain value say greater than 500?
  4. How to sum all negative numbers?
  5. How to sum all positive numbers or negative numbers from a range?
  6. How to Count all positive numbers from a Range?
  7. How to Count all negative numbers from a Range?
  1. How to sum only Positive and Negative values?

You may need to conditionally add data when working with excel datasheets. In Excel, you may need to sum only the positive integers or only the negative integers. It’s simple to do with Excel’s built-in formulas.

  1. How to sum all positive numbers?

To calculate the sum of all positive integers, follow the below process:

Step 1: Prepare a data table with the information outlined below:

Sum and Count Negative and Positive Numbers

Step-2: Set a formula in cell B10, outlined below:

The following formula can be used to get the Sum of all positive integers:

=SUMIF(B2:B8,”>0″)

Sum and Count Negative and Positive Numbers 2

Step 3: Press Enter.

Results outlined below:

Sum and Count Negative and Positive Numbers

3. How to sum all numbers greater than a certain value say greater than 500?

To calculate the sum of all numbers greater than a certain value say greater than 500, follow the below process:

Step 1: Prepare a data table with the information outlined below:

Sum and Count Negative and Positive Numbers

Step-2: Set a formula in cell B-10, outlined below:

The following formula can be used to get the sum:

=SUMIF(B2:B8,”>500″)

Sum and Count Negative and Positive Numbers

Step-3: Press Enter.

Result outlined below:

Sum and Count Negative and Positive Numbers

4. How to sum all negative numbers?

To calculate the sum of all negative numbers, follow the below process:

Step 1: Prepare a data table with the information outlined below:

Sum and Count Negative and Positive Numbers

Step-2: Set a formula in cell B-10, outlined below:

The following formula can be used to get the sum of all negative integers:

=SUMIF(B2:B8,”<0″)

Sum and Count Negative and Positive Numbers

Step-3: Press Enter.

Result outlined below:

Sum and Count Negative and Positive Numbers

Additional:

5. How to sum all positive numbers or negative numbers from a range?

To calculate the sum of all positive numbers, follow the below process:

Step-1: Prepare a data table with the information outlined below:

Sum and Count Negative and Positive Numbers

Step-2: Set a formula in cell B-10, outlined below:

The following formula can be used to get the sum of all positive values:

=SUMIF(B2:C8,”>0″)

Sum and Count Negative and Positive Numbers

Step-3: Press Enter.

Result outlined below:

Sum and Count Negative and Positive Numbers

 

To sum all negative numbers, follow below process:

Step-1: Prepare a data table with information outlined below:

Sum and Count Negative and Positive Numbers

Step-2: Set a formula in cell B-10, outlined below:

The following formula can be used to get the sum of all negative numbers:

=SUMIF(B2:C8,”<0″)

Sum and Count Negative and Positive Numbers

Step-3: Press Enter.

Result outlined below:

Sum and Count Negative and Positive Numbers

6. How to Count all Positive numbers from a range?

To Count, all positive numbers from a range, follow below process:

Step-1: Prepare a data table with information outlined below:

Sum and Count Negative and Positive Numbers

Step-2: Set a formula in cell B-10, outlined below:

The following formula can be used to get the count of all positive numbers:

=COUNTIF(B2:C8,”>0″)

Sum and Count Negative and Positive Numbers

Step-3: Press Enter.

Result outlined below:

Sum and Count Negative and Positive Numbers

7. How to Count all Negative numbers from a range?

To Count all negative numbers from a range, follow below process:

Step-1: Prepare a data table with information outlined below:

Sum and Count Negative and Positive Numbers

Step-2: Set a formula in cell B-10, outlined below:

The following formula can be used to get the count of all negative numbers:

=COUNTIF(B2:C8,”<0″)

Sum and Count Negative and Positive Numbers

Step-3: Press Enter.

Result outlined below:

Sum and Count Negative and Positive Numbers

Leave a Comment

Your email address will not be published. Required fields are marked *

Categories