+ Reply to Thread
Results 1 to 6 of 6

Static date & time in B, when data entered in A

  1. #1
    Registered User
    Join Date
    05-02-2013
    Location
    England
    MS-Off Ver
    Excel 2010/07
    Posts
    3

    Question Static date & time in B, when data entered in A

    Hi all!

    I am in need of some help for a problem.

    I would like to have a cell that tells me the date and time that data was entered into a specific cell.
    Obviously we know that NOW and TODAY can do this - but the only problem is that they aren't static, and will change to be the current time whenever the document is opened or calculations are run.

    What I want is for a client COVID test result to be entered when we receive the report, and when that is done, the cell in the next column & same row, will display the date and time this was done.
    The thing I'm having trouble with is figuring out how to keep it static, so it will only display the time the result was entered (without having to type this manually every single time).

    I wasn't sure which forum to post this in but I imagine the solution to this may instead be some VBA/macro, so I will post over there instead if that is the case.

    Any help you have is appreciated

    Jbok

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Static date & time in B, when data entered in A

    I don't normally just put links, BUT as you have not uploaded a sample , as per the yellow banner
    I thought these explained how to use timestamps well
    so have a read here - using timestamps in excel
    http://www.howtoexcelatexcel.com/exc...with-formulas/
    and
    https://chandoo.org/wp/timestamps-excel-formula-help/
    Last edited by etaf; 02-04-2021 at 09:48 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Static date & time in B, when data entered in A

    I just happen to have a file that does that, so here it is.

    1. Enable iterative calculations for the file.

    2. In B2:=IF(A2="","",IF(B2="",NOW(),B2))
    copied down,

    3. Enter something in the shaded cells in column A.

    4. if the data in A is erased, so is the datestamp (limitation).
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    05-02-2013
    Location
    England
    MS-Off Ver
    Excel 2010/07
    Posts
    3

    Re: Static date & time in B, when data entered in A

    Hi Wayne, Glenn,

    I Wasn't sure about attaching a sample due to me working in NHS in infection control. I know there'd be no personal data but i'm not even sure we're allowed to put trust documents anywhere externally so I didn't want to risk it.
    Either way, thanks for your posts, this seems to have worked! Many thanks for your help!

    Jamie

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Static date & time in B, when data entered in A

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

  6. #6
    Registered User
    Join Date
    05-02-2013
    Location
    England
    MS-Off Ver
    Excel 2010/07
    Posts
    3

    Re: Static date & time in B, when data entered in A

    Ah yes I already did that just before I read your comment!

    I was looking for the option to close/mark as solved so thanks for that too!
    Have a great day, both!

    Jamie

+ 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. Copy live increasing data to a static tab while adding a date & time stamp
    By pmw19800 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-16-2020, 03:16 PM
  2. Time/Date Capture when data is entered and multi conditional
    By hdrickard in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-21-2015, 05:42 PM
  3. generate static date and serial number when data is entered in any of three cells in row
    By mr.chris.strange in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-20-2015, 05:35 PM
  4. [SOLVED] Make a static date appear when a cell has text entered
    By ukdjaj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-19-2014, 03:24 PM
  5. [SOLVED] Display Date and time data entered
    By _Superman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-20-2013, 12:39 PM
  6. Automatically insert a STATIC date/time if data in adjacent cell
    By BrightsideScott in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-14-2007, 09:11 AM
  7. date and time entered when a cell contains data
    By john tempest in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2005, 12:55 PM

Tags for this Thread

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