+ Reply to Thread
Results 1 to 5 of 5

Need to Improve Speed of Excel 365 Document

  1. #1
    Registered User
    Join Date
    06-01-2023
    Location
    Somerset, England
    MS-Off Ver
    365 Apps
    Posts
    2

    Need to Improve Speed of Excel 365 Document

    Hi all,

    I have just joined this forum so apologies if I am not sending this request to the correct audience.

    I need help improving the speed of an Excel 365 document please.


    I have a central Excel document (365 Apps) with multiple data queries that extract data from hundreds of separate files saved in a folder.

    These files all contain the same 2 worksheets named Product Data and Critical Path.


    In my central Excel document, I also have a separate worksheet that combines all of the Project Data and Critical Path information from each query in to a single view where each row represents a separate project and each column contains the project data and the corresponding critical path details in 1 consolidated view.


    I then have a final worksheet which shows each project on a separate row and 365 columns to show a rolling 12 month calendar.


    In this calendar view I have a formula with over 20 arguments that references the combined data to return a number if a particular task in the critical path is required on each day for each project.

    This formula is repeated across all 365 columns and down 350 rows (12,750 cells).


    I have conditional formatting to colour each cell in the calendar view to visually see when these tasks are required so I can manage workload.

    Finally, I have a couple of basic formulas to count how many of each of the tasks are required on each day.


    The long repeated formula in the calendar view is causing the file size to be over 20Mb and the file takes over 1 minute to open or save.


    I have tried to add the arguments used in the long formula as multiple separate conditional formatting rules and removed the formula from the calendar view and this helps to increase the speed of the file greatly but by doing this I then can?t count the number of times each task appears in each date column.


    I have found VBA code that will count cells with simple conditional formatting but this doesn?t work for complex conditional formatting.


    Does anyone have any suggestions please?


    Thank you

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Need to Improve Speed of Excel 365 Document

    Welcome to the forum Steve Brown.

    Please see instructions for uploading a sample workbook in the 'gold' banner at the top of this page.
    It is almost always easier to understand what is asked for if a sample Excel workbook is provided (not pics/screenshots).

    Thank you ahead of time, and once again welcome.
    Last edited by FlameRetired; 06-01-2023 at 11:06 AM.
    Dave

  3. #3
    Registered User
    Join Date
    06-01-2023
    Location
    Somerset, England
    MS-Off Ver
    365 Apps
    Posts
    2

    Re: Need to Improve Speed of Excel 365 Document

    Hi FlameRetired,

    I have stripped out a lot of data to get my attachment down to the required maximum file size so hopefully this is now visible?

    The file I have attached is the version I have used with the conditional formatting which is much faster.

    I did have a formula in cells Q3:Q7 on the Workload View worksheet which did a count of the cells in the rest of the column below it when I used the large formula in the calendar view instead of the conditional formatting but I need to find a way to count the number of cells in each column that contain each colour based on the formatting rules.



    Thanks and regards
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-09-2009
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    380

    Re: Need to Improve Speed of Excel 365 Document

    I've been working on something similar for the past 5 months; a pricing database in Excel. The problem is that Excel is not a database, it can behave like one, but where a database will reference a small piece of data as the reference to that entire piece of info (primary key). Excel has improved greatly in this area over the past 30 years, however it is not a database. Conditional formatting... complex formulae take it's toll. Some formula's reduce overhead & only calculate if a change has been made e.g. index & match combined but we are limited with what we can do.
    If it's been helpful please mark as helpful

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Need to Improve Speed of Excel 365 Document

    @Steve Brown, I hope I have translated your requirement properly - however try the attached there is a small macro on the orange refresh button - there are now no formula in range "Q3:NQ8"
    Attached Files Attached Files
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

+ 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] Improve Loop Speed
    By MusicMan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-06-2022, 01:12 PM
  2. Improve speed of VBA code
    By markgoldmedal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-28-2021, 05:45 PM
  3. How To Improve The Speed of a Large Excel File?
    By MattheusB in forum Excel General
    Replies: 4
    Last Post: 05-13-2021, 08:35 PM
  4. How to improve workflow and speed? help
    By amaterasu2302 in forum Excel General
    Replies: 3
    Last Post: 02-26-2019, 11:33 PM
  5. [SOLVED] Improve UDF speed
    By pdauction in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-07-2018, 05:51 AM
  6. How to improve excel 2013 speed
    By stephme55 in forum Excel General
    Replies: 2
    Last Post: 01-29-2016, 06:39 PM
  7. [SOLVED] Need improve macro speed
    By Remphan in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 12-29-2015, 10:43 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