My excel file keeps freezing - excel

I have a file with the usual sumifs and vlookups. Nothing complicated computationally!
It has a lot of conditional formatting
As I remove the formulas the wait cursor remains there for shorter and shorter.
When I remove all the formulas and the formatting the file is fine as in I do not get the wait cursor. What is left is a file with no calculations and flat data.
Even with calculations that are just summing I am getting the wait cursor
I have tried excel open and repair. This does not work.
My sumifs have been changed to refer to a finite array as opposed to whole columns (which are also finite for the pedantic! but say these are infinite)
I think what I want to know, is what is known to cause a wait cursor to appear in excel? What can I do to minimize the time that the wait cursor appears?
I have looked on google and am not finding anything useful or relevant to my problem
I am starting to realise that wait cursor seems to always appear for a split second when I insert a column! however with my few sumifs formulas the wait cursor is getting longer and longer. Is it possible for sumifs formulas to calculate quickly but add to the wait cursor time the more sumifs you add?
Old question :
I have an excel file that keeps freezing
It calculates and saves very quickly. it is only 3090kb
Every time I insert a column or add a sheet for example I get the egg timer and if I click it starts to say 'not responding'
It only happens with this file so I don't believe it is my computer or excel version
the file was working fine before. I extended the formulas in about ten tabs (although not that many calcs added) and then it started to freeze
even if I delete every tab so there is just a blank sheet in the file it still freezes
Please help. Thanks
Please do not answer yet, I am still investigating and will get back to this. thank you
EDIT: The WAIT cursor not egg timer

Check if there are any hidden sheets with the data that is slowing it down.
Right click on sheet tab and unhide.
Make this practice to use this Macro or set Row Height to 15 so they don't Wrap. Wraptext in large excel files causes it to slow down to the point of freezing:
activesheet.cells.wraptext = false

#Jasmine - I wasn't suggesting that you are making anything up, nor was I my comment intended to be facetious. My point was that your question sounds self-contradictory to me.
When learning a new coding language, learning which questions to ask and how to phrase and share your problem is a skill in itself.
The fact that your file functions (a.k.a. calculates) 'properly'
until more identical formulas are added, sounds to me like it's no longer calculating properly, so I was unsure what you meant.
As for the `size doesn't matter' comment, it's another valid point about how some people ask questions when mistakenly thinking that file size has any significance. I've encountered and solved thousands of [seemingly unique] issues over the years but the last time I looked at the size of my file would have been back when it would've had to fit on a diskette.
Similarly, I often see questions here where the "asker" includes irrelevant statistics like the number of records in their database, as if you need to code differently for 10 records versus 10,000,000 (which isn't generally true, btw). I can't help but chuckle at some questions where the O.P. spends more time describing the formatting of a cell than the formula it contains (that's causing the issue). But from their point of view, it's significant.
Think of the people reading your question as sitting in your office blindfolded while you explain your problem. If you're asking for (free) help from others who cannot see what you can, with zero previous knowledge, does it not make sense to make a question absolutely as clear as possible -- even if that involves Googling a word to update your terminology that you know is incorrect? (or is the onus on the reader to figure out what you mean?
**Did you click the links I posted for you (above) to learn how to better communicate your problem and edit your question to add more specific examples and more information as requested and described in those links? (or was that a "waste of time" as well?) There were specific questions for you as well.
This site was frustrating for me when I first joined too but the rules and posting etiquette were not made immediately known to me by a stranger with a few seconds to spare. I had a major learning curve and some pretty nasty comments from people since I was breaking rules I wasn't even aware of. I am actually breaking a major rule right now, can you identify it perhaps by familiarizing yourself with the site in the Help Center?
Hint: I'm probably going to get "scolded" for the method I am using to give you this advice as opposed to the short comments and links I would normally post on a question that needs more information so I or others can give an informed answer. Some people don't like posting a question and not getting a custom written set of code promptly written just for them. Some people are grateful for every bit of advice they can get from a stranger, others never come back and find a site more suited to their needs.
Remember, there is a ton of existing information on this site and others because it's very unlikely that whatever problem you're having has been experienced - and solved - by many, many people before you. By researching as much as possible, you learn both about your problem and about which questions get "better" answers than others.
Anyhow I hope you read fast, this answer might not be here long (I wanted to be clear but without a whole whack of comments back and forth...)
Jasmine, if you're still angry with me, you can "get me back" if you can find the correct Flag button. The answer to my question for you in is there too... (It's not option #2, as lest not intentionally!)
Good luck & happy holidays to all!

Related

Keyword search excel

So I am terrible with excel and my current job requires me to comb through a ton of data. Here's what I am trying to do... I have about 40 pages of data in an excel sheet - it contains about 200 different programs and what each is capable of doing. Then, I have a separate list of people's problems that our programs may be able to help solve. Both lists are written in paragraph format in a word doc, but I have moved it to excel.
I am trying to figure out a way to match just the name of the program to just the title of the problem, by searching/comparing the description of the problem with the description of our program. In the past, doing this manually has taken nearly 80 manhours and it just seems like a waste.
Is there even a way to do this?
How difficult would it be for an excel novice to do, seeing as it's on a standalone system - where I can't copy/paste here?
Thanks in advance for any help/advice. I tried to include examples.
Customer problem
Potential solution

Excel SUMPRODUCT and ROW Function Error

I keep getting a #NAME? error with this function:
=1/A5*SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))))
(EulerPhi is a user defined function that does Euler's Totient function)
Does anyone know what could be causing this? Or is there a better way to sum up this from i=1-24 such that
=1/A5*SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/i),1)=GCD(A5,B4)/i,1,0)*EulerPhi(i)*COMBIN(A5/i,B4/i)))
Thanks for your help!
The correct answer to your question "what could be causing this" is: lack of troubleshooting.
Asking why a formula isn't working, without sharing the data that it's looking at, or the code for custom functions, is like if I were to call you and say "what color is that thing?" ... You'd have no idea what I was asking (even though you know what colors are).
Troubleshooting
Your question's title indicates that the problem is [SUMPRODUCT] or [ROW]. I can only assume those terms were randomly chosen since:
you didn't indicate why you suspect those functions specifically
explanation as to why those are any more of an issue than others in the formula like [ROW], [COMBIN] or even custom function [EulerPhi]
you haven't checked back to answer questions about your post since a few minutes after posting.
Troubleshooting Steps
The five-step troubleshooting process consists of the following:
((More detail from the [source])(https://www.myodesie.com/wiki/index/returnEntry/id/2956#Troubleshooting%20Steps))
Verify that a problem actually exists.
Isolate the cause of the problem.
Correct the cause of the problem.
Verify that the problem has been corrected.
Follow up to prevent future problems.
You stopped at Step 1. Even if the next step was:
Post the problematic line as a question on Stack Overflow.
. . . you still couldn't expect a reliable solution since nobody else has the information required for steps 2,3 & 4. (Also, this isn't SO's purpose. Please see the tour.)
Isolating the Problem
Normally, I wouldn't have spent this much time on an "unattended" Question, missing information required to solve the problem, but I'm documenting my troubleshooting steps and this works as a partial an example.
For the sake of illustration I've broken this down into all 25 formula sections. (15 without repeats). Obviously it's not necessary to go this extent, when checking such a simple formula.
(Download a copy of the worksheet here.)
Thus, I can't know for sure where the problem lies without knowing:
- the value of A5
- the value of B5
- the contents of ROW(1:24)
- the code behind custom function EulerPhi
. . . but I can almost guarantee it comes down to:
1. The custom function EulerPhi, and
2. Unintended effects of referring to range ROW(1:24).
You can confirm my theory by checking if this formula calculates properly:
=EulerPhi(ROW(1:24))
If that happens to be working as it should, then copy-and-paste the following 15 forumlas to a blank area of the same worksheet where the data is. Your problem lies with the errors you get:
=1/A5*SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))))
=A5*SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))))
=SUMPRODUCT((IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))))
=(IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24)))
=IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)*EulerPhi(ROW(1:24))*COMBIN(A5/ROW(1:24),B4/ROW(1:24))
=IF(FLOOR((GCD(A5,B4)/ROW(1:24)),1)=GCD(A5,B4)/ROW(1:24),1,0)
=FLOOR((GCD(A5,B4)/ROW(1:24)),1)
=GCD(A5,B4)/ROW(1:24)
=GCD(A5,B4)
=EulerPhi(ROW(1:24))
=COMBIN(A5/ROW(1:24),B4/ROW(1:24))
=A5
=B4/ROW(1:24)
=B4
=ROW(1:24)
(The formulas were just copies from the image, with duplicates removed.)
By this point, you will have either solved the problem, or at least, have a specific question to ask. Please, read tips on what example information needs to be included here: How to create a Minimal, Complete, and Verifiable example.
Proper troubleshooting methods seem time consuming but the elimination process gets quicker with practice, and will save a lot of time and frustration (for yourself and others) in the long run.

Importing from Excel to Visma Contracting

My company is using this program called Visma Contracting. This program is used to type inn a product number (example: 10 240 75) and how many of this item was used (example: 4). So these numbers we (me and my co-workers) put into an excel sheet and deliver to the guy in charge of the systematizing these (A column being product number, an B column being the used amount). From there it is retyped from excel to Visma. This is madness! There must be a way for the two programs to talk to each other? I have talked to the Visma support and they are giving me nothing else then a no. I wish i could give more info about this Visma stuff, but i fear that it is a locked program. I have also been searching around for a 3rd party software that can eliminate this massive annoying problem, with no luck. Does anyone have anything that might ease my itch?
Thanks in advance!
Sounds impossible but...
If you want to try blind keystrokes check out Mouse and Keystroke Recorder I have some experience automating stuff with this program. It works sometimes with varying degrees of reliability.
Be forewarned that nobody recommends this as it could cause problems. It simply plays back keystrokes without being aware of what it is doing. When used with care it can work but it could be dangerous.
Or use SendKeys from Excel VBA; that might work better as the data is already in Excel. But the same warnings apply. Use at your own risk.

How to circumvent the maximum number of timeouts in a workflow?

When I'm designing a workflow using the built-in GUI, I noticed that after the fifth depth of timeout(timeout until x minutes, then do...) I can no longer add more steps. Vertically, I can enter many lines but depth-wise (i.e. to the right) it seems to give me a no-no and I can't add a sixth wait until, then do... clause.
Is it possible and I'm experiencing some other problem without realizing it or is it a limitation by design? Can it be worked around? I'm targeting both on-premise and on-line installations.
You could put the steps on the same depth (assuming that you're doing something besides the delays) - so they are aligned sideways. That way, you can enter arbitrary many waiting statements (i.e. 12, because that's what I've tested).
As for the five levels of depth, I've never run into a situation when I needed it. I suggest that you post a bounty if you'd like to learn more. But you might want to do that after the new years eve. Right now people are busy with that life thingy, not attending the only purpose in life (e.g. logging in onto Stack Overflow).

How can I drag rows from a DataGrid and drop them in Excel?

I'd like to be able to drag and drop from a DataGrid in a Flash application into an Excel spreadsheet. Is this possible? If so, how do I implement this?
Edit: Nine days without so much as a comment is pushing me to believe one of the following things:
This question is so easy to answer that everyone who reads it thinks, "Ah, the next guy will get it. This taco isn't gonna eat itself."
No one knows what Microsoft Excel is.
I'm so inept at coding for Flash that everyone who reads this question promptly dies from a stroke brought on by uncontrollable, hysterical laughter. Kind of like what happens when a person is exposed to the Joker's laughing gas.
The entire internet has been suddenly and completely vacated creating a vast, digital wasteland (except for me, obviously).
Adobe's PR person in charge of their Twitter account recently posted something highly offensive and everyone has finally gotten organized and successfully boycotted something without inviting me to the party.
Anyone want to clue me in to which one is, in fact, the truth?
Or maybe just tell me that what I want is stupid/impossible/not worth the effort?
The simple answer is no, it is not possible. Have you ever coded AS4? I spent 6 months coding stupid loops that randomly draw colored lines. It was terrible. Get out while you still can. I was coding some tangents outside by my school when a couple of engineering grads started making trouble. I coded one bad batch and my professor said "You're moving with the retards to coding 101" I hopped on my segway and rode home. I then hung myself.

Resources