Summing with Multiple Conditions - SUMIFS not Working

Graemea

Board Regular
Joined
Oct 30, 2015
Messages
116
Office Version
  1. 365
Platform
  1. Windows
Hi,

I would like to sum the values in column E based on the following criteria:

1. Values in column C >25
2. Values in column C <=50
3. Names in column F are "Apple"
4. Names in column G are "France"

All of these 4 conditions need to be satisfied for the values in column E to be added.

I tried SUMIFS but this doesn't return the answer I expected; I think that having two conditions applied to a single column (C) is causing the problem.

Can someone please suggest a solution.

Thanks!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hi,

SUMIFS should work fine, may be you didn't setup the formula correctly:


Book1
CDEFGHIJ
1101AppleUSA4
2202OrangeFrance
3253PearUSA
4304AppleFrance
5355OrangeUSA
6406PearFrance
7457AppleUSA
8508OrangeFrance
9559PearUSA
106010AppleFrance
Sheet139
Cell Formulas
RangeFormula
J1=SUMIFS(E1:E10,C1:C10,">25",C1:C10,"<=50",F1:F10,"Apple",G1:G10,"France")


Adjust cell references/range as needed.
 
Upvote 0
Thanks for the quick replies!

I may be being silly but I don't think that the formula in J1 works correctly. The sum of values in E1:E10, when the values in C are >25 and <=50 are 30 (i.e. 4+5+6+7+8), not 4.

Or am I missing something?

Thanks
 
Upvote 0
Didn't you say "Apple" and "France" are also requirements???

5 is Orange from USA, 6 is Pear from France, 7 is Apple from USA, 8 is Orange from France, these Don't meet the requirements...

May be you need to re-explain what your requirements are, with a few samples.
 
Upvote 0
@Graemea
Cross-Posting
While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules).
This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
Maybe try wrapping multiple sumif formulas (1x for Apple, 1x for Pear, 1x for kumquat etc) within a sum.

i.e. =sum(sumif(),sumif(),sumif())
 
Upvote 0

Forum statistics

Threads
1,214,968
Messages
6,122,506
Members
449,089
Latest member
RandomExceller01

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