Using SUMIF with Dynamic Arrays to sum column totals

Matt7777777777

New Member
Joined
Nov 16, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I am trying to use a sumif with a sheet that has been set up with dyanmic arrays (see below image) I need to sum each column based on the flags "A,B or C". Is anyone able to suggest a formula that will spill and allow me to do this?
 

Attachments

  • Capture.PNG
    Capture.PNG
    112 KB · Views: 59

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
You are summing each column, aren't you?
With " I need to sum each column based on the flags "A,B or C". ", what exactly is your desired result?
 
Upvote 0
You are summing each column, aren't you?
With " I need to sum each column based on the flags "A,B or C". ", what exactly is your desired result?
Did you see the attached picture? I am wanting to use sumif or alternative formula in conjunction with the dynamic array. I.e the formula should spill after being input. However, the standard sumif function does not spill. I need a workaround for this.
 
Upvote 0
Is P&L range dimension fixed? from row 25 to 46?
Possible to 50, or 100?
Tell us which array is dynamic
 
Upvote 0
Is P&L range dimension fixed? from row 25 to 46?
Possible to 50, or 100?
Tell us which array is dynamic
P&L Range can be fixed. All components are currently built on dynamic arrays so the model period and entire model will extend and contract based on a single input.
 
Upvote 0
cell I52,
=SUMIF(F25:F46, F52, OFFSET(I25:I46,, SEQUENCE(, COLUMNS(I15#), 0)))
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,649
Members
448,975
Latest member
sweeberry

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