SUMIFS with three criteria & a >

eobrien

New Member
Joined
Apr 29, 2017
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hello Friends,

I'm stumped. I want to pull negative amounts only from multiple lines. For a specific name, and specific account number. Not sure if I need a sumproduct or two different formulas to get the result I need. I know this should be simple, but I'm just not getting it today. Any help please & thank you. E.

Valid formula wrong result
=-(SUMIFS(Qkbks!$H$6:$H$272,Qkbks!$G$6:$G$272,"Providers:Bangar",Qkbks!$F$6:$F$272,"1170")<"0")

Too many arguments
=-SUMIFS(Qkbks!$H$6:$H$272,"<0",Qkbks!$G$6:$G$272,"Providers:Bangar",Qkbks!$F$6:$F$272,"1170")


1688844221612.png
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
How about
Excel Formula:
=-SUMIFS(Qkbks!$H$6:$H$272,Qkbks!$H$6:$H$272,"<0",Qkbks!$G$6:$G$272,"Providers:Bangar",Qkbks!$F$6:$F$272,"1170")
 
Upvote 0
Solution
How about
Excel Formula:
=-SUMIFS(Qkbks!$H$6:$H$272,Qkbks!$H$6:$H$272,"<0",Qkbks!$G$6:$G$272,"Providers:Bangar",Qkbks!$F$6:$F$272,"1170")
Result is 0 with your formula. Not the -195.00
 
Upvote 0
Looks like you might have had a typo in your original formula. Should the last criteria be 1170 or 1107?
 
Upvote 0
That was it! Urgh! Makes me so mad when I make stupid mistakes like that. Thank you. I appreciate your help! Have a great evening. E.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,737
Messages
6,180,668
Members
452,992
Latest member
TokugawaIesuma

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