+ Reply to Thread
Results 1 to 10 of 10

Formula speed analysis

  1. #1
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Formula speed analysis

    Time to learn some new tricks.... before it's too late.

    What are your preferred methods to analyse the processing time taken by individual formulae in Excel. I've footered around with a few things that i found on the Interweb... but with no great success. However, anyone who knows me here, will also know that VBA is .... ahem!! ... not one of my strengths. Very recently, I have developed a desire to be able to evaluate the speed of different formulae that do the same thing... The exact nature of the formulae is irrelevant - it's the process that I want to understand.

    Some of you will have learned all this from your mother's milk (to coin a phrase - and just maybe a nicer one than some of Trump's). I didn't.

    BUT.... please remember that I use VBA like a drunk uses a lamp-post: for support, not for illumination... so you just might have to take some baby-sized steps with me!!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

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

    Re: Formula speed analysis

    Here's what I use, Glenn.
    Attached Files Attached Files
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Formula speed analysis

    Thanks. i think I've been able to get it working for me. I'll shout if I hit a snag.

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

    Re: Formula speed analysis

    You're welcome, Glenn. The narrative could be improved.

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

    Re: Formula speed analysis

    Improved instructions.

    EDIT: A little more cleanup.
    Attached Files Attached Files
    Last edited by shg; 01-18-2018 at 05:22 PM.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Formula speed analysis

    I've had a chance to try it out "for real" today. It does exactly what I had hoped it would do. Thanks again..

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

    Re: Formula speed analysis

    I'm pleased, Glenn, you're welcome.

  8. #8
    Registered User
    Join Date
    07-13-2018
    Location
    hanoi
    MS-Off Ver
    2010
    Posts
    24

    Re: Formula speed analysis

    @shg: Can you modify the file so it could check the entire workbook? But not in-depth analysis.

    I receive a fairly complex workbook and it got to the point that doing certain things become very slow. I would like to optimize the responsiveness of the workbook. I think I tried as many ways to improve as I know. That including replacing all volatile functions, using dynamic ranges, removing external references, etc. But I don't think I could cover the workbook completely as it's fairly complex and it's done by someone else.

    I think of a macro that run every non-empty cell once in a workbook and return in a new sheet that has how much time need to calculate a cell for every cell. That would point out which cell/formula should be improve. It doesn't have to check for consistent/grouping of formulas, it doesn't have to care which cell has what formula at all.

    I think it would be a great as it cover the width of the workbook, just as useful as analyze the depth of it.

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Formula speed analysis

    Great stuff Steve, I have saved this (with your name attached) in my "keeps" folder
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,025

    Re: Formula speed analysis

    I think it's great. It does exactly what it says it does... Sometimes if you select too many rows, it "throws the head up" and refuses to play, but....

+ 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] Cleanup/Speed up Formula
    By meabrams in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-27-2016, 03:08 AM
  2. Everage Speed km/time (european speed)
    By GerryZucca in forum Excel General
    Replies: 3
    Last Post: 02-23-2015, 03:02 PM
  3. formula for speed
    By robert.begley1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2014, 08:37 AM
  4. speed up sum if array formula with VBA??
    By jed38 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-30-2013, 01:51 PM
  5. Replies: 5
    Last Post: 03-15-2012, 01:20 AM
  6. speed up formula
    By khalid79m in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-28-2007, 02:00 PM
  7. Speed up formula?
    By natepen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-07-2007, 03:46 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