Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default SUMIF has slowed down the workbook

I have created a worksheet which uses a large number of SUMIFs to create a
table (36 columns by 75 rows therefore 2700 SUMIFs) which picks the results
from a flat file over 16000 rows by 4 columns. The data is in columnD and the
variables in columnsA-C. The variables correlate to the table row and column
headings I have created and one other cell with a value chosen from a
drop-down. The workbook has slowed down considerably and takes a while to
recalculate each time I amend something else in the workbook.

I do not want to take off the automatic calculation and pivot tables are not
an ideal solution.

Does anyone have any advice as to how to speed things up?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 968
Default SUMIF has slowed down the workbook

SUMIF is quite fast compared to other functions.

If the flatfile data does not change very often I would suggest sorting it
by columns A-C and then either writing a UDF that exploits the fact that the
data is sorted, or precalculate small contiguous subset ranges so that you
can either use SUM or SUMIF on much smaller ranges (SUM is faster than
SUMIF)

There is an example of this sort of approach at
http://www.decisionmodels.com/optspeedk.htm

Charles
___________________________________
The Excel Calculation Site
http://www.decisionmodels.com

"Jude" wrote in message
...
I have created a worksheet which uses a large number of SUMIFs to create a
table (36 columns by 75 rows therefore 2700 SUMIFs) which picks the
results
from a flat file over 16000 rows by 4 columns. The data is in columnD and
the
variables in columnsA-C. The variables correlate to the table row and
column
headings I have created and one other cell with a value chosen from a
drop-down. The workbook has slowed down considerably and takes a while to
recalculate each time I amend something else in the workbook.

I do not want to take off the automatic calculation and pivot tables are
not
an ideal solution.

Does anyone have any advice as to how to speed things up?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUMIF to clsoed workbook Susan Excel Discussion (Misc queries) 1 July 15th 08 09:56 PM
Why has my mouse pointer response slowed to a crawl speed ? Roddyman Excel Worksheet Functions 1 May 2nd 08 05:37 AM
Sumif across workbook tabs tj Excel Worksheet Functions 2 September 6th 06 08:07 AM
with SP2, has the rand() function been slowed down ? zan Excel Discussion (Misc queries) 3 August 22nd 06 02:13 PM
I need to use the sumif for a workbook, not a worksheet over my head Excel Worksheet Functions 3 August 8th 06 04:10 PM


All times are GMT +1. The time now is 02:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"