I have monthly budget, actual and forecast for 5 years across the project
costs tab, with columns for project stages, workstreams, departments, Expense
type and resources name, etc. All these informations are brought into the
reporting tabs and i use sumproducts to look for the year, the month, the
workstream, expense type and project stage: my formula is as follow:
=SUMPRODUCT(--($A$38='Project Costs'!$A7:$A65536)*--($A$2='Project
Costs'!$L$7:$L$65536)*--(B$38='Project Costs'!$CJ$6:$EQ$6),'Project
Costs'!$CJ$7:$EQ$65536)/1000
This formula is on every report tabs (currently 4) as the project manager
wants to see spendings on different project stage and each worksteams under
the project stages.
It takes over 10 mins to calculate, and sometimes it crashes. What can I do
to reduce the time for it to calculate? I've tried the turning off the
calculate automatically option, but still when it's refresehed or saved, the
problem comes back. Any suggestions? Thanks a lot!!
I would suggest that you use less cells by restricting the number of ros and
columns being used in the formula to those cells actually containing data
(or which are likely to contain data). Or you could use Dynamic Range Names.
Alternatively you could probably use Pivot Tables to provide much faster and
more flexible reporting.
Charles
___________________________________
The Excel Calculation Site
http://www.decisionmodels.com
"vivi" <vi...@discussions.microsoft.com> wrote in message
news:23279BA1-B642-43BD...@microsoft.com...
This is very useful as it gives me indication of why my excel workbook keeps
crashing. To reiterate this - it actually takes 10 mins to calculate 20%..:(
The reason for using the max number of rows was due to uncertainty on number
of entries. I will try again using smaller ranges like up to 10000
I thought of using pivots, but wasn't sure on how to calcuate varaiances and
the formats and presentations of pivot tables are not in accordance with the
company's other reports.
insert>name>define>name colA>in the refers to box
=offset($a$1,0,0,counta($a:$a),1)
Now colA will be SELF adjusting with additions or deletions.
colB
=offset(cola,0,1)
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"vivi" <vi...@discussions.microsoft.com> wrote in message
news:9A1D4F58-3683-4D36...@microsoft.com...
Just to make sure I understand this as I am not too familiar with this
brilliant formulas using offset and counta combining with name ranges:
Does that mean for all the references I use in sumproducts I have to replace
it by the names ranges?
I have to use the offset formula to define the first cell of the range and
use counta to find the last cell of the column? and what about colB? is this
for the new name range?
My data is broke down into 3 sections : Budget 1st section which is Col V:CH
, Actual: Col CJ : EV and Forecast is Col EX:HJ
Can I still use your suggested forumla, maybe naming the column CJ:EV as
Actual ? Bearing in mind the rows depending on how rows the users are filling
out and column A will always be filled if data entry is required.
=SUMPRODUCT(--($A$38=ColA)*--(B$38=ColB,Actual)/1000
Thanks for all your help, it's very appreciated, finally see a light at the
end of tunnel.
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"vivi" <vi...@discussions.microsoft.com> wrote in message
news:E6AACB94-6042-4530...@microsoft.com...
--
Biff
Microsoft Excel MVP
"Don Guillett" <dguil...@austin.rr.com> wrote in message
news:uOZgSE%23AKH...@TK2MSFTNGP05.phx.gbl...
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguil...@austin.rr.com
"Don Guillett" <dguil...@austin.rr.com> wrote in message
news:uOZgSE%23AKH...@TK2MSFTNGP05.phx.gbl...