Timestamp without VBA

wdgor

Board Regular
Joined
Jan 21, 2009
Messages
90
Office Version
  1. 365
Platform
  1. Windows
I have a worksheet that needs a timestamp in the cell in the next column to the entry cell - Column N has the cell that requires an entry and Column O has the timestamp (MMM/DD/YYYY H:M:S). That timestamp can't change unless someone updates the cell in Column N, then it gets the new timestamp value. I have developed some VBA code that works perfectly. I am seeking a solution that doesn't need VBA. I know that NOW() and TODAY() won't work "out of the box" because they are dynamic and will update with any change to any cell. Is there a non-VBA solution? Thanks in advance for your insight.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I will try it (out of the office at the moment) but NOW() will recalculate every time the sheet is reopened. Somehow, it needs to keep the value of when the entry was made and not dynamically update.
 
Upvote 0
I will try it (out of the office at the moment) but NOW() will recalculate every time the sheet is reopened. Somehow, it needs to keep the value of when the entry was made and not dynamically update.
I understand that. Normally that is true. But the key is with the iterative calculation setting and making use of Circular References.
I don't pretend to fully grasp how this method works, but supposedly it does. I don't ever use it myself as I prefer VBA.
But people have used it with success.
 
Upvote 0
I tried it and it works. Thanks for the suggestion.

However, there's always a "however", that works when the cell is empty but, if the user changes the value of the cell, it won't recalculate. I can see why - the formula: =IF(I3<>"",IF(J3<>"",J3,NOW()),"") is looking to see if I3 is <>"". The user will be changing the value in I3 without deleting the first value. In that case, J3 will not change when the new value is entered. Any thoughts on how it could change the timestamp if the value changes?

I do have this working well in VBA but it is posted to SharePoint. The administrators, rightfully so, don't want to enable macros on the site. That is why I am looking for a non-VBA solution., Thanks.
 
Upvote 0
I tried it and it works. Thanks for the suggestion.

However, there's always a "however", that works when the cell is empty but, if the user changes the value of the cell, it won't recalculate. I can see why - the formula: =IF(I3<>"",IF(J3<>"",J3,NOW()),"") is looking to see if I3 is <>"". The user will be changing the value in I3 without deleting the first value. In that case, J3 will not change when the new value is entered. Any thoughts on how it could change the timestamp if the value changes?

I do have this working well in VBA but it is posted to SharePoint. The administrators, rightfully so, don't want to enable macros on the site. That is why I am looking for a non-VBA solution., Thanks.
Note what it says about that:

1693416392569.png


So, if you want a non-VBA solution, that appears to be a limitation that you cannot get around.
I know of no other non-VBA solution, unless you want to do it all manually.
 
Upvote 0
Thanks, I was afraid of that. I wish Excel had a native function that dealt with "change value". I'll keep playing with it - maybe try a helper cell - and see if I can get around the limitation. Thanks for your thoughts.
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top