Time Tracker Google Sheets: How to create an app using Google Apps Script

  Рет қаралды 29,864

Code With Curt

Code With Curt

Күн бұрын

Пікірлер: 94
@AdminAtlas
@AdminAtlas 4 ай бұрын
Amazing, you just made my life easy to track hours for my employees without paying anymore memberships THANK YOU SO MUCH
@tanveerhussain3881
@tanveerhussain3881 3 жыл бұрын
World's Best Teacher Best Quality Learn Easy and Understand I Love And Like All Video
@ronmariani
@ronmariani Ай бұрын
Brilliant and to the point !! Well Done Sir
@AG-qc8ek
@AG-qc8ek 9 ай бұрын
WAW COOL I'm a new cs student, 43 yo I'm much more excited!! thank you bro !!! :))
@dmitry8732
@dmitry8732 2 жыл бұрын
Exactly what I was looking for.
@Nate-ix1mo
@Nate-ix1mo 3 жыл бұрын
Was looking for something like this, thank you!
@DevonTheInspiredFilmmaker
@DevonTheInspiredFilmmaker 3 жыл бұрын
This worked GREAT! This is exactly what I needed! Thanks for the tutorial!
@sonukumar-bo7qk
@sonukumar-bo7qk 3 жыл бұрын
Hello, can u please help me with the code
@brig9087
@brig9087 3 жыл бұрын
Please Help! I don't know what to do next.. this is the error after I run the codes.. TypeError: Cannot read property 'getLastRow' of null
@mischelsanmiguel2007
@mischelsanmiguel2007 Жыл бұрын
@@brig9087 hi! did you resolve yours? i just tried it now and got the same result. what did you do to fix it?
@nitanew1
@nitanew1 Жыл бұрын
Great video...you are AWESOME!! Can you manually edit the time entry? For scenarios in which they begin work but forgot to clock in, thus need to adjust the time.
@user-eq8sv9yc9o
@user-eq8sv9yc9o 11 ай бұрын
Did you ever figure this out? When I edit the time the total hours dont adjust properly
@iclx7844
@iclx7844 2 жыл бұрын
do you have a link to a template??
@CodeWithCurt
@CodeWithCurt 4 жыл бұрын
Google Apps Script Code used in Video Below: function clockIn() { //DEFINE ALL ACTIVE SHEETS var ss = SpreadsheetApp.getActiveSpreadsheet(); //DEFINE MAIN SHEET var mainSheet = ss.getSheetByName("MAIN"); //LAST ROW ON MAIN SHEET var lastRow = mainSheet.getLastRow(); for (var j = 5; j
@armymoaengenecarat5955
@armymoaengenecarat5955 3 жыл бұрын
copied and pasted this but im getting this error
@armymoaengenecarat5955
@armymoaengenecarat5955 3 жыл бұрын
TypeError: Cannot read property 'getLastRow' of null
@kristinemoffett6017
@kristinemoffett6017 3 жыл бұрын
How did you get all the codes? I followed your video and don't know how you found them
@cpoornimal247
@cpoornimal247 3 жыл бұрын
same problem
@chrissharpe8598
@chrissharpe8598 2 жыл бұрын
When i fill out the rest of the sheet with formulas or drop boxes it resorts to the last cell is there anything i could change so it only focuses on A, B , C?
@nurazizah8063
@nurazizah8063 Жыл бұрын
Hi, I have implemented the code and it's awesome. I'm just wondering, I've tried several "test" and it goes until row 19, if I wanted to start using it, how to delete all of the previous data since it is not gone even though I deleted it. Waiting for your answer, thanks!
@centralcomputer7545
@centralcomputer7545 3 жыл бұрын
i was try,but At Total Hour Not Replace, please Can you help me
@paconogara6527
@paconogara6527 2 жыл бұрын
Is it possible to capture multiple "Start time and End Time" punches if the sheet is shared to multiple users using different devices/PC? Like for example user1 punches 1:00am then user2 punches his start time at 1:02am is it possible that their punches will be recorded at the same time?
@Awhienk
@Awhienk 4 жыл бұрын
One subscribe from Indonesia
@user-eq8sv9yc9o
@user-eq8sv9yc9o 11 ай бұрын
Okay got this working... MOSTLY.... what about editing the clock in and out times? the total hours does not properly adjust
@biancalaroza7732
@biancalaroza7732 3 жыл бұрын
how can set the code if i wanted my time stamp to be started on a specific column and with a column freeze from A to J. I wanted to start the Clock In and Out in Colum K onwards because columns A-J will be used for a different data and that is where i will freeze the column. i have data from A to J columns and rows, since we are using the lastrow script it will time stamp to the last row i used from A to J column but i wanted to record the time at the starting rows of columns K to Z. Can you help me?
@Cloud-mo4vv
@Cloud-mo4vv Жыл бұрын
Can you add a code where the employees can see what time they need to return? Something like a 15minutes break tracker, and they need to clock back in before the 15minute break time
@kyleelizaespinoza6749
@kyleelizaespinoza6749 Жыл бұрын
Is there a way, that an employee can only click the In and out, only for his/her name? and not for the other employee?
@gianliv04
@gianliv04 3 жыл бұрын
what if I wanted to separate the date and time? That would result in totals the name and time and the total accumulated hours?
@mimitv7784
@mimitv7784 3 жыл бұрын
Thank you so much :) but how can i show an error box that says OVERBREAK when you clock out and the result is beyond 45 mins. and it will also ask a question "Reason for overbreak:"
@southerntagalogcommand2994
@southerntagalogcommand2994 3 жыл бұрын
kindly help me out, it keeps saying that the lastRow is not define, line 12 base on your turial. what should i DO?
@mustaphaighchane4265
@mustaphaighchane4265 2 жыл бұрын
if you know how plz tel me
@hnag1907
@hnag1907 Жыл бұрын
Name your sheets exactly like the video and also the pages
@raimondas27
@raimondas27 3 жыл бұрын
How to restrict to only one employee clocked in at any given time? Before next can clock in the active one needs to clock out.
@dmitry8732
@dmitry8732 2 жыл бұрын
If the script concatenates time values instead of summing them. Where can be an error?
@sarahgolder
@sarahgolder 11 ай бұрын
Mine just brings up apps script and then says clockin and clockout cannot be found
@lalitobodoque
@lalitobodoque 2 жыл бұрын
It works in a smart phone with the app of google sheets?
@premdavid3131
@premdavid3131 3 жыл бұрын
Hi , I have typeError Cannot read property 'getlastrow' of null
@hnag1907
@hnag1907 Жыл бұрын
Name the sheet and pages exactly as in the video
@SunilKumar-ob6vs
@SunilKumar-ob6vs 2 жыл бұрын
Can it handle days count also means if out time in next day ...if yes please update...
@user-tc9mm4dd1z
@user-tc9mm4dd1z 11 ай бұрын
why is the total hours not summarized, even though the code entered is exactly the same, thank you
@asramakiis6902
@asramakiis6902 Ай бұрын
how to change the total hours into minute ?
@redefyneemployees899
@redefyneemployees899 Жыл бұрын
Has anyone gotten this to work on a tablet or mobile with the sheets app? OR does this have to be run on a desktop/laptop?
@DevonTheInspiredFilmmaker
@DevonTheInspiredFilmmaker 3 жыл бұрын
Quick question, to clear all the information, just delete the boxes?
@CodeWithCurt
@CodeWithCurt 3 жыл бұрын
Yes to start over just clear the google sheet cells
@kenneithmind4597
@kenneithmind4597 3 жыл бұрын
where is the coding?
@rebeccaduran1195
@rebeccaduran1195 3 жыл бұрын
Hi can anyone share the code? It's not in the comment. TIA for the reply 😊
@hnag1907
@hnag1907 Жыл бұрын
On the RHS top there is a button "Share" Click there and send
@dantyr11
@dantyr11 10 ай бұрын
WHY can't I find what in excel
@akashtakvani4864
@akashtakvani4864 4 жыл бұрын
I typed everything. But getting "typeerror : cannot read property 1 of undefined. " Please help
@CodeWithCurt
@CodeWithCurt 4 жыл бұрын
Posted Code in Comments
@mischelsanmiguel2007
@mischelsanmiguel2007 Жыл бұрын
how to change the timezone?
@merrychristinedalusung3727
@merrychristinedalusung3727 4 жыл бұрын
Kindly share the functions? 😊
@CodeWithCurt
@CodeWithCurt 4 жыл бұрын
Posted Code in Comments
@imadethisformcds989
@imadethisformcds989 3 жыл бұрын
Can you post the code in the comment plz
@JeykNeyra
@JeykNeyra 4 жыл бұрын
Where is the Code??
@mhonzregis3649
@mhonzregis3649 3 жыл бұрын
I want the output of hours to be in a duration format or hh:mm:ss how do I do that, I trie changing .setNumberFormat("#0.00") to .setNumberFormat("hh:mm:ss") but its giving me an incorrect total of hours
@CodeWithCurt
@CodeWithCurt 3 жыл бұрын
Below is the replacement code to get HH:MM:SS For Function clockOut() var totalTime = (mainSheet.getRange(j,3).getValue() - mainSheet.getRange(j,2).getValue()); mainSheet.getRange(j,4).setValue(new Date(totalTime).toISOString().substr(11, 8)); For Function TotalHours() var rate = mainSheet.getRange(j, 3).getValue() - mainSheet.getRange(j, 2).getValue(); mainSheet.getRange(5+i,7).setValue(new Date(totals[i][1]).toISOString().substr(11, 8)).setFontSize(12);
@RaneeA
@RaneeA 3 жыл бұрын
@@CodeWithCurt I tried this replacement, but it turned out that the "starting interval line is too short" In the cell of hours, the time appears correctly in the format hh: mm: ss, but in Total Hours nothing appears in the name of the cell to the right of it
@thomastdg8820
@thomastdg8820 3 жыл бұрын
@@RaneeA dit you manege to fix this problem?
@brigittea1118
@brigittea1118 3 жыл бұрын
@@CodeWithCurt Hello Sir, good day.. do you have codes for In and Out but will be reflected on the column H (In), column I (Out), column (J) for calculated duration of time (h:mm:ss)?? please help. this is my assignment. I would like to change the reference to column C (instead of column B1). thank you so much...
@rdlowesinc.9987
@rdlowesinc.9987 3 жыл бұрын
Drop down not working on Mobile device
@manuelmezquita9462
@manuelmezquita9462 3 жыл бұрын
IDK y i get getlastrow error like i did everything to the letter
@jsbeardessentials
@jsbeardessentials 3 жыл бұрын
I did the same and I caught an error on line 12. Couldn’t figure it out.
@hnag1907
@hnag1907 Жыл бұрын
Name the sheet and pages exactly as in the video
@manuelmezquita9462
@manuelmezquita9462 3 жыл бұрын
man its not working
@akashtakvani4864
@akashtakvani4864 4 жыл бұрын
Code not shared :( too much disappointed.
@CodeWithCurt
@CodeWithCurt 4 жыл бұрын
Posted Code in Comments
@mimitv7784
@mimitv7784 3 жыл бұрын
@@CodeWithCurt I couldn’t find it 🥺
@llawliet3552
@llawliet3552 2 жыл бұрын
Good day, Sir, why is the script won't add a new record every time it read on this part? and sometimes it takes more than a minute running the script. // ADD CLOCK IN RECORD mainSheet.getRange(lastRow+1,1).setValue(mainSheet.getRange('B1:B1').getValue()).setFontSize(12); mainSheet.getRange(lastRow+1,2).setValue(new Date()).setNumberFormat("MM/dd/yyyy hh:mm:ss A/P").setHorizontalAlignment("left").setFontSize(12);
@elia6688
@elia6688 2 жыл бұрын
Can you do an app version ? Will pay for it:)
@arturitojoestar
@arturitojoestar 2 жыл бұрын
do you still need?
@lorraine5558
@lorraine5558 2 жыл бұрын
Good question
@noeme17
@noeme17 4 жыл бұрын
I hope he shares the code so we don't have to type everything
@akashtakvani4864
@akashtakvani4864 4 жыл бұрын
I typed everything. But getting "typeerror : cannot read property 1 of undefined. " Please help
@akashtakvani4864
@akashtakvani4864 4 жыл бұрын
I typed everything. But getting "typeerror : cannot read property 1 of undefined. " Please help
@noeme17
@noeme17 4 жыл бұрын
@@akashtakvani4864 had the same error too
@ericsonreyes2220
@ericsonreyes2220 4 жыл бұрын
Syntax Error
@akashtakvani4864
@akashtakvani4864 4 жыл бұрын
@@noeme17 what will next if u can help me
@rileymorrissey5688
@rileymorrissey5688 3 жыл бұрын
do you have a link to a template??
Clock In, Clock Out System w/ Google Sheets & Google Forms, Spreadsheet Template for Small Business
46:22
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 281 М.
How to Build a Time Sheet in Google Sheets from Scratch
31:00
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 6 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,3 МЛН
나랑 아빠가 아이스크림 먹을 때
00:15
진영민yeongmin
Рет қаралды 16 МЛН
Employee Time Clock Web App on Google Sheets using Google Apps Script
25:46
How can I create a time tracker or punch clock using Google Sheets?
9:41
Google Sheets - Timesheet, Formulas, Time Calculations - Tutorial
31:04
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 242 М.
Efficient Time Tracking with Google Forms and Sheets
25:41
Excel Highway
Рет қаралды 1 М.
Apps Script - All Day Calendar Events in Google Sheets
10:48
Eamonn Cottrell
Рет қаралды 7 М.
Google Apps Script Tutorial for Beginners
23:54
saperis
Рет қаралды 377 М.
Turn Your Spreadsheet into an App
6:58
Prolific Oaktree
Рет қаралды 70 М.
Check in / out Google Sheets
12:05
The Mobile Sales Engineer
Рет қаралды 197 М.
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15