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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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