Spilled array formula

tana

New Member
Joined
Jan 22, 2021
Messages
32
Office Version
  1. 365
Platform
  1. Windows
Hi,

Can I have your help on a spilled array formula to summarize the values by year?

The following is how my data was set up. The highlighted rows are sum of below non-highlighted rows.
Pic1.jpg


My main purpose to have one spilled formula in cell BD235 to spill over BD235:BI242, which will sum value by categories in BB235:BB242 and by "Prev Yrs, 2024, 2025... 2028". I can only achieve one column at a time now, but can't spilled over all columns. Thanks, appreicated!

Pic2.jpg
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
To get more potential helpers (& faster) I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with.
(If you have trouble with XL2BB, review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of the XL2BB Instructions page linked above.)
 
Upvote 0
Give this a try...

Excel Formula:
=MMULT(--(TOROW(B2:B224)=BB235:BB242),--BD2:BI224)

It should work, assuming there's no text or error values in range BD2:BI224.
 
Upvote 0
Solution
Give this a try...

Excel Formula:
=MMULT(--(TOROW(B2:B224)=BB235:BB242),--BD2:BI224)

It should work, assuming there's no text or error values in range BD2:BI224.

😮 OMG, You nail it again!!! Thanks again for your help, really really really appreciated!

Pic3.jpg
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,155
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