+ Reply to Thread
Results 1 to 8 of 8

Excel: CPU Usage

  1. #1
    Registered User
    Join Date
    05-17-2013
    Location
    St. Petersburg
    MS-Off Ver
    Excel 2010
    Posts
    74

    Excel: CPU Usage

    Hi,

    I am currently working with a largish .xlsb file (11 sheets, about 20*300,000 cells each). And quite out of the blue, the file became a real pain in the neck. After I scroll about halfway down (and, obviously, to any position for the rest of the rows below), CPU usage skyrockets to about 97% and stays at that level for a VERY long time. Then – without me doing anything – drops to 1% ... only to return to 97% in about 20-30 seconds. And then the cycle repeats itself over and over. And me still doing absolutely nothing. If I scroll to the first row, CPU usage drops to 1% almost instantly and stays there....

    Cells only have a couple of CF formulas (alternate row shading and such), and that's about it.
    Could you explain, why this weird behavior? and what can I do to make Excel stop fooling around?
    Last edited by Saighead; 05-30-2019 at 10:20 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: Excel: CPU Usage

    You are saying that your file is 100% data, no formulas, except for CF?
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    05-17-2013
    Location
    St. Petersburg
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: Excel: CPU Usage

    Quote Originally Posted by 6StringJazzer View Post
    You are saying that your file is 100% data, no formulas, except for CF?
    Yep, and this funny stuff started after I'd added a couple of thousands of new entries (again, just text, no calculations whatsoever)... Can't figure this out. But then again, Excel has always been so loopy in the most unexpected places that I don't have it in me any longer to be outraged or even surprised...

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: Excel: CPU Usage

    Could you show all your CF rules? It almost certainly has to be that, but I don't know why it would suddenly start to act up. Better yet, provide a copy of the file with the data deleted. How big is the file?

  5. #5
    Registered User
    Join Date
    05-17-2013
    Location
    St. Petersburg
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: Excel: CPU Usage

    File size is 34.4 Mb.
    It can't be the CF rules. I've made a copy of the file, cleared all CF formatting, but Excel is still messing with my nervous system... What's bugging me is that I am not doing anything. Excel has no event for scrolling. Yet the moment I touch that scroll bar, Excel starts to freak out...

    Can't upload a copy, sorry. Way too many things to remove or change to make it OK for sharing.
    Last edited by Saighead; 05-29-2019 at 08:34 PM.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,720

    Re: Excel: CPU Usage

    Without formulas or CF rules or macros, there should be 0 CPU%. I can't explain it or offer troubleshooting steps. There may be some kind of corruption in the file.

  7. #7
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Excel: CPU Usage

    11 sheets with 6 million cells filled per sheet. Although excel has room to do that, the evidence shows it shouldn't be done.

  8. #8
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Excel: CPU Usage

    Do you really need 11 sheets with 20 * 300K rows? I can't think of any use case for Excel where you'd need to have all that info in single workbook.

    If you don't have any sort of calculation on it, I'd imagine it will be more of an issue with RAM usage.

    I mocked up test workbook holding same amount of cells & sheets, each cell populated with decimal number with maximum significant digits.
    Using Excel 2019 64bit install, with all superfluous animations turned off and hardware graphics acceleration turned off.
    i7-3630QM 2.4 GHz, 4 core (8 thread).

    CPU usage peaked at around 35% usage and was never an issue (applying filtering, scroll up & down, zoom etc).
    On the other hand, RAM usage was high, using up 6~7 GB of RAM.

    My guess, is that you have hardware acceleration turned on, and you may also have a lot of custom/different formats applied (font, cell, border, CF etc) to ranges.

    Edit: Oh, by the way, test file size was 650 MB.
    Last edited by CK76; 05-30-2019 at 09:48 AM.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

+ 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. Excel 2013l CPU usage
    By AC_C in forum Excel General
    Replies: 14
    Last Post: 04-10-2015, 04:33 AM
  2. Workbook usage or Database usage assistance
    By Sunshine601 in forum Excel General
    Replies: 4
    Last Post: 12-12-2013, 08:36 AM
  3. Excel 2013 The CPU usage
    By wqhde02 in forum Excel General
    Replies: 9
    Last Post: 08-22-2013, 02:05 AM
  4. t-Test usage in Excel...
    By krakerrr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-19-2011, 09:53 AM
  5. Excel slowing down during usage
    By cbernad in forum Excel General
    Replies: 3
    Last Post: 08-18-2006, 03:05 PM
  6. Checkbox usage in Excel
    By Raj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2006, 10:35 AM

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