+ Reply to Thread
Results 1 to 5 of 5

Checkbox to date stamp cell when checked

  1. #1
    Registered User
    Join Date
    09-16-2018
    Location
    Washington State, USA
    MS-Off Ver
    2016
    Posts
    43

    Checkbox to date stamp cell when checked

    I'm having an issue with trying to implement a date stamp when putting in a check in one of my inserted boxes. It doe popluate the date and time but wants to update: date and time when I open the excel file?? The formula I am using is below.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    09-19-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    208

    Re: Checkbox to date stamp cell when checked

    NOW() is a volatile function, so it recalculates whenever a sheet change occurs, or a calculation event, and if your workbook is set to auto-calc, it does so upon opening.

    To make the cell a date/time stamp, you would need to set it to manual calculation, or link the checkbox to a macro that will set a static date/time value in the cell.

  3. #3
    Forum Contributor
    Join Date
    09-19-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    208

    Re: Checkbox to date stamp cell when checked

    Example of macro linked to a Forms control checkbox. (Right-click your checkbox > Assign Macro > New > paste code and adjust any checkbox names and cell references to work in your actual workbook.)
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Checkbox to date stamp cell when checked

    Or use a circular reference.

    =IF(J5,IF(N(K5),K5,NOW()),"")

    Change the references to K5 to the cell that the formula is going into. Remember to enable iterative calculation and set the checkbox linked to J5 to off before entering the formula.

  5. #5
    Registered User
    Join Date
    09-16-2018
    Location
    Washington State, USA
    MS-Off Ver
    2016
    Posts
    43

    Re: Checkbox to date stamp cell when checked

    Awesome! Appreciate the help. I ended up using the iteration method

+ 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: 7
    Last Post: 10-04-2012, 01:32 PM
  2. Add a date in next colomn when checkbox checked
    By dtburns in forum Excel General
    Replies: 1
    Last Post: 01-26-2011, 08:42 PM
  3. set checkbox to enter date when checked and NOT recalculate
    By Gary's Student in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 06:05 AM
  4. set checkbox to enter date when checked and NOT recalculate
    By Maliniemi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. set checkbox to enter date when checked and NOT recalculate
    By Maliniemi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. [SOLVED] set checkbox to enter date when checked and NOT recalculate
    By Maliniemi in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  7. [SOLVED] set checkbox to enter date when checked and NOT recalculate
    By Maliniemi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-05-2005, 11:05 PM
  8. set checkbox to enter date when checked and NOT recalculate
    By Maliniemi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-09-2005, 03:05 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