Sumifs Help

Joneye

Well-known Member
Joined
May 28, 2010
Messages
785
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Hello helpful people

I've writtern a sumifs formula that i know i have incorrect, In Q1, for the Channel PL id like to add up the PO values.

in short i'd like to underdstand

1. Why im wrong
2. is the 'sumifs' formula correct
3. If alternative formula - im all ears :)

FORMULA IN Cell #
=SUMIFS(C3:N6,C1:N1,B8,A3:A6,A8,B3:B6,A9)

Q1Q1Q1Q2Q3Q4
CHANNELRemarkJanFebMarAprMayJunJulAugSepOctNovDec
PLForecast1,54508,99910,00059,78500556,6331,23315,00000
PLPO2,0002,0056,988075,0000025,0005007,85000
PLSplit4552,005(2,011)(10,000)15,21500(531,633)(733)(7,150)00
PLProbability25%35%50%50%100%25%25%95%75%50%50%50%
PLQ1
PO
#VALUE!​
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
It's wrong because (as per documentation):
1728094977383.png

Your first criteria_range argument (C1:N1) does not meet that requirement.
An alternative is:
=SUMPRODUCT(($C$1:$N$1=B8)*($A$3:$A$6=A8)*($B$3:$B$6=A9)*$C$3:$N$6)
 
Upvote 1
Another alternative for 365 is:
Excel Formula:
=SUM(DROP(FILTER(VSTACK(B1:N1,FILTER(B1:N6,(A1:A6=A8)*(B1:B6=A9))),B1:N1=B8),1))
 
Upvote 0
Super thanks for the explanation and the formula, really helps cheers Sir
 
Upvote 0
Another alternative for 365 is:
Excel Formula:
=SUM(DROP(FILTER(VSTACK(B1:N1,FILTER(B1:N6,(A1:A6=A8)*(B1:B6=A9))),B1:N1=B8),1))
Not sure why you are VSTACKing row 1 on and then DROPping it off again later?

Excel Formula:
=SUM(FILTER(FILTER(C3:N6,(A3:A6=A8)*(B3:B6=A9)),C1:N1=B8))
 
Upvote 0
Not sure why you are VSTACKing row 1 on and then DROPping it off again later?

Excel Formula:
=SUM(FILTER(FILTER(C3:N6,(A3:A6=A8)*(B3:B6=A9)),C1:N1=B8))
One of those moments us mere mortals have from time to time.
 
Last edited:
Upvote 0
Huge thanks to all the options and help, really informative and i leave solving a probelm and learning something new. Cheers one and all
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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