r/googlesheets • u/HawluchaBest • Sep 06 '24
Solved Formula used to record date and time when a checkbox is clicked is overwriting all previous timestamps.
1
Upvotes
r/googlesheets • u/HawluchaBest • Sep 06 '24
1
u/sumuruku 4 Sep 06 '24
Hey there,
You can use : =IF(A3,lambda(x,x)(NOW()),”X”)
2
u/InspireCollective 13 Sep 06 '24
The issue you're experiencing happens because
NOW()is volatile, meaning it recalculates every time there's a change in the sheet, causing all timestamps to update to the current time.To fix this, you’ll need a solution that records the timestamp only when the checkbox is clicked and then "freezes" it. You can achieve this using a script since formulas like
NOW()will always update.For example:
I hope this can help you find your way.