SUMIFS and Dynamic Array

Fonzie

New Member
Joined
Nov 27, 2023
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hello Everyone,

Is it possible to return the data within the 'U:AC' range without needed to place individual formulas in column 'U' with a manually entered range (AG:DY)?

Thanks

Business_Model_Highland_Trails_Master_March.xlsx
UVWXYZAAABACADAEAFAGAH
501
620202021202220232024202520262027202811/30/2012/31/20
7$0$0$7,300,000$0$21,582,175$12,899,302$7,871,173$2,360,206$0$0$0
820202020
9$0$0$0$0$1,335,825$0$0$0$000
10$0$0$0$0$1,943,667$555,333$0$0$000
11$0$0$0$0$6,206,483$0$0$0$000
12$0$0$0$0$75,000$150,000$0$0$000
13$0$0$0$0$73,311$146,623$0$0$000
D_Cash_Flow_Table_New
Cell Formulas
RangeFormula
U6:AC6U6=TRANSPOSE(UNIQUE(Setup!$C$87#))
U7:AC7U7=SUMIFS(AG7#,AG8#,U6#)
AG5:DY5AG5=SEQUENCE(1,sModelTerm+1,0,1)
AG6:DY6AG6=DATE(YEAR(sStartDate),MONTH(sStartDate)+AG5#,0)
AG7:DY7AG7=BYCOL(AG9#,LAMBDA(_col,SUM(_col)))
AG8:DY8AG8=YEAR(AG6#)
AG9:DY197AG9=IFERROR((O9#="S-Curve")*GK9#+((O9#<>"S-Curve")*($AG$5#>=L9#)*($AG$5#<=M9#))*(P9#/N9#),0)
U9:AC13U9=SUMIFS(AG9:DY9,$AG$8#,$U$6#)
Dynamic array formulas.
Named Ranges
NameRefers ToCells
sModelTerm=Setup!$F$10AG5
sStartDate=Setup!$F$8AG6
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

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