Sum formula for Only Negative Values

aarti_rto

New Member
Joined
Nov 29, 2019
Messages
49
Office Version
  1. 2016
Platform
  1. Windows
  2. Web
Hello,

i have below data
Part NumberSFG Part NumberRequirement
AAA
10​
BBB
5​
CAA
-20​
DCC
-10​
EAA
-30​
FDD
-10​
GBB
-10​
HDD
-20​

and i need Sum of only negative values..like i need below answer for above data table.

SFG Part NumberTotal Requirement
AA
-50​
BB
-10​
CC
-10​
DD
-30​
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
as mentioned SUMIFS() for numbers less than zero

=SUMIFS($C$2:$C$9,$B$2:$B$9,A13,$C$2:$C$9,"<"&0)

Book2
ABC
1Part NumberSFG Part NumberRequirement
2AAA10
3BBB5
4CAA-20
5DCC-10
6EAA-30
7FDD-10
8GBB-10
9HDD-20
10
11
12SFG Part NumberTotal Requirement
13AA-50-50
14BB-10-10
15CC-10-10
16DD-30-30
Sheet1
Cell Formulas
RangeFormula
C13:C16C13=SUMIFS($C$2:$C$9,$B$2:$B$9,A13,$C$2:$C$9,"<"&0)
 
Upvote 0
Solution

Forum statistics

Threads
1,216,075
Messages
6,128,660
Members
449,462
Latest member
Chislobog

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top