+ Reply to Thread
Results 1 to 5 of 5

Deactivate a formula or an equation with time

  1. #1
    Registered User
    Join Date
    07-30-2014
    Location
    Muscat
    MS-Off Ver
    window 2007
    Posts
    32

    Deactivate a formula or an equation with time

    Hi to all,

    What I need may sound simple and with your help I'm sure for solution. I have a cell G7 with an equation linked to cell G4. However, I would like to deactivate the equation in cell G7 once the time has exceed 11:41:44 for example (9/25/2018 11:41:44 AM) with the value in cell G7 retained as value only.
    Your help will be highly appreciated.


    Your help will be highly appreciated.

    Saif
    Attached Files Attached Files

  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,753

    Re: Deactivate a formula or an equation with time

    The only way to change a formula to a value, for any reason, is manually or using VBA.

    You'd need to use something like a Change Event handler, or a Selection Change Event handler, or maybe a Calculation Event handler. Whatever, it would need to be an event that you could virtually guarantee would fire soon after the criterion has been met.
    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 XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Deactivate a formula or an equation with time

    You could, in theory, use an iterative calculation - but they're generally bad news.

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


    this obviously assumes that the Time constraint is agnostic of day (i.e. resets daily).

  4. #4
    Registered User
    Join Date
    07-30-2014
    Location
    Muscat
    MS-Off Ver
    window 2007
    Posts
    32

    Re: Deactivate a formula or an equation with time

    TM, thanks for the info. I had a feeling it wasn’t going to be straight forward.

  5. #5
    Registered User
    Join Date
    07-30-2014
    Location
    Muscat
    MS-Off Ver
    window 2007
    Posts
    32

    Re: Deactivate a formula or an equation with time

    Thanks for the information. I may need to seek some help with VBA

+ 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. [SOLVED] INT Equation Not Calculating Correctly (Excel Time Calculation)
    By Manny1204 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-13-2017, 04:28 PM
  2. Help with a Frost Bite Time Equation
    By boynejs in forum Excel General
    Replies: 5
    Last Post: 02-12-2016, 01:26 AM
  3. Replies: 6
    Last Post: 03-22-2012, 07:04 AM
  4. Replies: 2
    Last Post: 07-21-2010, 08:59 AM
  5. Hour equation with long date/time
    By caryno in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-14-2008, 10:17 AM
  6. Deactivate formula after a set time
    By y_not in forum Excel General
    Replies: 1
    Last Post: 09-17-2005, 06: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