#1   Report Post  
Posted to microsoft.public.excel.misc
fselker
 
Posts: n/a
Default Freezing on SumIf

I've done more testing, and I don't think this is the answer. More to follow.

"fselker" wrote:

In case you didn't get Jim's explanation of this:

Hi Frank-



COUNTIFs can be slow, but that is not the problem with your workbook. The
problem is that Excel's smart recalc is turned off by the sheer size of your
workbook and so it has to recalc almost every formula for every COUNTIF.



Excel normally keeps track of what cells each formula depends on and does
not recalc a formula unless a precedent cell has changed value. This is what
I mean by smart recalc. But when there are too many formulas or they are too
complex Excel stops doing this and recalcs cells whether they need it or not.
That's what you're seeing. Each time Excel calcs one of your COUNTIFs it
sees it depends on the range H17:H56693 so it first recalcs that range.
(When you do an F2, Enter, Excel just calcs that cell, not precedent ranges.)



But you can easily reduce the number of formulas and make your calcs far
faster. Select the range H17:H56693 and convert it from formulas to values
(First do a Copy then and then do an Edit, Paste Special, Values right in
place). Now put an "=" in front of the F3 formula and copy it and press F9.



FYI, Excel 12 (the version now in beta test) can keep track of more
dependencies so it calcs your sheets as is.



Jim Rech


"Kimmerz321" wrote:


I'm working with a rather large workbook (~50,000K). I have a page set
up that does a bunch of SumIfs to return results. I'm not sure when
this happened, but now, everytime I try to recalculate the formulas
after the data has been refreshed, the sheet locks up and I have to
ctrl+alt+delete out of it. I'm pulling the data I'm using in these
SumIfs from 4 sheets with a total of around 150,000 rows. Has anyone
ever heard of this problem, and is there anything I can do to fix it?
Suggestions? I'm at the end of my rope here.


--
Kimmerz321
------------------------------------------------------------------------
Kimmerz321's Profile: http://www.excelforum.com/member.php...o&userid=24105
View this thread: http://www.excelforum.com/showthread...hreadid=513397


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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
SUMIF with Mutiple Ranges & Criteria PokerZan Excel Discussion (Misc queries) 5 August 4th 05 10:31 PM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM
help with "criterea" in the sumif function [email protected] Excel Worksheet Functions 3 December 17th 04 06:27 PM


All times are GMT +1. The time now is 05:32 PM.

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

About Us

"It's about Microsoft Excel"