SUM and COUNT Issues

CampbellSoup

New Member
Joined
Apr 27, 2019
Messages
9
I am having an issue with "Too many arguments". I have a set of data that I need to know the quantity of items that meet two different criteria sets and the sum of said items from a range. The second criteria set is a value range, example - ">=25000",Range,"<=100000". I cant seem to make it work.


=COUNTIFS(G3692:G4426,"Fixed",">=25000",M3692:M4426,"<=100000")
=SUMIFS(G3692:G4426,"Fixed",">=25000",M3692:M4426,"<=100000")

Where G3692:G4426 is where the first criteria should be met. If met, then I need the values added up in one cell and quantity counted in another cell.

I can get the following to work, but when I add the second criteria for the amount reference I get a"too many arguments" prompt..Help...

=COUNTIFS(G3692:G4426,"Fixed",M3692:M4426,">=25000")
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Try:
Code:
COUNTIFS(G3692:G4426,"Fixed",[COLOR=#ff0000]M3692:M4426[/COLOR],">=25000",M3692:M4426,"<=100000")
Code:
SUMIFS(G3692:G4426,"Fixed",[COLOR=#ff0000]M3692:M4426[/COLOR],">=25000",M3692:M4426,"<=100000")
 
Upvote 0
Try:
Code:
COUNTIFS(G3692:G4426,"Fixed",[COLOR=#ff0000]M3692:M4426[/COLOR],">=25000",M3692:M4426,"<=100000")
Code:
SUMIFS(G3692:G4426,"Fixed",[COLOR=#ff0000]M3692:M4426[/COLOR],">=25000",M3692:M4426,"<=100000")


It looks like that worked for the "countifs" but cant seem to replicate for the "sumifs" throws out a "too few arguments"..
 
Upvote 0
Assuming you want to sum col M try
SUMIFS(M3692:M4426,G3692:G4426,"Fixed",M3692:M4426,">=25000",M3692:M4426,"<=100000")
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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