How can I log a timestamp of a cell change?
I want to add an automation rule to write a timestamp of when a cell value changes, I know I can use the "record a date" automation to get the date but is there any way I can get the exact timestamp similar to the "created at" field in form responses?
I am also looking into a way to implement it using the API and there seems to be no way around it.
Any luck, everyone?
Answers
-
Paul Newcome ✭✭✭✭✭✭
You should be able to grab it via API.
Another option would be to insert an auto-number column and a Modified (date) column. Then you would set up a Copy Row automation to trigger when that particular cell changes. Finally you would use an INDEX/MATCH formula to match on the auto-number column and pull the date/timestamp from the copy sheet.
thinkspi.com
-
Andrée Starå ✭✭✭✭✭✭
I hope you're well and safe!
Please have a look at my post below with a method I developed.
More info:
- You can absolutely do it with the API as well.
Would that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
✅我的订单st(s) help or answer your question or solve your problem? Please support the Community bymarking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35
Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.
-
The only problem to your solutions is that my original copied row already has a Created (Date) column, when i copy it over it also copies the created (date) column and i cannot have two created columns. I am working on an IT ticketing system and am trying to get an open and closed ticket times. any other way i can implement this?
-
ShaunW ✭✭
I know its a bit late to this thread but you can do this via a workflow so i used a "trigger event" so when a task was marked as "complete" i set a condition to record a date in a specific cell, hope that helps
-
Andrée Starå ✭✭✭✭✭✭
I hope you're well and safe!
If you need the time too.
Please have a look at my post below with a method I developed.
More info:
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
✅我的订单st(s) help or answer your question or solve your problem? Please support the Community bymarking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå| Workflow Consultant / CEO @WORK BOLD
W:www.workbold.com| E:[email protected]| P: +46 (0) - 72 - 510 99 35
Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.
-
BethWork ✭✭✭✭
@Andrée StaråI read through your previous response and I'm almost following.
Set up a single sheet where I can copy rows and include the created date/time column.
- Set up copy row automation that would triggered based off status of "In Progress"
- When it's in progress that will time stamp on the "helper sheet" with the copied row
- When the task is set to status "Completed" on my target sheet it will copy that row to my "helper sheet"
- Do I create a formula on my helper sheet to calculate the total time from start to finish?
If I'm understanding it correctly, I'm not sure entirely what to do at step #4.
-
BethWork ✭✭✭✭
@Paul NewcomeI was trying to follow along your thread herehttps://community.smartsheet.com/discussion/79654/how-to-input-a-date-time-and-calculate-a-time-elapsedbecause I'm try to solve a similar problem. I've partly followed the steps above.
I've used a copy row automation onto a helper sheet based on a trigger from the source sheet. When it's copied over that sheet stamps it with a created date/time column.
Once the action is completed, it copies the row onto my helper sheet a second time and stamps it with the created date/time column again. That means I'll essentially have duplicate entries with the only difference being the created date column. I want to then calculate how much time elapsed between the start and finish.
For instance, if it time stamps at 8:30AM and time stamps at 11:00AM, I would expect to have it say 1.5hrs (or just 1.5). How would I accomplish that formula?
-
Paul Newcome ✭✭✭✭✭✭
You would use a MIN/COLLECT to pull in the first date/time based on the unique id and a MAX/COLLECT to pull in the second date/time.
Then you should be able to find something in the below thread that will help you calculate the time difference.
thinkspi.com
Help Article Resources
Categories
If I understand correctly, this may help.<\/p>
=AVERAGEIF({date of request}, MONTH(@cell) = 2, {Ack SLA})<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]},{"discussionID":107116,"type":"question","name":"I'd like to create a column formula that references a specific cell with acceptable syntax","excerpt":"I have a sheet that has a column of dates that autofill based on another date. Specifically, each row has target end dates based on weeks ahead of the date that I want to reference. This is to make sure tasks are started on time in relation to the overall start date. My formula is currently: =[Target End Date]1 - ([Task…","snippet":"I have a sheet that has a column of dates that autofill based on another date. Specifically, each row has target end dates based on weeks ahead of the date that I want to…","categoryID":322,"dateInserted":"2023-06-29T23:48:12+00:00","dateUpdated":null,"dateLastComment":"2023-06-30T22:48:54+00:00","insertUserID":163028,"insertUser":{"userID":163028,"name":"jcabaniss","url":"https:\/\/community.smartsheet.com\/profile\/jcabaniss","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-07-01T02:58:52+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":129958,"lastUser":{"userID":129958,"name":"Lucas Rayala","title":"Program Manager","url":"https:\/\/community.smartsheet.com\/profile\/Lucas%20Rayala","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!3C9S_9DsC3w!XMDTX-y-BOY!7HVumwhOGBb","dateLastActive":"2023-07-01T15:43:12+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":35,"score":null,"hot":3376249626,"url":"https:\/\/community.smartsheet.com\/discussion\/107116\/id-like-to-create-a-column-formula-that-references-a-specific-cell-with-acceptable-syntax","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/107116\/id-like-to-create-a-column-formula-that-references-a-specific-cell-with-acceptable-syntax","format":"Rich","lastPost":{"discussionID":107116,"commentID":383416,"name":"Re: I'd like to create a column formula that references a specific cell with acceptable syntax","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/383416#Comment_383416","dateInserted":"2023-06-30T22:48:54+00:00","insertUserID":129958,"insertUser":{"userID":129958,"name":"Lucas Rayala","title":"Program Manager","url":"https:\/\/community.smartsheet.com\/profile\/Lucas%20Rayala","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!3C9S_9DsC3w!XMDTX-y-BOY!7HVumwhOGBb","dateLastActive":"2023-07-01T15:43:12+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-30T15:52:25+00:00","dateAnswered":"2023-06-30T00:15:36+00:00","acceptedAnswers":[{"commentID":383245,"body":"