Array summation issues

lasttccasey

New Member
Joined
Apr 28, 2015
Messages
4
Hey guys,

I'm trying to sum an array but the result is just the first value of the array. The code it pretty complex but here it is:
Code:
{=INDEX(B11:B16,MATCH(SMALL(B11:B16/C11:C16,ROW($A$1:INDIRECT("A"&$B$9))),(B11:B16/C11:C16),0))}  [I](Ctrl+Shift+Enter)[/I]
This part works fine, it forms a cell with an array of two numbers {2.5,3.5}. The issue arises when I try to sum them to get the value of 6. This is what I'm trying to do:
Code:
{=SUM(INDEX(B11:B16,MATCH(SMALL(B11:B16/C11:C16,ROW($A$1:INDIRECT("A"&$B$9))),(B11:B16/C11:C16),0)))}  [I](Ctrl+Shift+Enter)[/I]
This results in the same array, {2.5,3.5}. Now I've checked the following to code to see if it's possible and I did in-fact get a value of 6:
Code:
{=SUM({2.5,3.5})}
Aside from expanding the array into two cells and summing the two cells, I can't get it to sum the two numbers. It seems to be summing each individual value in the array, any ideas on how to fix this?

Thanks!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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