Тёмный

Google Sheets - Add Timestamp When Cell Changes - Apps Script 

Learn Google Sheets & Excel Spreadsheets
Подписаться 277 тыс.
Просмотров 338 тыс.
50% 1

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 781   
@teresalgeorge
@teresalgeorge 3 года назад
I searched and searched and SEARCHED to find the code for this EXACT thing! I simply cannot tell you HOW MUCH I appreciate you doing this VIDEO!!! I have spent endless hours to try to get this to work and could not get it! AMAZING and THANK YOU SO MUCH FOR HELPING MY SANITY! :)
@RadoHudran
@RadoHudran 3 месяца назад
I remember following this 2 years ago took me easily 3 hours or so and I got a headache. It felt like a huge achievement to complete it. Now I made this code for a new sheet and it took me 30 min, felt easy, but most importantly,; this video has proven valueable over and over. I use this code in a sheet I use weekly and it has saved me lots of time. Thanks a bunch!
@lucazarts25
@lucazarts25 Год назад
I think anyone could learn how to code with a professor like you. Congratulations and thank you for the knowledge shared!
@Brakken99
@Brakken99 3 года назад
I had an issue as many have with the ranged error. Two things - an error will be returned if you run the code from the editor OR debugger. The reason for this is the conditions of the fields are not being met on the spreadsheet side and this is normal. The other thing is recheck ALL OF YOUR SYNTAX. I chased this problem for far longer than I should have and found I had typed a "v" where a "u" should have gone in value - was too easy to miss but it looked right at a glance. Once this correction was made the code started to function correctly. Another great video by this youtuber!
@gladysgalat4992
@gladysgalat4992 Год назад
Hello, I had a problem with the range. What could possibly be the error? Thank you so much!
@scott-ish404
@scott-ish404 3 года назад
I love the way you explain everything by stages, without delving into too much technicalities and even makes the improvements on it easy to grasp, so that even a code-ignorant like me can follow it easily. Subscribing to your channel in 3, 2, 1...!
@guyw6849
@guyw6849 2 года назад
There have been a few questions on how to run the same script on more than one sheet, but not all of them. Through simple copy and paste, I quickly created multiple scripts, one for each sheet I wanted the script to run on, giving each a unique name (e.g., Script1, Script2, Script3. - I gave mine the name of the sheet they corresponded to). Note, you can only have one script named "onEdit." You will want to reserve the onEdit name for the short "master script" that will run the rest. After creating each new script, copy and paste the same code into each. Then, change the script name on the first line of code (right after "function" and before "(e)" to match the name of the new script. Then, change the sheet reference in the code located right after "getName() ===" to match the name of the sheet that script should run on. Finally, go back to your original onEdit script and delete all of the code and paste the following new code, making the onEdit script the "master script" to run the rest of them (of course, modify the script names to match your script names, adding however many scripts you have): function onEdit(e) { script1(e); script2(e); script3(e); } Remember to save the scripts. While on the onEdit master script, click "Run." The sheet-specific scripts will execute in the order they appear in your onEdit master script. I have no coding skills. But after some research, this approach worked for me.
@RadoHudran
@RadoHudran 2 года назад
You might want to check this guy's vid at 3:30 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-N4V0FZASK60.html He talks about the "OR" statement and how you can use it This will make your code a lot shorter and quicker to execute. I also got no coding knowledge but trust me it's easy EDIT: It's not very easy tho For it to work properly my if statement had to be: if(col === targetColumn && row >= startRow && e.source.getActiveSheet().getName() === ws ||col === targetColumn && row >= startRow && e.source.getActiveSheet().getName() === bs){ bs stands for bullsh!t as well as var bs = Sheet 2 I had to repeat almost the entire statement inside IF() So in theory you could expand this row infinitely for as many sheets as you want In the end it works, even though it's not as compact as I'd like
@kickinitwithk746
@kickinitwithk746 3 года назад
I searched for hours for this solution! Your teaching methods were clear and easy to follow. Thank you.
@fauzanwidianto1365
@fauzanwidianto1365 4 года назад
Great tutorial, I have a very little experience with programming language, but you really made it for me. I do still have one question related to this timestamp method. I realized that this method only works with cell edited manually, so for example I paste 3 rows of data, it would only update timestamp for the first cell only, the second and third one wouldn't be updated. Could you please help me with this one ? Really appreciate your woks man!
@cmteclaudios
@cmteclaudios 2 года назад
Man, I have this problem, do you have any idea how to solve this?
@GoTouchSomeGrassBuddy
@GoTouchSomeGrassBuddy 5 месяцев назад
You just taught EXACTLY what I'm searching for! Thank you!!! You explain everything clearly!
@davem45
@davem45 3 года назад
I am so glad I stumbled on your channel this is perfect. now I have to figure out that when our receptionist receives a package, based on the tracking number it will fill in the carrier in cell 3 Thanks so much for this tutorial
@gebruikerarjan
@gebruikerarjan 4 года назад
Great tut! Could you drop the script in the description below of your video? then you just can copy paste it. That would be easy!
@mailtossundar
@mailtossundar Год назад
the way of writing codes and explanations is easily understandable to everyone thanks for this video.
@benedictchua-theredreamer
@benedictchua-theredreamer Год назад
love the way you explain the script , not just typing it. for begginers like me, looking for some code for my project, thanks
@ExcelGoogleSheets
@ExcelGoogleSheets Год назад
👍
@lovelyktott
@lovelyktott 3 года назад
i really appreciate and do love everything you teach. It's so simple and easy to use in real work. I practice and really use it in my restaurant. I would like to thank you for all these knowledge. If you come to Thailand, let me know, I will guide you around enjoy Bangkok for 1 day....Thankssssssssssss my real teacher
@nasirshaikh2715
@nasirshaikh2715 4 года назад
I really appreciate the video which you have made, it is very easier for the non-technical person to understand, thank you so much. I am the new person who is going to use this script in our master sheet and also I would like to see more videos to learn the same from scratch... :)
@philippschumacher4659
@philippschumacher4659 4 года назад
Thank you very much. After watching a lot of videos regarding this, i finally found yours and understood what i did. Not just copy and paste code.
@LucasFurioFranco
@LucasFurioFranco 4 года назад
I freaking love you, man! Thanks for the lesson, it works wonders! S2 Thank you, thank you a lot! I can't express how grateful I am to you right now! Best regards!
@teresalgeorge
@teresalgeorge 3 года назад
ME TOO!! I AM just so THANKFUL for this video ! lol I LOVE THIS MAN FOR DOING THIS!
@davidhebert-y6l
@davidhebert-y6l Год назад
thank you for sharing, all your tutorial very very very very helpful. God Bless you and Family always
@JanRossi
@JanRossi 3 года назад
Totally just used this. Thank you. I feel like I kinda jumped into the advanced area. but you made it easy to follow your instructions. Thank you!
@travel247peru8
@travel247peru8 4 года назад
Congratulations ! i not speak well english, but you explain very easy and simple , thanks for your work , definettly best tutorial ever ! hugs from Perú
@BustaCap
@BustaCap 4 года назад
I’ve learned so much from this channel it’s insane. Thanks for all your help.
@bhawanishekhawat3163
@bhawanishekhawat3163 5 лет назад
Very nice video and it is very useful in companies where Google sheets are used too much, our company is completely on Gmail
@andrewjawney1
@andrewjawney1 3 года назад
Thanks for that! Could you please add the code into the video description?
@muraly3523
@muraly3523 2 года назад
Thank you very much.You are a very good teacher.
@hoiyinwan8233
@hoiyinwan8233 5 лет назад
That was amazing tutorial, thank you for making this.
@joshuageraldinotantrysenak7692
@joshuageraldinotantrysenak7692 3 года назад
I've been browsing for hours now, finally I Found this thankyou so much. I just have one question, If I want to track the changes on other sheet then timestamp into the current sheet, how should I do that :). Thankyou
@ExcelGoogleSheets
@ExcelGoogleSheets 3 года назад
source.getSheetByName("Time Stamp Sheet Name").setValue(new Date())
@samprotestchanel2252
@samprotestchanel2252 4 года назад
Thanks, this is just what I was looking for. Can you please tell me how to add condition that date erases when col 1 has no data?
@gregoriusalvin118
@gregoriusalvin118 3 года назад
UPP
@pearldme7456
@pearldme7456 3 года назад
@@gregoriusalvin118 ???
@emmanuelmgbemena
@emmanuelmgbemena 3 года назад
You are the best. You just helped me. Beautiful explanation
@dannybans23
@dannybans23 4 года назад
Thank you so much, brother! This is exactly the solution I was looking for! I was experimenting with circular reference formulas, but the date would update the following day after inputting content into adjacent cells. So I needed a different solution. I thought of using some sort of script and just searched RU-vid. Thank goodness I found your video! You saved me so much time! Well done, great work! - Greeting from Toronto, Canada!
@ExcelGoogleSheets
@ExcelGoogleSheets 4 года назад
Glad it helped!
@soamyaashishgetengaged7881
@soamyaashishgetengaged7881 4 года назад
@@ExcelGoogleSheets This only works when the owner of the sheet makes any change but if anyone enter any value then the timestamp doesnot appear. I want to create the same when anyone can enter the value
@subhamdey1922
@subhamdey1922 2 года назад
@@ExcelGoogleSheets Can you help me with the script code?
@ali399
@ali399 Год назад
@@subhamdey1922 Code.gs function onEdit(e) { addTimestamp (e); } function addTimestamp (e){ //variables I 7 R 7/16:38 Fix Date Delay > var startRow 2; = var targetColumn = 1; var ws = "My Data"; //get modified row and column var row = e. .range.getRow(); var col = e.range.getColumn(); if (col === targetColumn && row >= startRow && e.source.getActiveSheet().getName() WS var currentDate = new Date(); e.source.getActiveSheet().getRange (row, 4).setValue(currentDate); if (e.source.getActiveSheet().getRange (row, 3).getValue() ""){ e.source.getActiveSheet().getRange (row, 3).setValue(currentDate); } // END IF check if date created exists } // END IF check column, row, worksheet
@Nibarger
@Nibarger Год назад
Very nice...I've been watching many others and you are by far the easiest to follow and understand. Thank you very much.
@felixtsoy3138
@felixtsoy3138 3 года назад
Hey there, this is an incredible instruction, very detailed. Could you explain, how to apply this function to additional worksheets (but not all) in the workbook?
@christran8643
@christran8643 2 года назад
did you ever find a way to do this?
@audiomemento
@audiomemento 2 года назад
Wow I finally got this to work thanks to your video! Super helpful and well explained.
@eptrade2323
@eptrade2323 4 года назад
This is quite amazing! I found a different way of doing it, it is simple, but works for me. I created a "form" with google forms..... as a question you can ask: what is the package id? and let the response be text (the id)... once the answer is submitted you can ask google forms to send the results to a google spreadsheet..... the time stamp is a default column.
@omarjimz
@omarjimz 4 года назад
Awesome. Not only learned to timestamp but scripting in Google Sheets. Thanks!
@saoudiabdealbaseete4239
@saoudiabdealbaseete4239 3 года назад
Dude, you're the best, I wish you get everything that you want my friend
@mirandusfarmers7250
@mirandusfarmers7250 3 года назад
for those who want the code plus a few tweaks function onEdit(e) { addTimestamp(e); } function addTimestamp(e) { var startRow = 2; var targetColumn = 10; var ws = "testSheetOne" ; var row = e.range.getRow(); var col = e.range.getColumn(); var insertColumn1 = 12 var insertColumn2 = 13 if(col === targetColumn && row >= startRow && e.source.getActiveSheet().getName() === ws ) { var currentDate = new Date (); e.source.getActiveSheet().getRange(row,insertColumn2).setValue(currentDate); if(e.source.getActiveSheet().getRange(row,insertColumn1).getValue() == ""){ e.source.getActiveSheet().getRange(row,insertColumn1).setValue(currentDate); } } } //ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-548dD3iXetg.html
@itbrian39
@itbrian39 2 года назад
Can't get it to work, but thanks anyway.
@jo-annebernardo7979
@jo-annebernardo7979 Год назад
Hi! First of all thank you for all the learnings I get in this channel! This may be a dumb question but Im very new in spreadsheet, so was thinking if you could guide me through on how to automatically add a time stamp based on the last edit made in the spreadsheet?
@wagnerbarbosa1894
@wagnerbarbosa1894 3 года назад
Speaking from Brasil! Simply perfect! Thank you!
@madhumohan3843
@madhumohan3843 2 года назад
It is really impressive the way he explain and can grab the attention of code ignorant people
@Corigador
@Corigador 4 года назад
Great instructions! Thanks. Is there a way to make the timestamp trigger when you paste several rows of data into the target column? Currently it only adds the timestamp to the top line where the start of the list was pasted.
@prasantamaji9998
@prasantamaji9998 3 года назад
Thank you so much sir for sharing this knowledge with us. Sir one thing I need to know if I want to apply this code in multiple sheet on same worksheet then what should to do??
@manasgarg14
@manasgarg14 4 года назад
This is exactly what I'm looking for, thanks for the tutorial. Great job man! THANKS A TON !!! :)
@ohwe0w226
@ohwe0w226 3 года назад
Thank you!! No coding experience whatsoever and I was able to do it!
@ExcelGoogleSheets
@ExcelGoogleSheets 3 года назад
Excellent!
@cristinapajarillo6956
@cristinapajarillo6956 5 месяцев назад
Thanks so much you helped improve my project significantly! All the best!
@decenmueblesinfantiles3647
@decenmueblesinfantiles3647 3 года назад
Hello! this is a great tutorial, but how to get the timestamp from when any cell from a range is modified? cant find out how to set the range beside the number of column
@valentino0472
@valentino0472 5 лет назад
Awesome Video.. I did notice that the speed of the editing the 1st column will affect if the function runs. Meaning Try to enter data really fast in column 1 to simulate auto fill and it skips rows trying to keep up. Thank you for your time and knowledge sharing.
@ExcelGoogleSheets
@ExcelGoogleSheets 5 лет назад
Yea, that might happen.
@batmanrecharged
@batmanrecharged 2 года назад
I love it ...explained so simply... I am facing one issue - I have a Script (s1) which takes data from webpage and updates it. Now have added your script(s2) with the same Gsheet. But it doesn't enter if the sheet i updated by s1 but works fine if manually edited.. Your feedback please...
@hellboy1488
@hellboy1488 2 года назад
this was very helpful and my very first exposure to any sort of code! worked perfectly thank you!
@sophie8199
@sophie8199 3 года назад
Are you able to advise on how to run script for multiple timestamps on one sheet? Also, for the same timestamp to only work on selected sheets...i am struggling to make either scenario to work ? Do you have videos to cover these?
@shrikanth744
@shrikanth744 4 года назад
hi, Thank you for sharing this video - Add Timestamp when cell is changed. this is working for me. i would like to use two app script i.e onEdit & addTimestamp in same excel sheet. How can i do this which adding two script for same sheet. both script i have learnt from this channel. at present i have added both the script and only one script which addTimestamp is working but onEdit script is not working (i.e: Dynamic Drop Down Based on Another Cell & Multiple Selections Updated Automatically) Please help me in this regards
@dennyandriansyah2560
@dennyandriansyah2560 3 года назад
exactly what I looking for.. thanks for tutorial.. very helpful..
@kevinbelmonte524
@kevinbelmonte524 2 года назад
This tutorial is so good and informative in anyways. May i ask how can i specify a column range like A1 to E1 for example.
@Trackdaygenius
@Trackdaygenius 8 месяцев назад
Hi there did you find a solution for this?
@scottcardais3560
@scottcardais3560 2 года назад
This is a great tutorial and it used to work perfectly but as of 2021-11-05 it fails. The debugger says that several of the variables are "undefined". ("e", "ws", "row", "col", "currentDate") Has something changed in the scripting syntax to break this script?
@ingridrnilsen
@ingridrnilsen Год назад
Just edit the code and it should be live on your Sheet. Only way to test the code is by actually editing a cell in other words, since you're running the code from inside the script editor.
@aleksandarnakevski8041
@aleksandarnakevski8041 4 года назад
Great video! Really thorough. Is there a way to do this same type of thing but instead of a timestamp its a user-stamp based on the email of who edited the document?
@kamleshpatel8244
@kamleshpatel8244 3 года назад
Amazingly helpful video, very easy to follow and give confidence adapt too ... thank you so much
@subratadutta4562
@subratadutta4562 4 года назад
Nicely explained with minute details. Thanks for uploading this video. Looking forward to watch more.
@Trackdaygenius
@Trackdaygenius 8 месяцев назад
Awesome tutorial! Is there a way to define a range of columns?
@fjlugo
@fjlugo 7 месяцев назад
I'm chasing same answer.
@unityindualities
@unityindualities 4 года назад
Thank you so much for doing this, I love this page so much. You are contributing to something that is going to change the world, and I can't thank you enough. Thank you for all these tutorials, they have helped me insurmountably.
@RonMorlan1516
@RonMorlan1516 Год назад
Just did a mod of this code and it worked great! Thanks for a great tutorial!
@kerella2321
@kerella2321 2 года назад
This is perfect! But is there a script wherein whenever there is a change, it'll have an automatic copy of the previous data?
@affiqfadzil
@affiqfadzil 4 года назад
Great job! Clear tutorial, exactly what i'm looking for.. Thank you so much
@edisonpalima
@edisonpalima 4 года назад
Thank you very much. This is the exact tutorial that I'm looking for. I'm now subscribed :)
@ExcelGoogleSheets
@ExcelGoogleSheets 4 года назад
Thanks for the sub!
@DavidMacKayE
@DavidMacKayE 4 года назад
Holy Smokes, I think I found my new teacher. Wow!!
@tamayonoelle88
@tamayonoelle88 4 года назад
Very informative and superb knowledge! Thank you for sharing it!
@najmuddinazik
@najmuddinazik 4 года назад
Thank you so much. I follow step by step and make it! God bless you for helping🙏🏼☺️
@jayrodathome
@jayrodathome 9 месяцев назад
FYI you can also easily add a timestamp by using Lamda instead of Appscript. For example. Assuming A1 is a Checkbox (true/false) then you could use this formula =LAMBDA(now,cell,if(cell,now,))(now(),A1) which will print the time whenever that checkbox is checked off and it is static. It will not change onEdit or refresh. It will only update when you click the checkbox. Now you can change the logic to whatever I'm just using the checkbox as an example. I believe this is a newer feature in google sheets.
@AhmedIbrahim-ct5fs
@AhmedIbrahim-ct5fs 4 года назад
would you please elaborate how to lock cells automatically after entry is made in sheets so that cells can't be edited after making an entry. Thanks in advance
@whinapomana9715
@whinapomana9715 4 года назад
This is such a great tutorial, thank you so much!
@PencilBoxID
@PencilBoxID 5 лет назад
This exactly what im looking for, thanks for the tutorial,
@manishdashsharma7381
@manishdashsharma7381 5 лет назад
Hello you know app scripting?
@andrewjames2707
@andrewjames2707 3 года назад
Awesome very helpful. Just wanted to know if there was a way to change it so the timestamp would only change when specific test was added to the cell?
@markanthonytibayan4148
@markanthonytibayan4148 2 года назад
This is really helpful!!! thank you so much for this. If its alright, I just have a quick question, what if I want to add another specific sheet with this function? Thank you so much in advance!!!
@markanthonytibayan4148
@markanthonytibayan4148 2 года назад
ohhhh, i figured it out! no worries. again, this video is great and very educational. really appreciate you and your vids. thank you so much!
@ExcelGoogleSheets
@ExcelGoogleSheets 2 года назад
👍
@bangdoeltips7492
@bangdoeltips7492 4 года назад
Very useful and helpful tutorial, thank you.
@ewensytri3164
@ewensytri3164 4 года назад
Amazing tutorial, Can you make another video about date stamp but with multiple sheet with different layout and multiple Columns that have a dedicated date stamp column for each?
@alecaiken7464
@alecaiken7464 2 года назад
Thank you so much for creating this tutorial, so helpful! One question I have is, is there a way to have the script display a particular date format? I know that I can format it in sheets using but that only changes what you see, not the actual data in the cell. Thanks again!
@152M1
@152M1 3 года назад
Holy camoly best tutorial and explaination ever!! Thank you so much for the knowledge!!
@ExcelGoogleSheets
@ExcelGoogleSheets 3 года назад
Glad you enjoyed it!
@ellieval206
@ellieval206 Год назад
Hi! I was wondering if there is a way to add the date when the cell contains only specific data klike "done" for example) Amazing easy to follow video
@mVuralification
@mVuralification 3 года назад
Great vid, much appreciated! Is there any way to use this several times in one specific tab? Thanks
@amfarooq1
@amfarooq1 4 года назад
Great video! Many people have asked you about doing the same thing on multiple sheets Please help I have the same question Thanks so much
@christianwetzel5460
@christianwetzel5460 4 года назад
Hi, greeting from Argentina. You're the Best of the best! Thanks to you and your tutorials i'm making a lot ok changes in my business. I konow very little about programming (i just know what i saw in a few videos of yours) so i want to know how can i run this function to give me a different time stamp (in differente columns) depending on the value of the first column. Being precise, i need to calculate the time lapses between events taking place in my business (i have an aesthetic center here in Argentina i want to know how much time the clients wait in the waiting room and how much time their spend in the consulting room). So, in the first column i have a drowpdown list with the differente events. For example, the first event would be "client arrives". When you select that option, the idea is to register that specific dat and time in a column called "arrival". Then, the next event would be "client is being attended in the consulting room". When you select that option, the idea is to register that specific date and time in another column called "in consultating room" (this new event shouldn't change the timestamp in the column "arrival"). This workflow would allow me to take into accountance the average waiting time and the average consulting time (and i would also allow me to have an alert, in real time, if someone has been waiting for too long). After watching your video i managed to make the time stamp exactyly as you did it (it's amazing by the way). I imagined that i would only have to change the if condition (when it sais "getValue() == "")) and that i could just put "getValue() == "client arrives" but sadly that didn't worked. Please, could you help me? Thanks in advance for everything!
@ExcelGoogleSheets
@ExcelGoogleSheets 4 года назад
It should work, just know it's case sensitive. Example "Client Arrives" is not the same as "client arrives"
@christianwetzel5460
@christianwetzel5460 4 года назад
@@ExcelGoogleSheets I finally did it. Guess how? With your other video about timestamps. You're the best. Thanks for sharing all your knowledge to the world
@Excellent625
@Excellent625 4 года назад
Hi, Thank you a million for all perfect lessons you did. It is just very amazing. I have a query, Is it possible to add the user name as well?
@RadoHudran
@RadoHudran 2 года назад
Awesome, I enjoyed coding with you because it's interesting and I can't code on my own at all. Thx!
@sinisamoravac8482
@sinisamoravac8482 3 года назад
Works perfectly for me! Very well explained!! Thank you
@PPPRAJWALLL
@PPPRAJWALLL 3 года назад
It doesnot work if you protect the column from people who overwrite the time stamp. Is there any solution for this?
@agamgumelar6605
@agamgumelar6605 2 года назад
Works like a charm, thank you so much bro!!
@ExcelGoogleSheets
@ExcelGoogleSheets 2 года назад
👍
@sangeetarora
@sangeetarora 3 месяца назад
Very helpful and informative
@garricko
@garricko 4 года назад
Thank you for making this! This helped a lot with my simple spreadsheet.
@EmambuxSheik518
@EmambuxSheik518 4 года назад
Great Tuto, one question, what happen if you have more than one spreadsheet? , each spreadsheet need their own variables if you duplicate but change the name or it will work automatically?
@15weouthere10
@15weouthere10 3 года назад
received this error " TypeError: Cannot read property 'range' of undefined (line 3, file "Code") " send help
@Eduardo12783
@Eduardo12783 3 года назад
I received the same error. Did you figure it out?
@tanmaykaushik3732
@tanmaykaushik3732 3 года назад
@@Eduardo12783 did you?
@karyaadhikari8045
@karyaadhikari8045 3 года назад
If you manually run the function you'll get an error and that's normal. The function needs to run automatically when changes are made in the spreadsheet.
@drylunch8462
@drylunch8462 3 года назад
Really useful info, thank you very much for posting, have now subscribed
@adeep598
@adeep598 3 года назад
I owe my new job to this youtube channel
@TajweedAcad
@TajweedAcad 3 года назад
If we wanted to create another column "Done" and every time done is typed in it, last modified gets updated. We are having a hard time writing that script. Similarly we created a to do list. "Column A" has a check box, every time the box is checked we also want the last modified to update all in the same sheet. Checkbox checked = last modified should update "Done" typed in the "Done" column = last modified should update Your help would be greatly appreciated. Btw this was an amazing video!
@richellejoannemacachor6087
@richellejoannemacachor6087 3 года назад
This helped me A LOT! :D Do you have something similar if the modified cell is imported from another sheet?
@CompSciSimplified
@CompSciSimplified 3 года назад
Thanks man,respect for your hard work.
@alexandergonzalojimenezcas3984
@alexandergonzalojimenezcas3984 3 года назад
Thanks for this great class , I have a problem when I try to bring new data into my spread sheet from Formulario , it doesnt work because of there's any editable change thats why it doesnt run the macro, could you give me some advice please
@TJHuntley1123
@TJHuntley1123 3 года назад
Thanks for all your videos, I have learned a lot. This script doesn't work when a cell auto-populates, only if you edit the cell yourself. I'm parsing data from emails using script and regex. Is there a way to get the script to timestamp when the script runs?
@mr_shanes
@mr_shanes 2 года назад
onEdit will only (and always will) run when a user does input, it will NOT run programatically. so, if you are using a script to scrape info from emails, then in that script you should add in procedure to also add a timestamp when the data is put into G-Sheets.
@TJHuntley1123
@TJHuntley1123 2 года назад
@@mr_shanes Thanks Shane for this info. I have tried this before but I don't know enough about script yet to make it add the timestamp. I am still learning though so hopefully I will get it soon.
@joelwong3189
@joelwong3189 4 года назад
Hi, Would this run on the mobile version of Google Sheets? Thank you for making these quality tutorials!
@mr_shanes
@mr_shanes 2 года назад
suggestion: to suit the context of a package ID and comments, which might instead be something like "Status" (en route, delivered, etc), the script would be better suited to monitor column 2 (because a package ID wont change, but its status will).
@carloumali3417
@carloumali3417 3 года назад
great tutorial, easy to understand! I tried it myself and it works!
@maddmarddigann
@maddmarddigann 3 года назад
Good video. It works great for manual cell changes. What if i want to add a timestamp based on a cell change that is in an array? Is this possible?
@yanuardarmaji813
@yanuardarmaji813 3 года назад
Very helpful! Thank you. I have a question: What if I want to add timestamp in "Other" worksheet too? So when I'm in "My Data", the timestamp is still written in the first and fourth column of My Data, but, when I'm in "Other", the timestamp will be written in the first column of "Other" worksheet only. Thank you
Далее
@ItsMamix учу делать сигму😎
00:12
Просмотров 663 тыс.
I Did This With Coffee! 🤯☕️ #shorts
00:22
Просмотров 162 тыс.
How To Timestamp Cells In Google Sheets
8:48
Просмотров 105 тыс.
Google Sheets - Userform
35:51
Просмотров 161 тыс.
Timestamp with Checkboxes in Google Sheets
6:06
Просмотров 28 тыс.