I want the cells of two columns in my Spreadsheet to auto-update with the date (m/d/y) and name of user when cells in a certain range are edited. For instance, Catherine goes to sheet on 3/6/2017 (today) and edits information in either column A or B. Ideally, the current date would update in column C and the user's name in column D of the same row as the edits. I have included an image below detailing this example and highlighted the cells in yellow that should auto-update:
Google-sheets – Cell last modified date & user stamp Google Sheets
google sheetsgoogle-apps-scriptgoogle-apps-script-triggersgoogle-sheets-timestamp
Related Topic
- Google-sheets – Pasting timestamp for edits by multiple users in Google Sheets
- Google-sheets – Automatic Cell Update on Certain Date
- Google Sheets – Flag Empty Cells if Date in Another Cell Has Passed
- Google-sheets – Remember each user’s last cell cursor location
- Google-sheets – Change Colors of Cell per Day based on Date in Cell
- Google-sheets – How to automatically set date in a cell when a different cell value is changed by a formula from data on another sheet
- Google Sheets Script – Copy and Paste Data Based on Current Week Date
Best Answer
The more robust way to automatically record the user that edited a cell is by using a Google Apps Script on edit installable trigger for the spreadsheet created by each editor.
To help your spreasheet editors to create the instalable trigger you could add an user interface element like a button, menu, dialog or sidebar.
To avoid collisions between triggers, the script should include a condition to leave in case that the edit was made by another user rather than the user who created the trigger. In order to do this, the script could keep the trigger id as a user property.
From gist published by me few moments ago,
NOTE: In order to fit the case mentioned by the OP adopters will have to replace
var monColumn = 3;
byvar monColumn = 2;
. Other changes could be necessary to addapt it for other specific cases.