+ Reply to Thread
Results 1 to 4 of 4

recalculation of array formula while updating rows slows down excel

  1. #1
    Registered User
    Join Date
    03-08-2014
    Location
    islamabad, pakistan
    MS-Off Ver
    Excel 2007
    Posts
    35

    recalculation of array formula while updating rows slows down excel

    Dear All,

    I have a workbook containing 2 worksheets. One is JV (a Journal voucher template) and the other JournalE (contains the raw data).

    There are about 18500 rows of transactions in the JournalE worksheet. I have used an array formula in this sheet in Column P to pick up all the data from Column B and to display it as a list using Data Validation in the JV worksheet against JV No. or cell F7.

    While updating a few transactions is not a problem but if i continue to update and drag a single cell (in Column P of the JournalE worksheet) and apply it to the rest of the rows, as i move ahead the excel workbook hangs or crashes.

    Kindly help me in this issue.

    I have attached the dropbox link for the workbook may you test it for me. Thanks in advance.

    https://www.dropbox.com/s/3c5kbcbmk3...st%20file.xlsx

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: recalculation of array formula while updating rows slows down excel

    There is no much you can do with 18000 rows.
    If this is one of just filter the range for unique items or use VBA .
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,955

    Re: recalculation of array formula while updating rows slows down excel

    I'm not very good at this kind of spreadsheet programming, but it looks to me like a similar issue to the one benishiryo and I discussed some time ago: http://www.excelforum.com/excel-form...-and-cons.html

    I haven't looked at your scenario in great detail, but it appears that, as in the previous discussion, each of your array formulas is computing the IF(LEN(...)) part, which will likely result in a lot of duplication of effort. By pulling these duplicated parts out and putting them into helper columns, you may be able to eliminate a lot of the duplication of effort and, thus, decrease the computation time.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: recalculation of array formula while updating rows slows down excel

    The file is much to large to upload even zipped.

    Instead of using a formula to get the unique values from column B, copy then paste values to L2 and Remove duplicates then sort in order. (you can record a macro to do this) With the range still selected, name it AllTxn.

    In the Name Manager amend the definition of AllTxn to

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This creates a dynamic range named AllTxn.

    Create a drop down list in F2 with =AllTxn as the definition formula.

    Disable all your Array formulae and see the difference in performance.

    On my laptop, it was dramatic.

    I deleted a worksheet so that the file would be small enough to upload when zipped. You should get an idea of the above from the file.
    Attached Files Attached Files
    Last edited by newdoverman; 03-20-2014 at 06:35 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Array formula slows the file considerably
    By Aland2929 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2013, 03:59 AM
  2. updating links through VBA causing sheet recalculation
    By Leon V (AW) in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-28-2013, 06:51 AM
  3. Hiding unused columns and rows slows down excel?
    By diakonos1984 in forum Excel General
    Replies: 2
    Last Post: 03-17-2013, 10:42 AM
  4. Replies: 1
    Last Post: 03-21-2006, 07:30 PM
  5. [SOLVED] Updating rows - Excel Formula or Something Else?
    By bevpike in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-30-2005, 01:06 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