+ Reply to Thread
Results 1 to 4 of 4

Formula updates when it shouldnt

  1. #1
    Registered User
    Join Date
    08-11-2021
    Location
    Florida
    MS-Off Ver
    Excel 2019
    Posts
    75

    Formula updates when it shouldnt

    Hello all,

    I have a defined table that contains the following function. it is located in A2 and when I type in a cell anywhere on the table it updates the time. I only want the time to be added/updated when I enter into B2
    =IF(B2="","",NOW())
    Last edited by DropAGearN'Disappear; 06-08-2022 at 11:13 AM.

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Formula updates when it shouldnt

    the NOW() function will update whenever the worksheet calculates or if it is in a macro and said macro is run.
    1)So you can change your settings so that your workbook only calculates when you press a button.
    2) Hardcode the value of the NOW() function
    3) create a macro that will run the NOW()
    <----- If you are happy with your solution please click on the "* Add Reputation" as a way to say thank you.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Formula updates when it shouldnt

    If this is a timestamp sort of thing, you might review this tutorial: https://chandoo.org/wp/timestamps-excel-formula-help/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    08-11-2021
    Location
    Florida
    MS-Off Ver
    Excel 2019
    Posts
    75

    Re: Formula updates when it shouldnt

    ANSWER! For future people who stumble past this

    So if I want a timestamp put in cell A2 as something is entered into B2, Id place the following into cell A
    =IF(B2<>"",IF(A2="",NOW(),A2),"")
    we must first turn on iterative calculation mode by file >> option >> formulas >> check the box

+ 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. Division in code produces a zero value when it shouldnt
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-11-2020, 05:28 PM
  2. Problem with people saving when they shouldnt...
    By Legend Rubber in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-22-2012, 04:09 PM
  3. Replies: 3
    Last Post: 03-04-2011, 06:01 AM
  4. Blank cell = 0, when is shouldnt
    By Melville in forum Excel General
    Replies: 1
    Last Post: 03-26-2010, 07:40 PM
  5. [SOLVED] Re: Shouldnt this work?
    By Dave Peterson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2006, 09:00 AM
  6. Re: Shouldnt this work?
    By Tom Ogilvy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-07-2006, 09:00 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