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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

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