Solved

Excel Opens Slowly

Posted on 2014-12-18
8
96 Views
Last Modified: 2015-01-12
We open very large excel documents over the network that take between 7 - 10 minutes to calculate formulas or save the document on average. I wouldnt think that updating the formulas would have anything to due with the network since its working in a temp file; however, I could be wrong. When the document opens with automatic calculation the document takes a while to load, if it has manual calculation opens right away. The desktop we're opening them on runs Windows 7 Professional with 8GB of memory with an Intel Core 2 duo E8500 3.17 GHz processor. The network is a 1Gb connection at the serve and a 100Mbps connection on the client so I'm assuming there is a small switch somewhere between. Our first solution was to run the doucments straight off the server; however, it seems to run slower. The server only has 2GB of memory and has a Intel Xeon E5310 1.60 GHz processor. The spreadsheets are about 20MB in size. We need to get these sheets running faster as they run our business. Any ideas would be greatly appreciated.
0
Comment
Question by:TechGuy_007
8 Comments
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 500 total points
Comment Utility
Are you using User Defined Functions? Are there some huge calculations going on?

At the moment, there's not much to work on, other than there is a lot of calculating happening.
0
 
LVL 27

Expert Comment

by:Glenn Ray
Comment Utility
Do the documents open/calculate faster from locally-saved copies?  This would at least help determine if the network is an issue.

If there is no difference, you'll want to consider replacing any formulas that return record-dependent (i.e., un-changing) values into the actual values instead.  If you have unused columns with repetitive or blank data, remove those.
0
 
LVL 45

Expert Comment

by:aikimark
Comment Utility
Do you have settings that cause workbooks to automatically calculate on open or on save?

If you do have user-defined functions, please post that code.  We might spot some performance bottlenecks and suggest alternatives.
0
 

Author Comment

by:TechGuy_007
Comment Utility
The user says that the OFFSET function seems to be causing some of the issue.

There are hundreds if not thousands of macros they use.  It is a financial company.  No large/complex calculations are occurring.

The file does seem to operate a bit faster when opened locally.  Strangely enough, the CPU usage while "Calculating" is around 50%.  On the server, all 4 cores are at 100%
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 45

Expert Comment

by:aikimark
Comment Utility
can the formulas be rewritten to not use the Offset() function?
0
 
LVL 31

Expert Comment

by:Rob Henson
Comment Utility
A very general tip for improving performance. When Excel recalculates it works from top left to bottom right, therefore it is best to structure your spreadsheet such that calculations won't have to be done repeatedly.

For example, if a formula in B2 relies on the value of Z26 it will calculate B2 based on the current value of Z26 and then when it gets to Z26 and that changes, the value of B2 will have to be recalculated; effectively starting the process over.

Thanks
Rob H
0
 
LVL 10

Expert Comment

by:broro183
Comment Utility
hi,

There isn't much detail of the actual file design but, since any ideas are appreciated, I'll throw a few into the pot for use or consideration against a copy of the file:

- If you are using excel 2007 or newer, try saving the file using the "xlsb file format". It is a binary format & may cause quite a reduction file size.
- Change any formulae that contain full column references (eg "A:A") so that the formulae either refer to dynamic named ranges or Table range references. These ranges can be limited to the number of used rows within the file.
- Is there any setup code (other than UDF's, mentioned by Aikimark) that runs via AutoOpen or WorkbookOpen Event macros (please post it)?
- See Charles Williams' excellent website for lots of suggestions for optimising speed: http://www.decisionmodels.com/optspeed.htm
- To add to Aikimark's suggestion about removing Offset, an alternative approach to Offset is the use of Index:Index & Match.
- If vlookups are used, they could potentially be changed to Index/Match formulae: http://exceluser.com/formulas/why-index-match-is-better-than-vlookup.htm
- Remove as many volatile functions (eg Today(), Now(), Offset(...) etc) as possible & put repeatedly used functions into a single cell, which is then referenced by other formulae.

hth
Rob
0
 

Author Closing Comment

by:TechGuy_007
Comment Utility
We also tested with a faster computer and it made a noticeable difference.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now