+ Reply to Thread
Results 1 to 18 of 18

Why is my sheet running so slow??

  1. #1
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Why is my sheet running so slow??

    Hi, I found membet Jiptastic tread with this same or similar problem.
    http://www.excelforum.com/excel-gene...g-so-slow.html
    The workbook is a register journal (sheet "Zurn"). First I fill sheet "Priedas1" or "Priedas2" and with macro "Perkelti į zurnalą" data goes to "Zurn". It seams, that problem groving with every new row in sheet "Zurn". Also, if I try, as in Jiptastic problem, a basic action - tu cut ant paste, or insert a row, it takes VERY long. Could anyone help me to solve this problem? I tried to remove conditional formating, but it doesn't get any better.

    Priedai Nr1, Nr2 2014,03,26.xlsm

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Why is my sheet running so slow??

    I think your problem is the formulas at the bottom of your Zurn sheet like this:
    =SUMIFS(H:H,D:D,E1574,A:A,">"&"2012.12.31",A:A,"<"&"2014.01.01")
    Get rid of the whole column references and change to H4:H1565 or something.

  3. #3
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Why is my sheet running so slow??

    Quote Originally Posted by ragulduy View Post
    I think your problem is the formulas at the bottom of your Zurn sheet like this:
    =SUMIFS(H:H,D:D,E1574,A:A,">"&"2012.12.31",A:A,"<"&"2014.01.01")
    Get rid of the whole column references and change to H4:H1565 or something.
    But don't you think, what if would solve the problem, it wouldn't depend of amount of filled row number? - when it was few rows - was no any problems!

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Why is my sheet running so slow??

    Ok, I don't know then, maybe somebody else can give you a better solution.

  5. #5
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Why is my sheet running so slow??

    no any more suggestions to solve the problem?

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Why is my sheet running so slow??

    I have recalculation timers installed on my computer to time the recalculation of formulae. The formulae in K1599:K1601 were nearly 400 times faster when the whole column references were changed to limited ranges of a couple thousand rows.

    The Zurn worksheet is slower than the rest by nearly that same margin.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Why is my sheet running so slow??

    Now I'm changing formulas in all sheets (because all excel is extemely slow) to limited ranges and hopeful it will help. But could You say me, if it really will help, why this problem grows with amount of rows, because formulas all the time was with whole column?

  8. #8
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Why is my sheet running so slow??

    I do not know how the excel functions are coded but I would guess as they have more non-zero terms, the calculations become more complex.

  9. #9
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Why is my sheet running so slow??

    I changed all the formulas in which were all columns counted. In attachment Priedai Nr1, Nr2 2014,03,27.xlsm all with changed formulas, but no any better - inserting, pasting extremely slow. Could anybody now, what else could be?

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Why is my sheet running so slow??

    Give this a try and see if it works any better: Using formula, worksheet and workbook timers, the indication is that it should be faster. The key word is should.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Why is my sheet running so slow??

    Quote Originally Posted by newdoverman View Post
    Give this a try and see if it works any better: Using formula, worksheet and workbook timers, the indication is that it should be faster. The key word is should.
    I'm sorry, I do not understand what you offer? do you offer to use a timers? I never used it and, actually, do not know anything about it i excel, can you explain?

  12. #12
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Why is my sheet running so slow??

    There were several formulae under row 1566 that had a strange date format (maybe due to Excel versions) that didn't calculate properly for me even though they didn't produce errors. The time of execution was slower than when I changed the date formats to match what you have in your data. I also ran a format cleaner to delete excess formatting and reset the last row of ranges on all worksheets.

    I have macros installed on my Excel that measures the time of execution of single formula or range of formulae, measures the time of execution of all formulae in a worksheet (re-calculation time) and one that measures the time to re-calculate the entire workbook.

    The excess format cleaner resets the last row of data ranges so that excess empty cells are not calculated. Excess formatting is also removed at the same time.

  13. #13
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Why is my sheet running so slow??

    Quote Originally Posted by newdoverman View Post
    There were several formulae under row 1566 that had a strange date format (maybe due to Excel versions) that didn't calculate properly for me even though they didn't produce errors. The time of execution was slower than when I changed the date formats to match what you have in your data. I also ran a format cleaner to delete excess formatting and reset the last row of ranges on all worksheets.

    I have macros installed on my Excel that measures the time of execution of single formula or range of formulae, measures the time of execution of all formulae in a worksheet (re-calculation time) and one that measures the time to re-calculate the entire workbook.

    The excess format cleaner resets the last row of data ranges so that excess empty cells are not calculated. Excess formatting is also removed at the same time.
    Can you send me back my file with your done changes? If I understood, you tryed changes just in a few cells? If yes, can you mark these cells(for example, yellow colour), that I could do this same (about time format) for the orhers?

  14. #14
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Why is my sheet running so slow??

    I have already uploaded the file...message #10

    The changes are in the summary area under your data approximately row 1570 to approximately row 1605 in column H and column K where there were dates in the formulae. In addition to the date format used, I changed the ranges in the formulae from whole columns to limited ranges. This was a case of try something, test the time, try something else and time again until the optimal time was achieved.

  15. #15
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Why is my sheet running so slow??

    Quote Originally Posted by newdoverman View Post
    I have already uploaded the file...message #10

    The changes are in the summary area under your data approximately row 1570 to approximately row 1605 in column H and column K where there were dates in the formulae. In addition to the date format used, I changed the ranges in the formulae from whole columns to limited ranges. This was a case of try something, test the time, try something else and time again until the optimal time was achieved.
    I tried that file. Maybe your time calculater shows better result after changes, but in practise,when I try insert or paste enything, I really do not feel any faster work. If you made change with the dates in formulae, maybe it is necessary to do tris same in all column A ?

  16. #16
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Why is my sheet running so slow??

    Column A of your workbook seems to be ok as it caused no problems.

    Can you describe your computer? Processor, Ram, Free space on the Hard Drive etc.

  17. #17
    Registered User
    Join Date
    04-07-2014
    Location
    Kaunas, Lithuania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Why is my sheet running so slow??

    Quote Originally Posted by newdoverman View Post
    Column A of your workbook seems to be ok as it caused no problems.

    Can you describe your computer? Processor, Ram, Free space on the Hard Drive etc.
    Mine Dell Inspiron:
    Pentium(R) Dual-Core CPU 2,20 GHz
    Ram 4 GB
    Ower 160 GB free space (55 in disk C, others- in disk, where file is saved)

    But I tried this file on few orher computers - this same slow. Do you want to say, that in your computer this file works perfect???

  18. #18
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Why is my sheet running so slow??

    This file doesn't present much of a problem at all for my computer but my computer has much higher specifications. I have taken some "liberties" with your workbook. I changed worksheet Zurn data into a table and taken the summary data under it and put it on a summary worksheet. I then changed all the references that I could easily find that referenced the Zurn worksheet and changed them into table references instead of complete column references. Worksheet Sut.galiojimas is just full of references to Zurn and in turn the summary references these formulae back to the summary. Then I got into the conditional formatting. There were formatting rules that, to me, just didn't make sense but I did see that you were trying to eliminate duplicates especially in column B of Zurn. I wiped out the conditional formatting rules and re-created a rule that checked for duplicates in column B with just 1 rule. This will expand with the table.

    With these changes, the worksheet works instantly for me and I hope that it does the same for you.

    I just tested this on my small laptop and it works well.
    Attached Files Attached Files
    Last edited by newdoverman; 04-23-2014 at 12:20 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Why is my sheet running so slow??
    By Jiptastic in forum Excel General
    Replies: 18
    Last Post: 10-04-2014, 12:20 AM
  2. VBA running slow
    By Toonies in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-25-2013, 04:13 PM
  3. Macro is running real slow and makes navigating the worksheet really slow after execution.
    By MichWolverines in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2013, 04:29 PM
  4. Macro to hide/unhide cells not running or running slow
    By mbp727 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-17-2013, 04:22 PM
  5. VBA running VERY slow
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-01-2005, 12:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1