+ Reply to Thread
Results 1 to 8 of 8

Have a formula stop calculating

  1. #1
    Registered User
    Join Date
    02-03-2013
    Location
    Reading, PA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Have a formula stop calculating

    Is there a way to have a formula stop calculating/running once another cell is filled out with data? So for example, A2 would contain a date, B2 would be the difference between today's date and the date in A2, which would update anytime the spreadsheet is opened. C2 would then contain a final date, when C2 is populated I would like the formula in B2 to stop running. I apologize if my wording is a bit confusing but any help with this is appreciated. Thanks

  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: Have a formula stop calculating

    You could post a workbook and show an example.
    Entia non sunt multiplicanda sine necessitate

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

    Re: Have a formula stop calculating

    Right Click on your Sheet name at the bottom of excel and select view code

    Paste this code in the window that opens and close it. The macro will run each time you make a change on the sheet.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 12-27-2016 at 07:39 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  4. #4
    Registered User
    Join Date
    02-03-2013
    Location
    Reading, PA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Have a formula stop calculating

    Thanks a lot for the help! Out of curiosity is there a way to do this without using VBA?

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

    Re: Have a formula stop calculating

    Basically No.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Have a formula stop calculating

    Quote Originally Posted by PopeJP2 View Post
    Thanks a lot for the help! Out of curiosity is there a way to do this without using VBA?
    You could do it by using a circular reference.

    First, you have to change a setting...

    In Excel 2010, goto File>Options>Formulas
    Check: Enable iterative calculation
    OK out

    Then, enter this formula in B2:

    =IF(C2<>"",B2,TODAY()-A2)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  7. #7
    Registered User
    Join Date
    02-03-2013
    Location
    Reading, PA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Have a formula stop calculating

    Thanks for the help guys. I really appreciate it.

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Have a formula stop calculating

    You're welcome!

+ 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: 0
    Last Post: 10-14-2015, 03:10 AM
  2. [SOLVED] Stop spreadsheet from calculating
    By LRFT in forum Excel General
    Replies: 3
    Last Post: 07-25-2012, 03:03 PM
  3. How to stop calculating while running Sub
    By Reemet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2012, 12:54 PM
  4. Stop calculating after a certain date
    By lara5555 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 12-23-2011, 04:10 AM
  5. Stop calculating
    By Sheepkin_Coat in forum Excel General
    Replies: 2
    Last Post: 04-22-2010, 10:19 AM
  6. Formulas stop calculating
    By brodiemac in forum Excel General
    Replies: 2
    Last Post: 06-27-2005, 01:05 PM
  7. [SOLVED] stop a formula from re-calculating
    By Becks in forum Excel General
    Replies: 1
    Last Post: 06-15-2005, 11:05 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