Workbook details:
-Large workbook with many complex calculations
-By hand, I've estimated the full re-calc time at around 4 hours (due to about 20 scenario analyses, aka data tables)
-When not calculating data tables, about 3 minute re-calc time
What I need help with:
(Sorry, I cannot post tables into the thread from my office.)
There are 3 general columns, and 1 column that I'm trying to sumif.
ColumnB: Month
ColumnC: Day of Year (1-365)
ColumnD: Hour of Day (1-24)
Here's how it looks
Month|Day|Hour
Jan|1|1
Jan|1|2
Jan|1|3
...
Jan|2|1
Jan|2|2
... all the way to
Dec|31|24
I need to populate tables where the column header is Month, and the row header is Hour of Day.
Currently, I use the sumproduct formula below.
=SUMPRODUCT(($B4=ColumnModel!$D$3:$D$8762)*(C$3=ColumnModel!$B$3:$B$8762)*ColumnModel!$F$3:$F$8762)
$b4: Month column header
c$3: Hour of day row header
F:F: Sum this
Entered as an array
This formula works, however I believe it is what causes 3 min recalc. Simple sum() would calc much faster, but would be a pain to enter 12*24 times.
Does anyone have any ideas for a formula that I can enter once, and will calculate faster? There are about 10 of these sumproduct() tables, and I'd like to take it from 3 min recalc to 30sec-1min, if possible.
-Large workbook with many complex calculations
-By hand, I've estimated the full re-calc time at around 4 hours (due to about 20 scenario analyses, aka data tables)
-When not calculating data tables, about 3 minute re-calc time
What I need help with:
(Sorry, I cannot post tables into the thread from my office.)
There are 3 general columns, and 1 column that I'm trying to sumif.
ColumnB: Month
ColumnC: Day of Year (1-365)
ColumnD: Hour of Day (1-24)
Here's how it looks
Month|Day|Hour
Jan|1|1
Jan|1|2
Jan|1|3
...
Jan|2|1
Jan|2|2
... all the way to
Dec|31|24
I need to populate tables where the column header is Month, and the row header is Hour of Day.
Currently, I use the sumproduct formula below.
=SUMPRODUCT(($B4=ColumnModel!$D$3:$D$8762)*(C$3=ColumnModel!$B$3:$B$8762)*ColumnModel!$F$3:$F$8762)
$b4: Month column header
c$3: Hour of day row header
F:F: Sum this
Entered as an array
This formula works, however I believe it is what causes 3 min recalc. Simple sum() would calc much faster, but would be a pain to enter 12*24 times.
Does anyone have any ideas for a formula that I can enter once, and will calculate faster? There are about 10 of these sumproduct() tables, and I'd like to take it from 3 min recalc to 30sec-1min, if possible.