+ Reply to Thread
Results 1 to 2 of 2

Excel Calculation Process Problem

Hybrid View

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2010
    Posts
    77

    Excel Calculation Process Problem

    Hi,
    Excel file that contains more than 1000 formula lines (351,000) and the system is heavier. To manually run the calculation process (F9), it does not solve my job I need to see the data in real time. Does macro solve this situation?
    Regards
    Sorry my language.
    Thank you for your help.
    Last edited by ofd2008; 09-01-2014 at 04:25 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Excel Calculation Process Problem

    ok.

    I think what you are saying is that the formulas kill your system.

    So.

    Use a macro to control how the sheets calculate.

    LastRow=	Range("A1").End(xlUp).Row
    	
    LastColumn= Range("A1").End(xlToLeft).Column
    
    'Speed up excel by disabling some actions
    Application.ScreenUpdating = False
    Application.DisplayAlerts = False
    Application.EnableEvents = False
    Application.DisplayStatusBar = False
    Application.Calculation = xlCalculationManual
    ActiveSheet.DisplayPageBreaks = False
    
    
    ' Enter your data column at a time.
    For count = 2 to LastColumn
    
    'I recorder myself entering this formula and edited it.
    Range(cells(6,Count),Cells(LastRow, Count).FormulaR1C1 = _
            "=(IF(COUNTIF(Veri!R2C17:R31C17,RC2)>0,(duvar(RC2,RC3,R2C,Veri!R3C25:R252C37)+(26.7-RC[-1])+(R5C-29.45)),0)+IF(COUNTIF(Veri!R2C18:R21C18,RC2)>0,0,0)+IF(COUNTIF(Veri!R2C19:R21C19,RC2)>0,(R3C-RC[-1]),0)+IF(COUNTIF(Veri!R2C20:R21C20,RC2)>0,(R3C-RC[-1]+RC6),0))*RC4*RC5"
        
    Calculate
    
    Range(cells(6,Count),Cells(LastRow, Count).value = Range(cells(6,Count),Cells(LastRow, Count).value
    
    Next
    Last edited by mehmetcik; 09-01-2014 at 04:49 PM.

+ 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. Replies: 2
    Last Post: 07-31-2013, 07:38 AM
  2. Replies: 5
    Last Post: 11-06-2012, 01:17 PM
  3. Excel 2007 : Calculation Process
    By malnahar in forum Excel General
    Replies: 3
    Last Post: 03-11-2011, 08:17 PM
  4. Slow process in calculation in cell
    By Lewis Koh in forum Excel General
    Replies: 0
    Last Post: 08-23-2010, 03:32 AM
  5. Excel 2003 Calculation Problem
    By akedm in forum Excel General
    Replies: 4
    Last Post: 04-03-2009, 04:44 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