+ Reply to Thread
Results 1 to 6 of 6

How to set Calculation Option for one perticular cell as "Manual"?

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    53

    Question How to set Calculation Option for one perticular cell as "Manual"?

    Hello,

    I was just wondering whether this can be done.....

    I want to set Calculation Option for one particular cell as "Manual" where as rest all the cells in sheet should do calculation "Automatically".

    Can this be done?

    If yes, Then it will be helpful for me.

    Looking for simpler solution.


    Thanks in advance.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: How to set Calculation Option for one perticular cell as "Manual"?

    Not as far as I know. Pretty much all or nothing.

    You could perhaps take a copy of the formula and store it in a comment; then convert the formula to a value (Copy and Paste Special | Values).

    When you want to recalculate, copy the formula from the comment and paste it back into the formula bar.

    The risk is that the formula might change as you add or delete rows. Maybe used (Dynamic) Named Ranges to overcome that potential issue.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: How to set Calculation Option for one perticular cell as "Manual"?

    Quote Originally Posted by pavanbhoyar View Post
    I want to set Calculation Option for one particular cell as "Manual" where as rest all the cells in sheet should do calculation "Automatically". Can this be done?
    Not literally. Manual calculation mode is an application-wide state.

    If it is truly only one cell, one approach is to move the actual formula somewhere else. Then copy the current value and use paste-special-value to put it where you want it, the cell that contained the formula originally.

    Let the actual formula change. That has not effect as long as no formula references it. Copy-and-paste-special-value when you want the change to take effect.

    Downside: Since the actual formula might change occassionally, it might have side-effects, depending on the formula design. For example, if the formula takes a very long time to calculate and it references volatile functions or formulas, that will impact overall workbook performance.

    ------

    Alternatively, move the formula to another worksheet.

    Then set up the following worksheet macros (right-click on the worksheet tab, then click on View Code).

    Sub disableSheet()
    Me.EnableCalculation = False
    End Sub

    Sub enableSheet()
    Me.EnableCalculation = True
    End Sub

    Sub calcSheet()
    Me.EnableCalculation = False
    Me.EnableCalculation = True
    Me.EnableCalculation = False
    End Sub

    Also set up the following workbook macro (in VBA, press ctrl+R to open the Project Explorer pane, double-click on ThisWorkbook).

    Private Sub Workbook_Open()
    ' change "Sheet1" to the name of the worksheet object that contains the formula.
    Sheet1.disableSheet
    End Sub

    In Excel, you can press alt+F8 and run calcSheet when you want the formula to recalculate.

    Note that the workbook must be saved as macro-enable (".xlsm") or in compatibility mode (".xls") to retain the macros.
    Last edited by joeu2004; 12-06-2014 at 01:03 PM. Reason: typos

  4. #4
    Registered User
    Join Date
    03-12-2014
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: How to set Calculation Option for one perticular cell as "Manual"?

    Thank you both of you for your valuable time and response....!!!!!!

  5. #5
    Forum Contributor
    Join Date
    03-08-2011
    Location
    London
    MS-Off Ver
    Work Office 365 Home 2019
    Posts
    427

    Re: How to set Calculation Option for one perticular cell as "Manual"?

    Perhaps you can set up a control cell with a simple <blank>/yes option then in the cell you want to manually calculate insert an if statement along the lines of:

    =if([control cell]="Yes",[Formula],"")

    This would only activate the formula if you put "Yes" in the control cell.

  6. #6
    Registered User
    Join Date
    03-12-2014
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: How to set Calculation Option for one perticular cell as "Manual"?

    Thanks for the response...!!!!!

+ 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. "Manual" option grayed out in Edit Links window
    By JayUSA in forum Excel General
    Replies: 4
    Last Post: 07-07-2015, 05:21 AM
  2. Check before sending an email that "new sheet has perticular data"
    By pranayttt in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2013, 12:20 PM
  3. [SOLVED] Invoice "Current" or "Overdue" (but need "Paid" option)
    By rwatson in forum Excel General
    Replies: 5
    Last Post: 04-05-2012, 12:16 PM
  4. Stop users from accessing "Protection" option from "Tools" menu
    By I Believe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2005, 10:50 AM
  5. [SOLVED] "Manual calculation" takes less time. Why?
    By Kjetil in forum Excel General
    Replies: 1
    Last Post: 01-06-2005, 09:06 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