Sum of sum criteria

gobblechops

New Member
Joined
Apr 27, 2017
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Sure this is simple for an expert.

Below is the formula to return the value of A3 if the values in row C add to zero.

=(IF(SUM(C3:F3)=0,A3,0))

How do I sum the total of all of all the values from A3:A15 that meet the criteria using relative cell references for column C criteria?

Thanks!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Just to clarify, I can get the answer with:

=SUMIFS(A3:A15,C3:C15,0,D3:D15,0,E3:E15,0,F3:F15,0)

But is there a more elegant formula, for example if there were 50 criteria columns rather than 4?

Thanks.
 
Upvote 0
You could put
=SUM(C3:F3)
in another column, drag down & then use
=SUMIF(G3:G15,0,A3:A15)
 
Upvote 0
Hi,

without Helper-Column

=SUMPRODUCT(A3:A15,--(MMULT(--(C3:F15=0),TRANSPOSE(COLUMN(C:F)^0))=COLUMNS(C:F)))

:cool:

Greetings



Christian
 
Upvote 0
Is there a way to sum alternate columns for a large range? I have a report that goes to column LS with data from alternate sources and I need to total each source for reconciliation. Unfortunately it wouldn't be practical to re-order the columns in the way suggested above.

Manually going through each column would be impractical and I've not been able to work out how to customise the =mod(column(),2) function suggested above.

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
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