SUMIFS Giving Error

gnaga

Well-known Member
Joined
Jul 9, 2002
Messages
748
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Book1
CDEFGHIJKLMNOP
4CategoryItemW.DayTotalVal1Val2Val3Val4Val5Val6Val7Val8Val9Val10
5AABC1211230000456
6AABC2210000123456
7AABC3214561230000
8AABC4211230000456
9AABC5210000123456
10AABC6214561230000
11AABC7211230000456
12BDEF1210000123456
13BDEF2214561230000
14BDEF3211230000456
15BDEF4210000123456
16BDEF5214561230000
17BDEF6211230000456
18BDEF7210000123456
19
20
21
22CategoryItemW.DayTotalDays1Days2Days3Days4Days5Days6Days7Days8Days9Days10
23AAM1#VALUE!0110000111
24AAM21100001111
25AAM30000111100
26AAM41111000222
27AAM53333111100
28AAM61111111111
29AAM70000000000
Sheet1
Cell Formulas
RangeFormula
F5:F18F5=SUM(G5:P5)
F23F23=SUMIFS(G5:P18,C5:C18,"="&C23,E5:E18,"="&E23)*SUM(G23:P23)


I need a help to figure out how to sum up a range value based on two conditions. I tried SUMIFS function but I am getting VALUE# error.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
With sumifs all the ranges need to be the same size. Try
Excel Formula:
=SUMPRODUCT((G5:P18)*(C5:C18=C23)*(E5:E18=E23))*SUM(G23:P23)
 
Upvote 0
Solution
With sumifs all the ranges need to be the same size. Try
Excel Formula:
=SUMPRODUCT((G5:P18)*(C5:C18=C23)*(E5:E18=E23))*SUM(G23:P23)
Thank you so much Fluff ??. It works fine.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,241
Messages
6,123,824
Members
449,127
Latest member
Cyko

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