+ Reply to Thread
Results 1 to 8 of 8

Alternative to an array formula.

  1. #1
    Registered User
    Join Date
    10-12-2008
    Location
    Melbourne, Australia
    Posts
    55

    Alternative to an array formula.

    Hello,

    I recently posted a question in relation to the slow loading of a workbook. After trying many fixes mentioned on this site and the .www I have accepted that the slow opening maybe attributed to the large number of array formulae in my workbook. My workbook for an athletics club has 400 worksheets with each containing between 10 to 17 columns of 25 rows cont. formula. So in effect between 250 to 425 cells in each sheet containing one of the two array formulae. In addition to this I have the same number of cells in other columns containing a non array formula that looks up 20 worksheets when calculating.

    My question is, is it the array formulae or the non array formulae that is slowing down the opening of the workbook and is there an alternative.

    Currently workbook takes 2m55secs to open on HP laptop Intel(R)Core2Duo, 2.20 GHz 1.99G RAM. It takes 44min on an older laptop.

    Once open the program works well and there is no lag in calc time.

    Not all 400 worksheets are used. A worksheet is populated and used when a name is entered into a cell on a Registration worksheet. Realistically only 100of the worksheets maybe used but the additional sheets are there allowing for growth of the club.

    Formula (In Col D) for better time PB (Personal Best) and =PB, checking data in col C.

    Please Login or Register  to view this content.
    Formula (In Col S) for better distance PB and =PB, checking data in Col R.

    Please Login or Register  to view this content.
    Formulae (In Col E & T) to check 20 sheets to determine if time/distance is best of all athletes.

    Please Login or Register  to view this content.
    Thanks
    RunHard
    Attached Files Attached Files

  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: Alternative to an array formula.

    Why not put all the data on ONE worksheet, in database fashion, and then do analysis with Excel's excellent set of tools? If you need to pretty sheets for printing, you can do it on demand.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-12-2008
    Location
    Melbourne, Australia
    Posts
    55

    Re: Alternative to an array formula.

    Shg,

    I have toyed with this idea that you have previously mentioned (slow workbook). The only issue being is that the data entry has to be very basic as it is volunteer parents that input the data. With the way I have it set up at present the parent clicks on the childs name and a hyperlink takes them to the childs data entry sheet. It doesn't matter what they do with the mouse they cannot leave this sheet until they hit the home icon. Having all the children on the one sheet (up to 400) could cause a panic with the parents if they strayed from the relevant childs data sheet. I hope that makes sense.


    RunHard

  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: Alternative to an array formula.

    The button could bring up a form for each of the little darlings, and never let the parents see the consolidated data ...

  5. #5
    Registered User
    Join Date
    10-12-2008
    Location
    Melbourne, Australia
    Posts
    55

    Re: Alternative to an array formula.

    Shg,

    Still very new at this and what I have learnt so far has come from this site. If I am reading your post correctly you are saying to incorporate the 400 sheets into 1 worksheet and then insert a button to bring up the relevant childs sheet from this one worksheet. How do I lock that sheet down via the button so your data entry is limited to just that childs sheet when the child is selected. I might be missing your point.

    RunHard

  6. #6
    Registered User
    Join Date
    10-12-2008
    Location
    Melbourne, Australia
    Posts
    55

    Re: Alternative to an array formula.

    Will consolidating all of my worksheets into one worksheet solve my slow loading problem. It is a lot of work to do and I would hate to get to the end and find that it makes no difference. Size of the workbook will still be @ 20MB.


    RunHard

  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: Alternative to an array formula.

    I dunno. It doesn't need to be much larger than the data itself in you use macros rather than formulas, or the formulas might be substantially simplified by the new structure.

    When a workbook opens, it recalculates all formulas, so the loading time might be substantially reduced.

    What is certain is that Excel was designed to be database-oriented.

  8. #8
    Registered User
    Join Date
    10-12-2008
    Location
    Melbourne, Australia
    Posts
    55

    Re: Alternative to an array formula.

    Shg or anyone else,

    Is it the array formulas in general that is possibly causing the problem or is it the array formulas over the whole 400 workheets. I guess my question is will it make any difference if I consolidate all the worksheets into one but still retain the array formulas.

    Thanks

    RunHard

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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