help! multiple criteria for Sum data

rachellashley

New Member
Joined
Jul 30, 2009
Messages
10
I have two columns:

Business group Total Hours
Group 1 +50
Group 5 -22
Group 4 +20
Group 1 -23

I need to Sum the number of positive hours per business group in one coulum and then the number of negative hours in another
I am trying to use Sumif but I can't seem to get my negative/positive criteria to work:

Sum if (first argument=Group 1 AND Second Argument = >1)
Sum if (first argument=Group 2 AND Second Argument = <1)

Please help and thank you!!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi,

Try,

=SUMIFS(B2:B5,A2:A5,"Group 1",B2:B5,">0")

=SUMIFS(B2:B5,A2:A5,"Group 1",B2:B5,"<0")

Jai
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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