Sum Array based on Col + Row

bubbafish

Board Regular
Joined
Jan 20, 2004
Messages
120
What formula would let me sum an array (C5..I9) where Col (B5..B9) has a Yes or No and Row (C4..I4) that has various names in them and if the one of the names is “USE” it would be included. So I would want to sum a range based on what is in a corresponding column and row.
Thanks!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
What formula would let me sum an array (C5..I9) where Col (B5..B9) has a Yes or No and Row (C4..I4) that has various names in them and if the one of the names is “USE” it would be included. So I would want to sum a range based on what is in a corresponding column and row.
Thanks!
Maybe something like this...

=SUMPRODUCT((B5:B9="yes")*(C4:I4="use")*C5:I9)
 
Upvote 0
Either:
None of the values in B5:B9 = yes (check spelling, look for extra spaces)
or
None of the values in C4:I4 = use (check spelling, look for extra spaces)
or
None of the values in C5:I9 are actually numbers
or
The corresponding values just happen to add up to 0
 
Upvote 0

Forum statistics

Threads
1,224,605
Messages
6,179,860
Members
452,948
Latest member
UsmanAli786

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