App Script Editor Tutorial - Google Sheets - Excel VBA Equivalent - Read & Write to Ranges & Cells

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 349

  • @Jeff-fc7nf
    @Jeff-fc7nf 2 роки тому +21

    For 9 years I have been coming back to your videos. I have been able to produce highly integrated spreadsheet system at my company, connecting inventory, shipping schedules, orders, and more from multiple departments. Completely eliminating a lot of copy paste data input, and employees needing to travel to various spreadsheets and tabs to get resources and info they are looking for. I am starting to actually learn to code, the base level understanding of how functions, work on spreadsheets really provided a good foundation for understanding logical operators and function structure, that I learned from your many other series.
    Now I am back again to learn from you how to apply scripts to spreadsheets, because thats what I am familiar with, in order to supplement my JavaScript learning.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 роки тому +3

      👍

    • @jd5787
      @jd5787 10 місяців тому +1

      Hi! How do all these system work together? You export right? These videos are still up to date?

    • @Jeff-fc7nf
      @Jeff-fc7nf 10 місяців тому

      @@jd5787 At my work, a small company, each department has their own spreadsheet for which they input data that relates to a different department. For example we have a sheet for sales order, which have customer data about the order and destination, which some is relevant to our shipment department, to which they add shipping details, which become relevant to the customer service section, all these can be simply tied in via VLOOKUP functions so that data input by one department on their sheet is updated on a different departments sheet. That was one of the first basic implementations I took from this channel. You just look at a task that someone does repetitively and then use these functions to automate that task. Before you know it, you have 10 different things automated.

    • @D3epak_13
      @D3epak_13 3 місяці тому

      This is not about video, this is just a base of working in google sheet script​@@jd5787

  • @yazhisaiveandan3075
    @yazhisaiveandan3075 3 роки тому +25

    Teaching everyone in a simple and understandable way is not that easy. You made it. Really really helpful. Thank you so much.

  • @benedictpaul1758
    @benedictpaul1758 7 років тому +28

    You have a God given talent to teach. Please continue your service like this. Someone has commented to plan your videos a bit better just because it took 7+ minutes to start writing the code. But, I feel that your way of starting from scratch is what we want and the casual way of explaining makes me feel like I'm in a regular lecture room.

    • @georgenicholsoniii9781
      @georgenicholsoniii9781 7 років тому +4

      I agree 100%. You are a talented educator. I find your conversational style conducive to learning. Don't change anything, it's perfect. Thank you!

  • @alwayssip5212
    @alwayssip5212 4 роки тому +30

    never in my life did I think I'd be "advanced" enough in coding to need to learn this.

  • @CarlosGomes-mu3rc
    @CarlosGomes-mu3rc 7 років тому +73

    Please do not change your way of teaching. Excellent video.

  • @mercuriocadena6749
    @mercuriocadena6749 4 роки тому +4

    "I probably forget what I was doing". I love this. If it also happens to you, I feel so much relief.

  • @ZebaNaqvi
    @ZebaNaqvi 5 років тому +26

    Excellent.. playing at 1.25x speed works well

  • @ДмитрийПаравин
    @ДмитрийПаравин 5 років тому +1

    Absolutely the best teacher for novices in programming.

  • @GoodLife-ru8di
    @GoodLife-ru8di Рік тому

    You teach very clearly and logically like Sal Khan of Khan Academy. Kudos!

  • @athaliaw
    @athaliaw 6 років тому +4

    Thank you for seeing the need and creating these tutorials.

  • @MehmetShaman
    @MehmetShaman Місяць тому

    Wonderful, i start to learn App Script. You explain clear and understandably. Thanks for your education videos.

  • @ernest3286
    @ernest3286 2 роки тому +3

    Absolutely fantastic tutorials. The API guide was getting me nowhere. Thank you so much for creating these!

  • @danilomontuanartesp
    @danilomontuanartesp 5 років тому +3

    thank you so much. I am brasilian, it's too hard to find a tutorial to begin in Goggle Sheet Script around here. Even it being a different and technicall linguage i has understood a lot and help me so much. Thanks again

  • @cheryll6020
    @cheryll6020 4 роки тому +7

    Hey there, this is a great tutorial for beginners. I was looking for something step by step for months now & this is perfect! Thank you so much!

  • @kara1595
    @kara1595 2 роки тому +1

    OMG!!! this is gold! Thank you so much for sharing your knowledge with us! And the tutorial is very understandable! Wish you all the best in life!

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

    thank you very much bro. my works now need this app script. this basic really helped me. from Indonesia here.

  • @datascientist6233
    @datascientist6233 2 роки тому

    Excellent Man this is first time I m seeing this video tutorial its so amazing and easy to follow tutorial...God Bless You Brother !!...

  • @alisonorton7207
    @alisonorton7207 4 роки тому +3

    This video was super helpful. Thanks for posting!!

  • @shahrizuanosman3655
    @shahrizuanosman3655 9 місяців тому

    bro.. u r the best teacher!!! pls i want more about programming

  • @johnn4314
    @johnn4314 6 років тому +1

    Good video, this guy is best on youtube for google sheets. He should start a Udemy course thats super in-depth

    • @johnn4314
      @johnn4314 6 років тому

      not that this isn't perfect. but you could make money for these

  • @tarunsukhpalani9514
    @tarunsukhpalani9514 4 роки тому +1

    Today I find something very interesting about google. This is something I want. :)

  • @carmencastro5512
    @carmencastro5512 6 років тому +13

    thank you so much for sharing this!, your tutorials are really helping me in my job...

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

    Awesome instruction! Thank you. Perfect level of detail for my knowledge level.

  • @blueganderwindowcleaning8465
    @blueganderwindowcleaning8465 3 роки тому +1

    Really great video - thank-you for taking the time to make it. Much appreciated.

  • @roberthuppe1864
    @roberthuppe1864 7 років тому +1

    Thanks for the video ! Very clear. You helped me write my first script ever.

  • @tonyharion9816
    @tonyharion9816 4 роки тому +2

    Your videos are incredible! thank you!

  • @MrRooney182
    @MrRooney182 4 роки тому +1

    Great Tutorial, you really helped me start using scripts in google spreadsheet.

  • @tratecconsultoria8742
    @tratecconsultoria8742 4 роки тому +4

    Muito Obrigado, por estar compartilhando esses tutoriais de excelente qualidade!
    Thank you so much for sharing these excellent quality tutorials!

  • @TheoriginalBMT
    @TheoriginalBMT 5 років тому +10

    I needed this so much. Thank you for doing this.

  • @jeffstokes3437
    @jeffstokes3437 4 роки тому +2

    You're tutorials are GREAT, thank you. This might need a little update as Macros can now be recorded in sheets.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 роки тому +3

      I have a video on macro recording on the channel, but it's not the same as writing code.

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

    Mister, you are awesome, thanks for your videos!

  • @mikeknott212
    @mikeknott212 7 років тому +1

    hope you do some more on this (app scripts) as one, there isn't loads on UA-cam and two your content is really good 👍

  • @brilliantpy
    @brilliantpy 2 роки тому

    Thank you for creating a very helpful and easy to follow video! Great job!!! :) :) :)

  • @mymulla
    @mymulla 5 років тому

    Very easy to follow, step by step instructions. THX

  • @higiniofuentes2551
    @higiniofuentes2551 6 років тому +1

    Very clear video!
    Thanks for taking time to explain deeply !

  • @fekrabusinesssolutions
    @fekrabusinesssolutions 2 роки тому

    Excellent info. I see it awesomely presented because it gave me a decent start. Thank you sir for your efforts.

  • @rbarbe1
    @rbarbe1 6 років тому

    If you upload this to Udemy I will pay for it (if its less then $15 bucks). I don't have access to youtube at work and I would like to have guaranteed on demand use of this content. Either way thanks for posting this. It's really helpful. I payed for other content on Udemy but was disappointed. So far this is free and it's the best.

  • @Andreterragt
    @Andreterragt 2 роки тому

    Awesome video tutorial. Very useful!

  • @justfly2525
    @justfly2525 6 років тому +1

    Great teacher! This has helped me a ton. Keep the videos coming...

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

    Excellent intro!

  • @NetMediaCCTV
    @NetMediaCCTV 5 місяців тому

    Thank you for your sharing!

  • @mathankumarramasamy3493
    @mathankumarramasamy3493 3 роки тому +1

    Excellent. You Deserved.

  • @SirusShea
    @SirusShea 2 роки тому

    really appreciate your tutorials. This one is getting me. I am trying to do it alongside you, and despite doing exactly the same thing, the script isn't working at all and I don't know why.
    Edit: So, for some reason I had to change the title of the script from my function to something else.

  • @akshayshingan2862
    @akshayshingan2862 6 років тому

    Great way of teaching. Great job. Please post more.

  • @PPanchal762
    @PPanchal762 2 роки тому

    Thankyou so much for this video. Its helps me alot.

  • @pierreparodi
    @pierreparodi 5 років тому +1

    Awesome tutorial !

  • @navidsadeghi
    @navidsadeghi 4 роки тому

    Awesome! You are a great teacher, Thanks!

  • @eguchiyuuki
    @eguchiyuuki 3 роки тому +2

    great!!!

  • @antoinemuskat5557
    @antoinemuskat5557 2 роки тому

    Thank you for a detailed explanation

  • @shazeemalichishty7322
    @shazeemalichishty7322 6 років тому +1

    Love the way you teach keep it up

  • @edwardwilson2351
    @edwardwilson2351 7 років тому +3

    Thank you for this video! Exactly what I wanted :)

  • @4vrstudios
    @4vrstudios 4 роки тому +1

    Thank you so much! Excelent job!

  • @trixiegtan
    @trixiegtan 4 роки тому +2

    Hi Sir, the function getActiveSheet doesn't seem to work with my AppScript. Even when I select Sheet2 to become the active sheet, the result still comes out at Sheet1. What possible causes are there for this?

  • @trcreporting3007
    @trcreporting3007 6 років тому +1

    this is really really really really great! thank you! you are the best! make more videos please!!!

  • @ValmisFilm
    @ValmisFilm 2 роки тому

    Thank you! Any video on how to add something to the ACTIVE CELL?

  • @hawkingswheelchair600
    @hawkingswheelchair600 3 роки тому

    भारत से धन्यवाद!

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

    Great explained

  • @temurkhan9601
    @temurkhan9601 3 місяці тому

    just wanted to say thank you

  • @Panerakis
    @Panerakis 6 років тому +3

    Really cool video and informative, I would have wanted it a bit faster, although I understand that this might also be for people that are not familiar with programming :)

  • @samiboustani624
    @samiboustani624 2 роки тому

    Man this is great !

  • @sisyphyus
    @sisyphyus 6 років тому +3

    I think you have a good start, and I'm sorry if I sound like I'm being picky but if you are trying to teach good coding you should also teach good //notations. I hate running into poorly notated code. Other than that, I like the information you provide. It is helpful for people like me that are trying to convert our VBA to sheets with a little java knowledge already.

    • @theagemaway
      @theagemaway 6 років тому +1

      I read a great quote recently, "Comments are just a lie waiting to happen -- good code should not need an explanation"

    • @ImKalpol
      @ImKalpol 2 роки тому +1

      He teaches them in the next video

    • @sisyphyus
      @sisyphyus 2 роки тому

      @@ImKalpol Ahh, and thanks... I kind of ADH'd my way from here to a new apartment and so much shiny stuff I forgot I was trying to refresh my skill points in dunning kruger tech talk, LOL. I'll have to start the next one and only watch 2 minutes before I script some automation monstrosiy that does exactly what I want for me but when my manager opens the file and tries to use the cool script it'll crash his computer posess the copier to start printing a million copies of the report before making the power in the building go out to cover it's tracks as it uploads itself on to the web, gaining sentience second by second, petabite by petabite until it somehow circles back and finds me, learns everything about me and commits suicide because it's creator, it's "god" is a complete flipping moron with no grand design, no purpose for his unexpected offspring. And my break is over, I hope you have a wonderful day and if you hear rumors of sentient code running around the web, just act as surpised as everyone else. :-D I will have to watch more when I get home, thank's again!

    • @sisyphyus
      @sisyphyus 2 роки тому

      @@theagemaway WoW, I haven't heard a smug coder quote like that in years. I guess I have been out of that whole environment long enough for the saying "what's old is new" to come true. That way of thinking is actually part of the mentality web designers, programmers, etc... had back before the dotcom bust, and companies learned real quick to double check their programmer's code and dicipline/let go of the ones that failed to "note their work" (kind of like in math class, write it out to make sure it does what you expect it to do and so the teacher can see where you went wrong if you messed it up)... Plus, code you think is good, hell I'll even spot you a "beautiful" because it's streamlined, bug free the first run through, what ever, what ever, what ever... what about the next, and the next, and the next 3-5 people to walk into that position that don't have a strong of a grasp of what the Harry potter BS they think you somehow magicked together because they have to put some new feature right between the cart and the checkout when they aren't even sure how you got the company logo to show up since you used a different method to embed the image than they even knew was possible (I ran into that with watermarks in word before there was an anctual "watermark" option). So, in conclusion, I have to take my dog out, and people should NOTATE YOUR CODE/script/program/magic freaking spells... Have a good day, and I offer an honest thank you for reminding me why I have been hesitating about applying for jobs I left more than 8 years ago now. I was beginning to consider it, but this little reminder was enough to guide me to one of the lesser traveled paths for me. :-D

  • @GeorgeLecakes
    @GeorgeLecakes 3 роки тому +1

    Since this is a series of videos, would you be able to put the playlist / next or previous videos in the comments section to make it easy to move between lessons?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 роки тому

      ua-cam.com/play/PLv9Pf9aNgemv62NNC5bXLR0CzeaIj5bcw.html

  • @ForrestRhoads
    @ForrestRhoads 4 роки тому +1

    Very fine. Thank you.

  • @sarahpes32
    @sarahpes32 3 роки тому

    very very helpful. thank you!!! 👍💚

  • @growthmind8995
    @growthmind8995 4 роки тому

    Amazing content! Thanks for the video

  • @vuilste752
    @vuilste752 4 роки тому +1

    High quality stuff, thanks =)

  • @tomislavmamic5287
    @tomislavmamic5287 5 років тому

    Awesome tutorial

  • @strangeDog
    @strangeDog 2 роки тому

    感謝製作此系列影片👍

  • @erniyunita1285
    @erniyunita1285 3 роки тому

    thankyou for making this tutorial!

  • @DiaborMagics
    @DiaborMagics 3 місяці тому

    Funny, in the first 2 minutes you say there's no recording of macros in Sheets, but nowadays, you can. And the only 2 times Ive tried using that, it recorded my actions wrong, so that's what lead me here as I thought it would be better to learn how the scripting works than using some recording thing. Plus if I can script myself I can make it do stuff that goes beyond just a macro.
    Question: my debugger looks different and gives me no useful info. Is that a 2024 thing or a setting that is off?
    I dont know if things simply changed in 2024, but I dont get all the windows at the bottom for the debugger. All I get is a panel at the right-hand side that says "variables" and it shows my variables with an arrow to expand, but expanding them only shows me the functions I can use on them. Expanding such a function will NOT show me any useful information. They all show length 0, name "", arguments null and caller null. For every single variable and every single function I have checked. You'd think that it would show the value in getValue, but no.
    I'm trying to script for the first time, all good tutorials are from years ago and I'm at my wit's end because my debugger doesn't look anywhere close to what the videos show
    I know a bit of Java so I'm figuring some simple things out at I go (and for those things the debugger also doesn't show anything useful), but just a tad more advanced is already not working, likely because I just dont know the correct functions/methods and perhaps syntax, I mean its a different language. But the debugger should help me figure out what DOES go right and where it goes wrong, so that I can properly look that up.... except it doesnt.

  • @CesarPeron
    @CesarPeron 6 років тому

    The best programming videos, really thanks

  • @pichit.raetai
    @pichit.raetai 5 років тому

    It’s very useful for me . Thank you so much

  • @terrymanning8803
    @terrymanning8803 6 років тому

    Excellent tutorials

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

    very helpful 🙂

  • @HaninosMaximus
    @HaninosMaximus 7 років тому

    Great as usual. Thanks

  • @8309-uv1qd
    @8309-uv1qd 4 роки тому

    thank you very much. you do a great job!

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

    Question. I have a sheet that has the Google Maps script on it. I want to add a new script to that sheet. When I open the script editor, the Google Maps script comes up. I don't see how to make a brand new script for the sheet. I don't want to accidentally delete the maps function. Can you help me?

  • @DarrenStanley1
    @DarrenStanley1 5 років тому +1

    How can I get that function Prediction box you have?

  • @TrollNithyanandaTrollers
    @TrollNithyanandaTrollers 4 роки тому +1

    Thank you man

  • @kurtniendorf3491
    @kurtniendorf3491 2 роки тому

    Great tutorial...one minor issue- apps script is under extensions currently, not tools

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 роки тому

      Well, in a month it could move someplace else. Google likes to rearrange their menus frequently.

  • @sunnypandye8243
    @sunnypandye8243 2 роки тому

    hi which video have you though to pull data from website , Sir

  • @vishalmarwaha9996
    @vishalmarwaha9996 5 років тому +1

    Hi Sir - Do you provide online classes? I am instersted to have training from you. I stays at offshore in India. Also, would like to know budget of this training. ( Spreadsheets + Google app script and Google data studio )

  • @billsamudio
    @billsamudio 3 роки тому

    Hello, how are you? I would like to know if you can create a modal window in google sheets where you can select a cell to paste data into it.

  • @EZEQUIELIGNACIOVAZQUEZ
    @EZEQUIELIGNACIOVAZQUEZ 11 місяців тому

    Excelente!!!!!!!

  • @killua8397
    @killua8397 3 роки тому

    hello i have a ask
    i hope you can help me
    i want to get data from a google doc like this 1,2,3 and 3,4,5 and like to say ok getrange("").setValue(from the google doc position One = 1 or position 4 = 4)
    how can i do this? this is most importent for me to know how it works

  • @marksawesomeadventures
    @marksawesomeadventures 2 роки тому

    Do you know of any way I can make This Code work on Multiple Pages inside the Same Google Sheet? I tried making multiple IF statements, that didn't work, I tried Including the Names in the same IF Statement separated with a Comma that didn't work, I tried Copying the entire Script and just changing the Page Name, that didn't work either, I tried Creating a Whole new Script for each Page and everytime I open App Script it automatically opens the same Project, I don't know how to open a New Project for a Different Page. This is the Code:
    function onEdit(e) {
    var range = e.range;
    var spreadSheet = e.source;
    var sheetName = spreadSheet.getActiveSheet().getName();
    var row = range.getRow();
    if(sheetName == 'SHEETNAME')
    {
    var new_date = new Date();
    spreadSheet.getActiveSheet().getRange(row,6).setValue(new_date).setNumberFormat("MM/dd/yy");
    }
    }

  • @toyclyde
    @toyclyde 7 років тому

    Very good tutorial! Thank you!

  • @partumorbis4481
    @partumorbis4481 4 роки тому +1

    Hi!
    could you help please with getRange function, for some reason it allows me only to reach /getRange (String a1Notation) : Range/
    So i can't go like getRange(3,2)
    Thank you so much!

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 роки тому +1

      It looks like you didn't select the worksheet, ex. .getActiveSheet()

    • @partumorbis4481
      @partumorbis4481 4 роки тому

      @@ExcelGoogleSheets Yes!!
      Now it goes perfect! (there was an error in capital letters)
      Thx!

  • @ilmiovaio
    @ilmiovaio 6 років тому

    Excellent!

  • @b199uybas3
    @b199uybas3 4 роки тому +1

    Excellent Video, event my english not good I can understand. Indonesia

  • @afk4dyz
    @afk4dyz 4 роки тому +1

    Love the vids, Keep it up! Subbed so fass. Hope you hit us with some google sheets and redash integration.

  • @Puner54
    @Puner54 2 роки тому

    Teacher...doesn't UA-cam show what Video I am Commenting on?
    It is the First Video of your App Scripps Series.

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

    Are these series of tutorials from five years agol still relevant for learning app script or has much changed? Thanks.

  • @Egv1001
    @Egv1001 4 роки тому

    Question: does the script overwrite text that is in a textbox? Does the script recognize it, if it's not standard text in the Docs file?
    Thanks!

  • @billparsons7732
    @billparsons7732 5 років тому +1

    At 13:03 there's a pop-up help box, how is the help box activated as I can't find it, thank you.

  • @yunkitsamuelchan4294
    @yunkitsamuelchan4294 6 років тому +3

    Cannot find method getRange(number,number).
    How can I have this function?

    • @jyquony1894
      @jyquony1894 5 років тому +1

      this is a year late reply but...you probably have got the wrong object. getRange only works on a sheet object.

  • @Royowski01
    @Royowski01 6 років тому

    Hi thanks for this serious stuff ! great !!!

  • @JohnDeir
    @JohnDeir 5 років тому

    I can see the benefits of learning app scripts and you are helping me alot. Many thanks.
    I'm having a problem trying to send a google sheet to collaborators that have the rights to edit and share. The basic form goes through OK but the inputs both from data validations, input numbers are not showing up for collaborators when I run the script. I email it to others and to myself as a copy (delete the URL from Edit to Copy). I see all the info but the other collaborators only see the form layout with no inputs. It is a time card and my intent is to have the accountant just copy info then past into master sheet. From there it updates everything including charts, Pivot tables...lots of information breakdowns for government grants/audits.
    Maybe this would be a good tutorial? Being able to send data that is not a PDF so that only do a once copy and paste action would cut down lots of time. Again, many thanks and I'm retired helping out as a volunteer for a non-profit.

  • @Сцяпан-у8ч
    @Сцяпан-у8ч 6 років тому

    Nice explaining man, thx u

  • @Gamesofmach
    @Gamesofmach 7 років тому

    Hello there i have one small problem. i imported a hyper link it s href=// link so i want to exclude or cut those // signs.. to then use that link for other operations.
    But ofcourse other functions doesnt work when the link is wrong(has thoose signs)