+ Reply to Thread
Results 1 to 14 of 14

Very large sheet not processing at once.

  1. #1
    Registered User
    Join Date
    02-06-2013
    Location
    U.S.
    MS-Off Ver
    2013
    Posts
    66

    Very large sheet not processing at once.

    I have a massive workbook that takes 5 minutes per page to process, once i drop in my data. To allow me to enter in the data faster i switched formula calculation to manual. That way i can drop all the data in, then calculate it all at once, thus saving effort.
    However, when i hit F9 it doesnt calculate the whole workbook. I have to go in and do shift+F9 on every page manually. Any ideas how to calculate the whole file at once?
    Last edited by comp; 02-24-2014 at 09:49 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,353

    Re: Very large sheet not processing at once.

    F9 Calculate all worksheets in all open workbooks.
    Shift+F9 Calculate the active worksheet.
    Ctrl+Alt+F9 Calculate all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.
    Ctrl+Alt+Shift+F9 Recheck dependent formulas, and then calculates all cells in all open workbooks, including cells not marked as needing to be calculated.

    Courtesy of: http://www.shortcutworld.com/en/win/Excel_2007.html
    http://www.shortcutworld.com/en/win/Excel_2010.html

    Why is it so big? How many sheets? How many columns, rows, formulas, array formulas, formatting, Conditional Formatting, full column selection formulas/array formulas, etc on each sheet? Do you have formulas to "prepare" a row for data entry? For example: =IF(A2="","",... a formula dependent on A2 ...)

    Seems like you might be addressing the symptom, not the root cause.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    02-06-2013
    Location
    U.S.
    MS-Off Ver
    2013
    Posts
    66

    Re: Very large sheet not processing at once.

    There are 13 sheets, with 140,000 rows and 8 columns per sheet.
    There are two columns on each that have =IF() and =SUMIF() thatspan the length of the page (all rows).
    These cells are populated when i drop in the data in nearby cells. (copy/paste from CSV file). It takes 7-8 min per page, and it is loaded on an SSD with a fast computer.
    I have also tried the Ctrl+Alt+F9 and Ctrl+Alt+Shift+F9 and they do not calculate the whole workbook. It seems the only command that works is shift+F9.
    Last edited by comp; 02-24-2014 at 08:50 PM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Very large sheet not processing at once.

    Each of the 13 * 140000 SUMIFs references 140000 cells? That is a heap of calculations. Would a pivot table be an alternative?
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,353

    Re: Very large sheet not processing at once.

    If you press Ctrl-End on each sheet, does it go to the last cell (column/row) of the data, or does it go way beyond? If it goes way beyond, you need to delete the excess rows and columns (using the Delete icon, not the Delete key on the keyboard)

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Very large sheet not processing at once.

    It would probably be worth your time to use VBA for the big file. Not to mention much neater!
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  7. #7
    Registered User
    Join Date
    02-06-2013
    Location
    U.S.
    MS-Off Ver
    2013
    Posts
    66

    Re: Very large sheet not processing at once.

    Quote Originally Posted by shg View Post
    Each of the 13 * 140000 SUMIFs references 140000 cells? That is a heap of calculations. Would a pivot table be an alternative?
    unfortunately that wouldnt be a good alternative

    Quote Originally Posted by xladept View Post
    It would probably be worth your time to use VBA for the big file. Not to mention much neater!
    Frankly, Im not sure how to do that.

    Quote Originally Posted by TMShucks View Post
    If you press Ctrl-End on each sheet, does it go to the last cell (column/row) of the data, or does it go way beyond? If it goes way beyond, you need to delete the excess rows and columns (using the Delete icon, not the Delete key on the keyboard)
    they carry on into infinity. I will fix this immediately and see how that affects the calculation time/etc.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,353

    Re: Very large sheet not processing at once.

    To infinity and beyond ... Yep, that might make a difference.

  9. #9
    Registered User
    Join Date
    02-06-2013
    Location
    U.S.
    MS-Off Ver
    2013
    Posts
    66

    Re: Very large sheet not processing at once.

    Shortening those really helped alot Thanks! It still takes quite a bit of time, but its to be expected with this much data i suppose.
    I had them going off the sheet because i have variable lengths of data outputs. In the future i will delete the unused cells before i calculate.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,353

    Re: Very large sheet not processing at once.

    You're welcome.

    Be sure to delete excess columns too.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  11. #11
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Very large sheet not processing at once.

    It would probably be worth your time to use VBA for the big file. Not to mention much neater!

    Frankly, Im not sure how to do that.
    You could task this forum for it with an appropriate sample file!

  12. #12
    Registered User
    Join Date
    02-06-2013
    Location
    U.S.
    MS-Off Ver
    2013
    Posts
    66

    Re: Very large sheet not processing at once.

    Does linking back the results of the calculations also add to the processing time? I link from the =SUMIF() to a sheet that has all of the values in one place.

    Of course, i would be interested in using VBA if it were faster...I will post an example file.

  13. #13
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Very large sheet not processing at once.

    Hi comp,

    I'll have a go at it and perhaps some other VBA programmers will as well

    BTW - Your example has to be less than 1mb

  14. #14
    Registered User
    Join Date
    02-06-2013
    Location
    U.S.
    MS-Off Ver
    2013
    Posts
    66

    Re: Very large sheet not processing at once.

    I posted a thread for those interested here for the VBA possibility.

+ 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. Reduce processing time for processing multiple excel sheets
    By rexer231 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-06-2014, 09:25 AM
  2. Processing large amounts of data problems
    By rechar in forum Excel General
    Replies: 1
    Last Post: 12-17-2013, 08:01 PM
  3. Advice re processing large spreadsheets
    By twobob in forum Excel General
    Replies: 2
    Last Post: 05-31-2013, 08:23 AM
  4. User Input / Processing Sheet
    By jeremymc7 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-23-2008, 02:32 AM
  5. [SOLVED] Processing code on wrong sheet
    By Jeff Klein in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-03-2005, 03:06 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