Date stamp every checkbox in Google Sheet - Excel Tips and Tricks

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • Learn how to date stamp every checkbox in Google sheet. Technically, timestamp checkbox google sheets. In short, I'll be showing how to insert date stamp into a cell if tick a checkbox in sheets. Also rephrase as excel timestamp checkbox. This article also addresses these question; how do I timestamp a checkbox in Google Sheets? Or how to insert date stamp into a cell if ticked a checkbox in Excel? Or how do I automatically date stamp in Google Sheets? And how do I mark multiple checkboxes in Google Sheets?
    Google Sheets is a powerful tool for managing and organizing data, whether it's for personal or professional use. One common requirement when working with spreadsheets is the need to track dates or timestamps for specific events or actions. By automating the process of inserting date stamps into cells when checkboxes are ticked, you can streamline your data tracking and ensure accurate records. In this article, we will explore how to achieve this functionality using Google Sheets.
    Date Time Stamp Refreshes
    =IFS(B2=FALSE,"", B2=TRUE, NOW())
    Date Time Stamp Frozen
    =IFS(B2=FALSE,"", C2="", NOW(), TRUE, C2)
    Resolve #REF! (Iterative calculation)
    1) File ~ Settings
    2) Calculation tab
    3) Turn on Iterative calculation.
    4) Save setting
    The IFS function allows you to test multiple conditions and return a value corresponding to the first true condition. Let's break down this formula step by step:
    =IFS(B2=FALSE,"", C2="", NOW(), TRUE, C2)
    B2=FALSE: This is the first condition being tested. It checks whether the value in cell B2 is equal to FALSE. If this condition is true, it returns an empty string (""), which means a blank cell.
    C2="": This is the second condition. It checks whether the value in cell C2 is an empty string. If this condition is true, it returns the current date and time using the NOW() function.
    TRUE: This is a catch-all condition. If none of the previous conditions are true, it defaults to this condition and returns the value in cell C2.
    Here's how this formula works:
    If cell B2 contains the value FALSE, the result is an empty string (blank cell).
    If cell C2 is empty (contains no value), the result is the current date and time.
    If neither of the above conditions is true (i.e., if B2 is not FALSE and C2 is not empty), it returns the value in cell C2.
    This formula handles different cases based on the values in cells B2 and C2 and returns an appropriate result accordingly.
    #microsoft #excel #exceltips #tips #exceltricks #tricksandtips

КОМЕНТАРІ • 86

  • @CelesteMcGill-yt2qj
    @CelesteMcGill-yt2qj Рік тому +2

    I have been looking for a solution for hours and hours. 30 seconds of watch this and my problem is solved. Thank you so very much

  • @TeeHeeTVofficial
    @TeeHeeTVofficial Рік тому +1

    So helpful! Thank you for including the formula in the description!

  • @GM085
    @GM085 Рік тому +28

    This formula also seems to work, and it avoids the iterative calculation issue: =lambda(d,if(B2=TRUE,d,""))(now())

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +5

      Yes it does. That is an absolute excellent point.
      Thanks for mentioning that.

    • @jorgecassianojr
      @jorgecassianojr Рік тому +2

      Amazing! A huge thanks from jungle (brazil)

    • @udayshah6758
      @udayshah6758 Рік тому

      How to make it only edit only once in a day
      or count the number of check box true false value count

    • @symorenimimi9165
      @symorenimimi9165 Рік тому +1

      Works absolutely

    • @harshaghosh
      @harshaghosh Рік тому +1

      Please someone explain this formula. It works perfectly but I want to know how it works? I get that the "lambda" function lets you create a new custom function but why use "d"? is this just a simple name for the function? even if it is then how could you put it even before it is defined?

  • @Victormunro
    @Victormunro Рік тому +2

    I really hate that I spent a couple hours searching how to freeze the date and all it took was that little bittie formula whereas I looked at other videos and they used the 'Apps Scripts' and typed all this code and it took minutes to watch and code that was confusing and this is literally a youtube short and I was able to finally solve this with your help. Thanks for the help once more

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +1

      You are welcome 🙏

    • @Flaban88
      @Flaban88 11 місяців тому +1

      What happens if you update the Excel document the next day? Will the dates update to the current date and time?
      @@RabiGurungXybernetics

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  11 місяців тому +1

      When you toggle the checkbox, the current date and time stamp wil be reflected on the Date Stamp column.

  • @captoshuragnarok7444
    @captoshuragnarok7444 8 місяців тому +1

    Thank you for this! Very helpful!

  • @Campdog44
    @Campdog44 Рік тому +6

    Good stuff Keep it up

  • @aakashchudasma6060
    @aakashchudasma6060 7 місяців тому +1

    Thanks it's very helpful

  • @rajatjain166
    @rajatjain166 5 місяців тому +2

    Thank u buddy

  • @joelabad7531
    @joelabad7531 Рік тому +5

    Hi, i have a question, about this formula, =IFS(D3=False,"", D3="", Now(), TRUE,D3) it show TRUE and not the Date and Time. please help.

    • @PBTophie
      @PBTophie 10 місяців тому

      I like how he liked this without offering a fix. I get the exact same thing whenever I reopen the spreadsheet. It seems this formula only works until you close the spreadsheet.

  • @thenaturespot4085
    @thenaturespot4085 7 місяців тому +1

    You are saviour Jesus ❤

  • @BlueCubAdventures
    @BlueCubAdventures 4 місяці тому +1

    thank you

  • @mythilisamyuktha8898
    @mythilisamyuktha8898 Рік тому +1

    Brilliant 🙏😇

  • @sudhanshurastogi7916
    @sudhanshurastogi7916 Рік тому +1

    Thank you Buddy

  • @somenmaji7078
    @somenmaji7078 Рік тому +1

    Could you please explain how the now() functions refreshes and how you solved the problem

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +3

      I was hope someone asked this question. I am happy you did. The NOW() function is not the one that resolved this "refreshing date" issue.
      Let examine the formula again.
      FORMULA 1: Date Time Stamp Refreshes
      =IFS(B2=FALSE,"", B2=TRUE, NOW())
      FORMULA 2: Date Time Stamp Frozen
      =IFS(B2=FALSE,"", C2="", NOW(), TRUE, C2)
      Her are the difference in formulas.
      FORMULA 1 relies solely on the value of cell B2 to decide whether to display the current date and time or an empty string. While on the other hand, FORMULA 2 considers both the value of cell B2 and the value of cell C2 to determine the output. It shows the current date and time if B2 is FALSE or if C2 is empty. Otherwise, it displays the value of C2.
      In a nutshell, FORMULA 1 updates the date and time every time it recalculates (e.g., when you change any cell), while FORMULA 2 "freezes" the date and time when C2 is empty and keeps showing that value until C2 is populated or the formula recalculates due to other changes.
      I hope it makes sense.

  • @diogosantoslima3061
    @diogosantoslima3061 Рік тому +1

    I want to use exactly that but in my case I don't use checkbox, I use a cell with status like "ongoing", "waiting" and "done". Wanted to put this same logic but when I change the cell to "done".
    Now I'm using this formula in the checkbox cell "=IF(D2"99. Done",FALSE,TRUE)"
    Could think of another way to do it. Can anyone help, please?

  • @MrEranstone
    @MrEranstone 11 місяців тому +2

    Hi, I tried your tutorial and when I set the formul I got an #ERROR (I even tried a copy paste from what you put in the description of your video) Did I miss something ?

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  11 місяців тому +1

      Just baselining, This is Google Sheet you are working with right?

    • @mehdial3542
      @mehdial3542 2 місяці тому

      Same issue her. It says parsel error

  • @monessasales7153
    @monessasales7153 10 місяців тому

    is there any way that I can use time stamp to cells with existing data?

  • @nazikm0hammad
    @nazikm0hammad Рік тому +1

    This is amaizing , but how could we do the same for excel ?

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +1

      Awesome idea!
      I will publish video for you this weekend.
      Stay tuned.
      Thanks for your comment.

  • @tomkristensen8756
    @tomkristensen8756 4 місяці тому

    Any way to get it to just show hour and min? not date and sec?

  • @user-ty7dc2qm1m
    @user-ty7dc2qm1m 7 місяців тому +1

    My return value for both NOW() and TODAY() functions is a number and not a date. Do you know how to correct that?

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  7 місяців тому +2

      You have to change the cell formatting to date.
      Ctrl +1 to access cell formatting window.
      I hope that helps. If not drop me a line again.

    • @user-ty7dc2qm1m
      @user-ty7dc2qm1m 7 місяців тому

      @@RabiGurungXyberneticsThank you! That did it. Much appreciated.

  • @shanleemai5827
    @shanleemai5827 Рік тому +1

    How about if you don’t want the time just the date?

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +2

      Excellent question.
      In your Google Sheet, click on the cell where you have your date and time. Then click on the pull down menu Format~Number~Date, you will get date in the M/D/YYYY format.
      If you want to customize your date, go to Format~Number~Custome date and time, and then setup according to how you want your date to show.
      I hope it help.

  • @misterwill3625
    @misterwill3625 Рік тому +2

    😮 👏🏾

  • @ahmedhassan7803
    @ahmedhassan7803 Рік тому +1

    but what if i opened the sheet the next day will it change

  • @user-oc6nh6nu4d
    @user-oc6nh6nu4d 8 місяців тому

    The problem is if i mark the check box and it shows me the date , if i uncheck the box the date is deleted so how can i avoid this?

  • @Skylar2310
    @Skylar2310 11 місяців тому +1

    I don't know what I am doing wrong but when I check the box is say FALSE or TRUE
    How do I fix this?

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  11 місяців тому +1

      Where do you see FALSE or TRUE? In column C?
      Would you be able to do me a solid? Can you try this formula? Copy and paste.
      Date Time Stamp Refreshes
      =IFS(B2=FALSE,"", B2=TRUE, NOW())
      This should show a date in column C everytime you affix a check on the adjacent check box.
      Please let me know if that works.

  • @PBTophie
    @PBTophie 10 місяців тому

    This works, but whenever I refresh or reopen the spreadsheet, the timestamp changes to "TRUE". What's going on here?

  • @reycarloceleste7217
    @reycarloceleste7217 Рік тому +1

    Some of the date keep coming back to 12/30/1899. Need help

  • @karinagalvan5439
    @karinagalvan5439 11 місяців тому +1

    Hello! Can you help me I also need to get the username ID who check the box. Thanks in advance!

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  11 місяців тому +2

      Sounds like a straight forward solution, but I might need a few more details.
      - Where would you like the username ID come from?
      - Where would you like to display the username ID?

    • @karinagalvan5439
      @karinagalvan5439 11 місяців тому +1

      @@RabiGurungXybernetics thank you for your answer. I need to record in an adjacent cell the time stamp and in another cell the user Id who made the last change to the checkbox

  • @lnp9912
    @lnp9912 Рік тому +1

    How do you do the checkmark boxes like that in excel?

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +2

      In Microsoft Office, there are two ways of adding checkboxes; Form Controls and ActiveX Controls. They are both accessible via Developer ~ Insert.
      The link below shows you how you can add Form Controls checkbox.
      ua-cam.com/users/shorts3thrSemCSe0?feature=share
      I hope it helps.
      Ping me again if you need further clarity.

  • @MrThomasnight
    @MrThomasnight 8 місяців тому

    if i Uncheck the box the date goes away?

    • @totallyrandomd1714
      @totallyrandomd1714 8 місяців тому

      I am also looking for a way to stamp it and have it not clear if I uncheck the box, but update when I re-check the box. So I can use it for repeated tasks.

  • @nicorodriguez7329
    @nicorodriguez7329 Рік тому +1

    2 fast for me , also no explanation , how i'm supposed to learn?

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +1

      Sorry. We will try to make it a tad slower next time.
      Thanks for leaving a comment.

  • @domoniqueandthecrew9287
    @domoniqueandthecrew9287 Рік тому +1

    I did this and got a large number with decimals rather than a date

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +3

      When you receive a very large number instead of a date in Google Sheets, it typically means that the cell is formatted as a numeric value rather than a date format.
      GFood for thought. Google Sheets stores dates as serial numbers, where each date is represented by a unique number. The number represents the number of days since a specific base date, which is often January 1, 1900, or January 1, 1970 (for some systems).
      Now for the resolution.
      1) Select the cell or range of cells containing the large number.
      2) Right-click on the selection and choose "Format cells" from the context menu.
      3) In the "Format cells" dialog box, go to the "Number" tab.
      4) Select "Date" from the category list on the left.
      5) Choose the desired date format from the options available.
      6) Click "Apply" and then "OK" to apply the changes.
      Let me know how you pan out.

    • @lynnahara
      @lynnahara Рік тому +1

      I had this problem and thank you user for pointing that out .. my problem is now solved 😌

  • @JoyWinnerWins
    @JoyWinnerWins Рік тому +4

    Too fast for me… 😅

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +2

      Sorry. UA-cam Short requires my video to be 1 minute short but I have so much to share.
      I will try to make it a bit more concise in my next video.

    • @JoyWinnerWins
      @JoyWinnerWins Рік тому +1

      My brain doesn’t work as fast.. enjoy your videos 👍

    • @Sbudarh_P
      @Sbudarh_P Рік тому +1

      ​@@RabiGurungXyberneticsplease share a normal video of this amazing trick

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  11 місяців тому +1

      Will do.

  • @mike929929
    @mike929929 Рік тому +3

    Thanks for this. However, I'm not getting a date value. Just a numerical value ie - 45216.53558

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +3

      If you're finding yourself looking at large floating point values (for example, 45216.53558) instead of dates, it's likely because you haven't properly formatted your cell. Take a moment to format your cell by clicking on the pull-down menu and selecting Format, then go to Number, and finally, choose Date. This will display the date in the M/D/YYYY format. If you wish to customize your date further, you can do so by going to Format, then Number, and finally, Custom date and time. From there, you can set it up exactly as you prefer your date to appear. I hope this helps you get things sorted.

    • @mike929929
      @mike929929 Рік тому +1

      @@RabiGurungXybernetics thank you I actually ended up finding the solution myself. I do thank you for this video, as it did help me.

  • @bullcrap3976
    @bullcrap3976 Рік тому +1

    Why is everyone recommending stupid Apps Scripts if this is how easy it is? Jfc, ridiculous

    • @RabiGurungXybernetics
      @RabiGurungXybernetics  Рік тому +1

      Bud, there really is no Apps Script in this tip.
      You must be mistaken for other vidz.