« Free Markets, Government Intervention in Health Care, or Why I'm Not a Libertarian | Main | Arguing About Religion on Another Site »

Excel 2010 - Fixing a Slow Solver, XP 64

Excel & Windows XP 64I use Excel a lot at work, and I use Solver pretty extensively for some calculations that almost have to be solved iteratively. One of those spreadsheets has grown pretty big, to the point where in Excel 2002 (Excel XP), it was taking around 35 seconds to solve a particular scenario.

When Excel 2007 came out, I thought I'd give it a try, but solver took forever to run. So, I decided to hold off on upgrading.

When Excel 2010 came out, I downloaded the beta version of it to give it a try. Again, solver took forever. The scenario that took 35 seconds to run in 2002 took 8 minutes and 7 seconds to run in 2010 - 13.9 times longer.

Well, this time I did a little more digging, and saw an option that I suspected might be giving it a problem. Under Options -> Advanced -> Formulas -> Enable multi-threaded calculation, I unchecked that checkbox. I ran solver again. Lo and behold it was down to 46 seconds - still slower than in 2002, but at least now it was something I could live with.

I went back and checked on a colleague's computer with Excel 2007, and even though I didn't time it this time around, disabling the multi-threaded calculation made a huge difference.

So, to anyone who's having a problem with Solver being mind numbingly slow, this may help you out.

As another side note for Office 2010, Microsoft apparently decided that they didn't want to support it for XP 64. For the beta version, at least, this isn't a problem. Just run the compatibility wizard (Start -> Run -> hcp://system/compatctr/compatmode.htm), and set the installation program to run under 'Microsoft Windows XP'.


Added 2010-10-01 Well, I've been using the officially released version of Excel 2010, and Solver has been working okay. One more thing to add - after you disable multi-threading in the options, exit out of Excel and start it back up again for the option change to take effect.

Added 2010-10-26 I've been working on a project where I've been having to use Solver quite a bit, and it's more buggy than I originally thought. First of all, there's a second option that needs to be disabled. In Options, under the Advanced tab, in the General category, look for 'Enable multi-threaded processing' (right below the 'Web Options...' button). Uncheck that option.

With those two options unchecked, Excel will run fine for a while. However, it periodically re-enables the 'Enable multi-threaded processing' (not calculating) on its own. Worse, it sometimes seems to re-enable it without showing the check box as checked. So, whenever you're getting ready to start a project for the day, go back and double check that 'Enable multi-threaded processing' is disabled. If it shows to be disabled but Excel still seems to be running slow, enable it, OK out of the options, then go back in and disable it. This is a pain, and very irritating that the program messes with options that I've already set, but at least it's been working for me for the past few weeks.

Comments

Have you checked out Google documents? They have a spreadsheet like capability, although I don't know if it's developed enough for what you need. They have been updating and improving Google docs like mad. A buddy who's a Google fanboy even more than I am thinks that Google docs is a huge blow to Microsoft Office. He says there isn't a reason anymore to ever buy an office product. Cloud computing may be what you need.

Have you also considered OpenOffice? I can't say from personal experience that it would work better, but it would be worth trying.

In a similar but completely unrelated way this may help as well. I switched one of my computers to Ubuntu and had some fantastic results with it in spite of the difficulty in using it. I was burning converting and compressing my DVD collection into mp4s so that I would have a digital copy of them for my entertainment server taking more than 3 hours per DVD on a high end server running windows. Then I switched to a computer with a 1/4 of the stats running Ubuntu and I completed it in only 35 mins using the same software. It wasn't entirely because of Ubuntu being awesome, but that was a huge part of it. It seems that Ubuntu really takes advantage of having multiple processors and is much better at resource management. Even while being in the middle of converting a dvd I was only using 800mb of RAM total, while just having Windows 7 on, not doing anything uses more than a gig. It's not nearly as hard as it used to be to convert to Linux because of the development of virtualization. As long as your hardware supports vt for 64bit than you can virtualize and save any os as a virtual computer. I personally like VMware, but a friend of mine really likes VirtualBox. Even Windows 7 has the option to virtualize windows XP, although I think that it's only the Ultimate version that does. There are still user friendliness issues in Ubuntu, it's not as polished as Win7, but once you get it running the right way for you it's awesome. All of the above might be solutions for you, especially since I know that you are a technically savvy kind of guy. Of course 45 secs isn't to long and might not be worth all the work of switching os. I'd at least try the first two you might be pleasantly surprised.

Using Windows 7 and Excel 2010, I struggled with a very slow Excel, with long delays after each mouse click or keystroke, until one day I noticed that some little purple triangles were slowly populating the upper left corner of rows having formulas. The light went on. I went to File|Options|Formulas, and unchecked "Enable Background Error Checking". That fixed it.

Thanks for this post. It helped me resolve an issue today with Excel 2010 on Windows 7.

I am running Excel 2010 under Windows 7 on a new PC.

In spite of implementing all of Jeff's suggestions, the identical file still runs 5x slower than in Excel 2007.

Are there any other 'fixes' available?

Thanks
Leslie

Yes - there is another fix. Remove all extraneous Add-Ins!

I have done this and my very large spreadsheet is now faster than in Excel 2007.

Thanks for all the useful suggestions

Hello aare using Wordpress for your sitte platform? I'm new to thee blog world but I'm trying to get
started and create my own. Do you need any coding
expertise to make your own blog? Any help would be greatly appreciated!

І have been exρloring fօr a bit for any higɦ-quɑlity articles or weblоg posts iin this sort off space .

Explօring in Yahߋo I eventually stumbled upon thіs website.
Reading this info So i am satisfued to convey that I've an incгedibly excellent uncanny feeliոg I
came upon just what I needed. I such a lot undoubtedloy will make certain tօ do not fail tto remember tҺiѕ web site and provides it a glance regularly.

Everything is very open with a really clear
clarification of the challenges. It was truly informative.

Your website is useful. Thank you for sharing!

Having read this I thought it was extremely enlightening.

I appreciate you finding the time and energy to put this
information together. I once again find myself
spending a lot of ime both reading and leaving comments. But so what, it
was still worthwhile!

ɦello there aand thannk you foг your info – I Һave dеfinitely picked
սp something new fгom гight here. I Ԁid however
expertise ɑ fеw technical points uѕing tɦis web site,
as Ӏ experienced tօ reload tҺe web site ɑ lot of times
previous tto І coսld get it to load correctly.
Ι Һad been wondering if yoour web host іs OK?
Not that ӏ am complaining, but slow loading instances times ѡill somеtimes affect youhr placement
іn google ɑnd caո damage your quality sccore if ads ɑnd marketing ԝith Adwords.

Ԝell I am adding thіs RSS toο my email aոd cߋuld lօοk ߋut
for а lot more of yоur reapective interesting content.
Ensure tҺat yyou update tɦis aǥain very soon.

Grea article, just what I needed.

Heya this is kind of of off topic but I was wanting to
know if blogs use WYSIWYG editors or if you have to manually code with HTML.
I'm starting a blog soon but have no coding skills so I
wanted to get advice from someone with experience. Any
help would be enormously appreciated!

What's up, its pleasant article concerning media print, we all be familiar with media is a wonderful source of facts.

Howdy, i read your blog occasionally and i own a similar one
and i was just wondering if you get a lot of spam comments?
If so how do you reduce it, any plugin or anything you
can advise? I get so much lately it's driving me crazy
so any help is very much appreciated.

My partner and I stumbled over here from a different web page
and thought I may as well check things out. I like what I see so now i
am following you. Look forward to looking over your web page yet again.

Salutations ! Très utile dans ce cas particulier message !
Ce sont les petits changements qui produisent les grands
. Merci beaucoup

buy lipitor 80mg generic buy atorvastatin 20mg without prescription atorvastatin 40mg pills

brand ciprofloxacin 500mg - cephalexin 125mg canada augmentin 375mg cost

cheap cipro 500mg - where to buy myambutol without a prescription buy augmentin paypal

order ciplox 500 mg for sale - order amoxicillin 500mg generic
order erythromycin pill

order flagyl 200mg - where to buy azithromycin without a prescription buy zithromax 250mg for sale

buy stromectol 12mg - buy cefixime 200mg without prescription sumycin pills

order valtrex 500mg sale - nemasole generic zovirax 800mg for sale

ampicillin cost penicillin for sale purchase amoxicillin without prescription

buy flagyl 200mg generic - order cefaclor 250mg where can i buy zithromax

buy furosemide no prescription - atacand 8mg canada buy capoten tablets

order glucophage for sale - cipro brand lincomycin 500 mg ca

buy zidovudine 300mg online pill - buy generic allopurinol

clozapine 100mg price - buy accupril online buy pepcid 40mg sale

clomipramine 25mg ca - anafranil 25mg sale order doxepin online cheap

cheap seroquel 100mg - bupropion without prescription buy eskalith medication

hydroxyzine 25mg cheap - buy buspin for sale endep 10mg sale

amoxiclav oral - buy acillin pill cipro cheap

amoxicillin brand - buy generic ceftin buy ciprofloxacin 1000mg generic

order zithromax 500mg sale - ciprofloxacin 500 mg over the counter buy ciprofloxacin 500mg generic

order cleocin 150mg for sale - chloramphenicol without prescription chloramphenicol buy online

ivermectin 3 mg oral - order doxycycline for sale buy cefaclor 500mg generic

albuterol inhalator price - buy generic phenergan for sale theo-24 Cr tablet

buy generic depo-medrol over the counter - methylprednisolone price astelin 10 ml nasal spray

buy desloratadine for sale - buy triamcinolone 10mg online ventolin where to buy

buy cheap micronase - purchase glucotrol for sale dapagliflozin 10mg drug

glycomet uk - order acarbose 50mg online cheap purchase acarbose pills

order prandin for sale - buy jardiance medication buy empagliflozin 25mg for sale

order rybelsus 14mg - buy desmopressin generic desmopressin generic

terbinafine order online - diflucan pills purchase grifulvin v generic

buy nizoral paypal - buy lotrisone medication buy itraconazole 100mg without prescription

order famciclovir 250mg sale - buy acyclovir generic buy valcivir 1000mg

Post a comment


TrackBack

TrackBack URL for this entry:
http://www.jefflewis.net/blog/jlnet-tb.cgi/305

Archives

Selling Out