+ Reply to Thread
Results 1 to 10 of 10

Excel with table in takes up to 15 minutes to close the file

  1. #1
    Forum Contributor
    Join Date
    02-14-2012
    Location
    Warrington
    MS-Off Ver
    Excel 365
    Posts
    497

    Excel with table in takes up to 15 minutes to close the file

    Hi

    I've got a model which has a table in that's 369 columns and up to 10,000 rows. The model closes instantly when the data isn't in a table, but as soon as I put it as a table then it takes along time to close. For example if it's got about 1k of rows in then it'll take around 15 minutes to close the file and that close time will scale up and down with the number of rows.

    If I resize the table on that 1k rows of data so the table is just two rows but leave all the data and formulas in tact but just outside of the table range then that 15 minutes to close becomes instant closing. At first I assumed it was due to the formulas in the model but then came across the resizing table trick to close the file which makes me think it's just the table causing the problem.

    I need the data in table as it has power query running off the back of it. Appreciate it might be hard to troubleshoot without the file, I can ammonise all the data in it and upload if required but is there anything obvious anyone can think of? I heard >500 row tables causing performance issues with the old excels but I'm 365 and didn't think that was still an issue?

    Thanks

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,056

    Re: Excel with table in takes up to 15 minutes to close the file

    That's a very big table. Do you actually need it in the same workbook as whatever you are doing with PQ?
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor
    Join Date
    02-14-2012
    Location
    Warrington
    MS-Off Ver
    Excel 365
    Posts
    497

    Re: Excel with table in takes up to 15 minutes to close the file

    Ideally yes. The table is used to input a list of employees for each business area and then costs them up for a budget build so the user needs to see all the fields in the table. The power query running off the back of that table manipulates the data into a suitable format for us to then load into our ERP.

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,056

    Re: Excel with table in takes up to 15 minutes to close the file

    I'm not seeing why the PQ and the table need to be in the same workbook then?

  5. #5
    Forum Contributor
    Join Date
    02-14-2012
    Location
    Warrington
    MS-Off Ver
    Excel 365
    Posts
    497

    Re: Excel with table in takes up to 15 minutes to close the file

    I suppose we could have two workbooks but question would be why, what does that achieve. Are you suggesting having the power query in that workbook is what is causing the slow closing? I'll test closing the file with the power removed later if that's the case

  6. #6
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,056

    Re: Excel with table in takes up to 15 minutes to close the file

    No, what I'm saying is that if the PQ is not in the same workbook, then the data doesn't need to be a table at all. (Personally I hate tables for working data)

  7. #7
    Forum Contributor
    Join Date
    02-14-2012
    Location
    Warrington
    MS-Off Ver
    Excel 365
    Posts
    497

    Re: Excel with table in takes up to 15 minutes to close the file

    Ah I see. Ok I thought the data had to be in a table to use power query & power pivot off the back off it. I also have 20 business areas filling these in so use power query to consolidate the data from one folder. I'm struggling to visualise the data not in a table but being able to use power query & power pivot functionality from the data. How do you get round this?

  8. #8
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,056

    Re: Excel with table in takes up to 15 minutes to close the file

    If the data source is another file, PQ can simply pull the data from a worksheet. It doesn't need to be a table. You can do it in the same workbook by using a named range rather than a table.

  9. #9
    Forum Contributor
    Join Date
    02-14-2012
    Location
    Warrington
    MS-Off Ver
    Excel 365
    Posts
    497

    Re: Excel with table in takes up to 15 minutes to close the file

    Ah interesting. I wasn't aware of the named range possibility with PQ.

    So are we concluding that using tables is still inefficient even in excel 365 in terms of performance?

  10. #10
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,056

    Re: Excel with table in takes up to 15 minutes to close the file

    I couldn't say as I only ever use them for static data really (no formulas) or occasionally for small data sets with a few formula. I'd never use them for anything as large as your data set - that is a LOT of columns.

+ 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] Opening a excel file with code takes more than 5 minutes
    By RAJESH SHAH in forum Excel General
    Replies: 10
    Last Post: 02-01-2023, 11:58 AM
  2. [SOLVED] Excel Takes 2-3 Minutes to Load
    By jelarv in forum Office 365
    Replies: 7
    Last Post: 11-01-2019, 10:31 AM
  3. *.XLS file takes 30 minutes to open
    By electro-89 in forum Excel General
    Replies: 3
    Last Post: 01-19-2015, 09:07 AM
  4. Excel takes 15 minutes to change an option
    By cloke in forum Excel General
    Replies: 4
    Last Post: 02-11-2013, 07:15 AM
  5. "SAVE" large Excel file takes 1-2 minutes.
    By RICHARD SALMON in forum Excel General
    Replies: 0
    Last Post: 11-28-2012, 12:46 PM
  6. File takes forever to open/close
    By Sean Anderson in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2008, 05:32 PM
  7. File takes 40 minutes to load (auto-calculation)
    By R L in forum Excel General
    Replies: 1
    Last Post: 01-26-2005, 07: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