Dynamic SUMIFS on table with multiple columns of data?

wish2bflying

New Member
Joined
Oct 18, 2004
Messages
30
The lower table refers to the upper table. The upper table is somewhat successfully dynamic

(side note: if I could use:
=SUMIFS($G$4#,$M$4#,$O4#,$K$4#,Q$3#)
instead of:
=SUMIFS($G$4:$G$1000,$M$4:$M$1000,$O4#,$K$4:$K$1000,Q$3#)
that would be cool)

Is there any way to modify my formulas in the lower table to also make it dynamic? The periods in the source data will be added to over time. I need to sum each CritChar by Period from the source data (way, way too big to attach).

DraftInputs.xlsx
OPQRS
2Periods
3CodeCritChar8910
4CALBCRIT237.75425.5
5CMMICRIT125.758.757
6PROGCRIT135.520.2510.5
7CMMPCRIT150.750
8NCONCRIT31.55.253.5
9MANICRIT12.544.5
10INSRCRIT200.51.75
11FAIRCRIT1100
12
138910
14CRIT169.7533.7522
15CRIT237.754.527.25
16CRIT31.55.253.5
17CRIT4000
18CRIT5000
DAVID
Cell Formulas
RangeFormula
Q3:S3Q3=TRANSPOSE(UNIQUE(FILTER(K:K,(K:K>=0)*(ISNUMBER(K:K)),0)))
O4:O11O4=UNIQUE(FILTER(M:M,(ISTEXT(M:M)*(M:M>0))),0,0)
P4:P11P4=XLOOKUP(O4#,VISJOBCODES!A:A,VISJOBCODES!C:C)
Q4:S11Q4=SUMIFS($G$4:$G$1000,$M$4:$M$1000,$O4#,$K$4:$K$1000,Q$3#)
Q13:S13Q13=Q3#
P14:P18P14=INSPCOSTS!C4
Q14:S18Q14=SUMPRODUCT(($P$4#=$P14#)*($Q$3#=Q$13)*($Q$4#))
Dynamic array formulas.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,224,823
Messages
6,181,175
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