+ Reply to Thread
Results 1 to 3 of 3

Logical Test to determine sheet calculation

Hybrid View

  1. #1
    Registered User
    Join Date
    05-03-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    95

    Logical Test to determine sheet calculation

    Is there a way to test if Excel has recalculated when using Manual Calculation?

    I have a fairly large, and somewhat slow sheet which requires a large amount of data entry that is slowed down by excel recalculating after every entry. I've switched to manual calc on F9, which makes things much faster and far more user friendly, but I'd like to add a flag which notifies the user when the sheet has not been recalculated.

    I wrote the thing and even I often look at a value thinking there's an error when in fact the sheet just requires recalculating.

    So is there something like =IF(CALC=0,"Sheet Requires Recalculation","Sheet is calculated!")?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Logical Test to determine sheet calculation

    Hi,

    One way would be a Sheet Change macro that updated a cell - say A1.
    The cell could be conditionally formatted with the font colour the same as the background unless the cell says "Manual"

    Private Sub Worksheet_Change(ByVal Target As Range)
    
        If Application.Calculation = xlCalculationManual Then
    
            Application.EnableEvents = False
            Range("G1") = "MANUAL"
        Else
            Application.EnableEvents = False
            Range("G1") = ""
        End If
        Application.EnableEvents = True
    End Sub
    However rather than trying to work around a slow worksheet are you sure you know why it's calculating slowly and have you taken other steps to avoid this? What sort of stuff is in your sheet? i.e. how many formulae or cond. formats and how complex are any formula. Is filtering involved anywhere?
    Last edited by Richard Buttrey; 05-13-2017 at 12:21 PM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,883

    Re: Logical Test to determine sheet calculation

    How about this cumbersome and fail-prone spectacle?
    Try to enter values in any cell and then switch between manual and automatic calculation and enter some values again. Test it a bit back and forth.
    Attached Files Attached Files
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

+ 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. Logical test false values skip to next row for next test
    By Schecter89 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-23-2018, 06:36 AM
  2. Logical test, if true move row to bottom of sheet
    By bvazquez in forum Excel General
    Replies: 3
    Last Post: 01-12-2017, 02:39 PM
  3. Referencing a cell to determine operator in IF Logical Test
    By JGrange in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-07-2014, 05:17 AM
  4. Replies: 5
    Last Post: 12-09-2012, 11:04 PM
  5. IF logical test
    By Jszota in forum Excel General
    Replies: 1
    Last Post: 06-24-2011, 10:07 AM
  6. Logical test
    By WTB in forum Excel - New Users/Basics
    Replies: 21
    Last Post: 02-08-2010, 07:45 AM
  7. Logical Test
    By Lance in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-16-2006, 05:30 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