SumIf on a non-continuous range

try =SUM(rV)

rV is a named range that includes your values.

select the first cell, then press Ctrl and select the other cells
type a name of your choice or rV in the name box
 
Upvote 0
...without using named ranges. While this will work I want to conditionally sum (actually average, but I can do that) a matrix of values that is 15 X 12, that's alot of named ranges. :x Thanks
 
Upvote 0
Loren,

There has to be a better way of doing this, but the following works:

=SUMIF(B1,">0",B1)+SUMIF(D2,">0",D2)+SUMIF(E4,">0",E4)+SUMIF(F7,">0",F7)

Regards,

Mike
 
Upvote 0
Whoah, sumif <> 0 makes 0 sense. 0+0+0+0+0+5=5.

What are we really after here?
 
Upvote 0
Sorry about the confusion... How do you sum non-zero non-continuous? That was a pretty stupid question. I guess I should have used countif, sorry. I was trying to simply the problem.

Well... that still leaves the problem unsolved, I don't want to use Named Ranges due to the magnitude of the problem (12X15). Anything else?
 
Upvote 0

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