Google Sheets - Add Timestamp When Cell Changes - Apps Script

Learn Google Sheets & Excel Spreadsheets · 360K views · 2019 · 16:39

Open on YouTube

Python, Ruby & scripting languagesSoftware practice, open source & careerstutorial

Why Stack Overflow recommends it

Stack Overflow users link it when someone needs a 'last updated' or timestamp column in Google Sheets that fills in automatically when a cell is edited.

Recommended by 2 people across 2 different months, 2020 to 2023.

What it is

A 16-minute Google Sheets tutorial on writing an Apps Script onEdit trigger that stamps a date or time into a cell whenever another cell is changed. It is presented on the Learn Google Sheets & Excel Spreadsheets channel.

What people said

Recommends TechCabana · 2020-12 · Stack Overflow · on “How to use multiple OnEdit functions across multiple Google Sheets”

I am currently working on a Project where I am trying to fill in the 'Last Updated' date based on changes made in a google sheet by a user. I have three google sheets in the same workbook. I followed a tutorial [this video] which helped me get what I wanted however, when I use the same code across sheets it uses the last one which I read OnEdit does. As you can see below. If a user updates Column (Col) 1-17 in Sheet 1 then add the last updated to Col 18 in Row. Note: The code below is all in 1 .gs file. Expected Behaviour: When I am in Sheet 1 update Col 18 (Last Update) based on changes and the ranges specified in Sheet1. If in Sheet 2 do the corresponding for the respective ranges there. Same f

Recommends User1938985 · 2021-10 · Stack Overflow · on “Counting days between 2 dates and swapping one of the dates for another if cell if not empty - google sheets”

Sorry it's a bit hard to understand this question, if you could post a current and desired screenshot example that would help I think. So, I think your best bet here is to review this video if you're wanting sheets to auto-input a time entry when a cell is modified: [this video] And it will show you how to script a cell to enter in a time entry when another cell is edited, and then you could use a variation of formulas to calculate the difference between the days of the original minus the date from the script (such as the once referenced below or by @p. phidot ) So for an example, once you script the time entry to work in the background of the sheet, you have a formula using an IF statement to ma

Cites Tom · 2023-06 · Stack Overflow · on “Auto Date created and Last Modifier Google Sheet App scripts”

Im tried complete my inventory sheet with a function date created and last modifier via a tutorial Youtube [this video] , im reading comment, many guys have trouble like me, i think if found the way solve this issue, its will help many, thank in advance any help. Im not a developer or some guys have knowledge about code. Shame is my english also not good. Forgive me, this is my first topic in a biggest dev community, hope i have welcome. I have some problem its not working as i want in some case like. My test spreadsheet is here [LINK] Copy paste a lot row, its dont work. When pull a cell, array, its just work with first row. Instant display time when a new row created also fill not yet. Both tim