GOOGLE SHEETS: Now function changing itself? Need help.

jwillits

New Member
Joined
Jul 10, 2018
Messages
38
Office Version
  1. 2010
Platform
  1. Windows
In google spreadsheets, as in the photo, I have a clock in system allowing people to click the checkbox, and have it put the current date and time. There are occurances to where randomly throughout the day, it will automatically change all the clockin times for a particular day to the current date and time again, without anything changing in the spreadsheet to activate it. What could be causing this and how do I stop it?

You can see in the picture for June 22, that it changed all of yesterday clock in times to 0:03:26 even though that isnt what time they clicked the checkbox. Sometime in the middle of the night it changed itself to that time.
 

Attachments

  • Google sheet.png
    Google sheet.png
    87.7 KB · Views: 18

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
are you using =now() to get the date and time?
are you able to use macros in your sheet?
 
Upvote 0
are you using =now() to get the date and time?
are you able to use macros in your sheet?
You should be able to see the formulas I am using in the pictures at the top. I imagine I can, I have never used them before.
 
Upvote 0
it sounds like anytime the sheet is updating it's looking for the current value of now().
do you have something changing the cell contents from a formula to a static value?
if it is putting in a static value it will not change the date/time.
you could do this with a macro. here's an example below:
--------------
check box 1 is assigned to the macro
1655997160882.png


VBA Code:
Sub DateTime()
'
' DateTime Macro
'

'
    ActiveCell.FormulaR1C1 = "=NOW()"
    Selection.Copy
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
End Sub
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,628
Members
452,661
Latest member
Nonhle

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