Members-only tutorial
Watch the video and get the practice sheet with membership.
About this Tutorial
Sheet Resources
Apps Script APIs used
Apps Script methods used
Video Transcript
<div> Hello, welcome. So the question is in this vi for this video is how do I add a timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab to done tasks? So what happens? Now what you're trying to do is you're u trying to use a now equals now. And this changes every time we edit, right? That is a difference. We can add as many as we want, but it's now and always will change on upon.<br><br>To now and even a few today. The next time we edit we'll need to, it'll change if it changes the day, but what you might be doing now is like you might be doing now and then using command C and then shift command V for pace values Understand how values work in your spreadsheet for better data management. Opens in new tab .
And you get something like this for the date. You get something like this and you have to, we can just format Discover formatting techniques to enhance the readability of your data. Opens in new tab this, right?<br><br>But this is a little bit of. Let's do big time, but this is a little bit of a hassle, right? Like you always, this is a lot of strokes now. And then command V shift, command V, even if you use keyboard keystrokes, this is pretty darn. Problematic. And then this is always going to change even if you just use now.<br><br>Okay, so how do we fix this or how do we, what's another solution? Going over to Stack Overflow Find out how cell overflow affects your spreadsheet layout and data visibility. Opens in new tab , found this code and it's pretty simple. One sec.
And what this code does is it's asking us three things. Are we on the right sheet? We have to say what sheet we want to be. What column we want to do and then we'll put a timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab in the adjacent column.<br><br>Okay? What this is truly great for is if you have a certain sheet that you know, okay, of all of my worksheets Explore the different types of worksheets and how to manage them. Opens in new tab or all of my tabs that I'm working on, here's the one where Learn about the query where clause for filtering data in your sheets. Opens in new tab I want to timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab and I have a timestamp column Set up a dedicated timestamp column for tracking changes in your tasks. Opens in new tab . So I'll show you how this works. One second, I will show you. How this works.<br><br>Right now it's on sheet one and we just use hi.
And now that is a timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab and it is not. And it is not changing as we edit, right? This now is changing. Every single time we edit, it's changing and we're putting it in timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab . But say we wanted to only, this is really good because say we wanted to only have this if we had say this already and we're like, oh, we need to.<br><br>Re-edit this or we need to put it in. We have a time simple already. We want to put it in. It is not overwriting the existing one. This is not a bug, it's a feature. It lets us know when was this created so we can create and. We can do something like that, right?
We can name it created or date created time created or timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab , and know, hey this timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab does not edit it only it is only created when there is nothing here, and there's something edited here.<br><br>So let me walk through this with you a little bit and then I'll show you one more way you can set up a sheet for this. So what this says is, okay, we're just gonna grab what active sheet Understand the concept of the active sheet and its importance in scripting. Opens in new tab we're. If it's the sheet we name here, sheet one. Great. Go on to the next thing. We're gonna grab the cell.<br><br>Are we sure that it's on column one? Are we editing column one?
And I want to point out, and I might not have pointed out yet in this video, that this is in the on edit function Get to know functions and how they can automate tasks in your spreadsheets. Opens in new tab . On edit is, this is only gonna, there's only one on edit function Get to know functions and how they can automate tasks in your spreadsheets. Opens in new tab for every sheet. So everything you want to do on edit needs to be in the same function Get to know functions and how they can automate tasks in your spreadsheets. Opens in new tab .<br><br>It's a little tricky if you are adding more of more functions Dive deeper into various functions available in spreadsheet applications. Opens in new tab . It's very simple here where Learn about the query where clause for filtering data in your sheets. Opens in new tab we're only doing one thing, adding a timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab , but when your sheets get larger and you wanna do more things on edit, you have to put them all in one function Get to know functions and how they can automate tasks in your spreadsheets. Opens in new tab .
And I highly recommend not doing that because it slows down your sheet a little bit.<br><br>But a couple things here or there or something to help you to add this timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab to an, a really useful sheet. This is super useful. Okay, so we just, we're checking if it's on the, One that we want. We're checking that it's in the column we want that we're editing in the column.
And then right here, this offset Learn how to use the offset function to manipulate cell references dynamically. Opens in new tab , it's offsetting one column and then it's saying, okay, grab and check if the adjacent cell is empty or not.<br><br>This means there's nothing there, so if there's something there, it's not gonna do anything. And then in the next cell we have said, okay, offset Learn how to use the offset function to manipulate cell references dynamically. Opens in new tab set value. And that's it. We're done. That is the entire script. What we're gonna do now is I'm gonna show you how to do this. We're gonna add, whoop, we don't want to go to the dictionary.<br><br>We'll call this tasks. And we might say, status timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab actually it might be even over here.
So we have task let's do task. Who and status and time stamp. So maybe this is a data validation Create dropdowns in your sheets for easier data entry and selection. Opens in new tab and it says, list from a list of items Discover how to create and manage lists of items in your spreadsheets. Opens in new tab and we're just gonna mark it done. So we just wanna mark done and we have do your day morning chores.<br><br>Afternoon chores. We just want to have a timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab here, right? So here's how we are going to do it. We're just gonna take the same code. We're gonna change this. What did we name our sheet tasks? Tasks we want, actually column three. And then this is all the same. So if we go back, let's double check this.<br><br>I hope this doesn't work.
Because we change it, right? So now nothing happens here. We can delete all of this. And now I hope it works. Once we mark it done, oh, is it gonna work? It works. We can format Discover formatting techniques to enhance the readability of your data. Opens in new tab this as what do we want to format Discover formatting techniques to enhance the readability of your data. Opens in new tab it? Maybe just the date time. There we go. And we can then, Mark each of these done, and then we'll have the date done.<br><br>Time stamp. Again, a problem with this is going to be if you do something and then you're like, oh, this isn't done yet. This time stamp's not gonna go away. You have to add more script to say, okay, if it.
Change to done then delete it, then delete what's in this one or re timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab it, delete it and then timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab it again.<br><br>That's for a little bit more. I think actually logically you should be able to figure it out. If you have this, maybe no, you have to delete stuff. So you have to figure out how to set the value to nothing. Okay. Then maybe you can logically do that. But in this video, that's it.
We're going to create our timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab and that is now you can have a cool timestamp Learn how to effectively use timestamps in your sheets without the NOW formula. Opens in new tab that doesn't change, that you don't have to use now, and it'll change every time you do something else.<br><br>Right now that's changing if you see that number Understand number formatting and its impact on data presentation. Opens in new tab changing every single time and see that one's changing every time, but all these are staying the same. So hopefully this helps you out tremendously. And let me know if you have any more questions.</div>
Courses
Sheet Stories / Video Notes + ADDED: Email Notifications
00:00:00
Fast FAQS
Enter Google Drive File Name Get URL
ChatGPT Clone in Google Sheets Part 2
Create an Internal Google Sheets Add-on
Tweet From a Sheet
Why Different Cell References in AI Integration in Sheets?
Show Sheet Tabs Based on Edit
Add Title Case to Google Sheets
How to Power Testimonials with Google Forms and Sheets
Getting Started Coding in Apps Script
Seek Errors When Coding Apps Script
Think Like a Programmer: Develop The Mindset of an Apps Script Coder
ChatGPT Clone in Google Sheets Part 1
Embed a Number in a Website from a Google Sheet
Create Navigation Like A Book or Presentation
Add Click Tracking To Your Google Sheets | Bitly in a Google Sheet
00:29:08
Hold a Giveaway Raffle in a Google Sheet
Quickstart Tutorial OpenAI API in Google Sheets
Capture Emails from Website Form to a Google Sheet (Without Zapier)
Embed a Headline in a Website from Google Sheets
Create a new Spreadsheet from just a Name in a Sheet.
00:05:21
Bjarne Asks: Can I show the Last Time of the Last Edit in a sheet?
00:05:43
Email Yourself a Cell from a Google Sheet, Every Day
OpenSea Data Inside Sheets
Create an Email Campaign Stats Calculator
00:35:13
Twitter App Clone in a Google Sheet
Dylan Asks: How to Automatically Delete Rows If Cell Contains Value
Highlight Row as You Move Your Cell Selection
Create a Timer with Apps Script
LinkTree in a Google Sheet
00:11:22
Password Protecting Data In a Google Sheet
Automatic Weekly Backup of Google Sheets
Create a CPM Custom Function (Create Better Calculators!)
Move Entire Row when a Cell is changed to "Yes" - The $75,000 Google Script
00:12:29
What Can You Automate in Google Sheets? Every single trigger available to Google Sheet users
Sync Two Tabs Without ImportRange()
Google Sheets Stories? No! But we'll add timestamped video notes to your google sheets.
00:00:00
Password Protecting Data In a Google Sheet Part 2 The Basics
Benoit Asks: How to Convert Case
00:07:35
Learn to Code in Google Sheets, For Programmers
Add a Checkbox to Turn on Dark Mode
00:05:10
Write Your First Script
00:08:31
Find Keywords in Any Column. Create quick search dropdown to find keywords
00:09:37
Basic CRM - Add a Powerful Script To Move Row Based on Status
How To Improve: 1,000 Business ideas: Business Idea Generator
00:11:20
Let's Make a Bookmarklet!
00:12:37
Troubleshooting Bitly in a Google Sheet Script
00:07:07
Unique Features - Design a Better Dashboard Part 2
00:04:13
How To Set Up Stripe Webhook to Google Sheets with Google Script
00:22:10
How to Edit a Macro
00:08:22
Sheet Stories / Video Notes + Clear 24 Hour Old Videos
00:35:10
Add A Timestamp to Task Lists (without Now Formula)
00:07:44
Make your Custom Functions Like Native Functions | Custom Function Autocomplete
00:17:58
Create a Changelog Between 2 Cells Custom Function | To learn Double For Loop
00:23:26
New Syntax for WhatChanged Formula in Google Script
00:07:14
How to Record Macros
00:06:20
2 Ways to Delete Lines Quickly (CAREFUL, it's a script!)
00:09:53
Deep Inside Dark Habits Google Script
00:18:54
How to Trigger Macros Daily
00:06:58
5 Ways to Create Coupon Codes | Create UUIDs
Create a Radio Button From Checkboxes Using Google Apps Script
00:15:01