r/GoogleAppsScript • • Feb 14 '21

Question Good sources for learning scripting in Sheets?

I am ok-ish at Sheets, except scripting.

What sources do you recommend for start learning scripting in Sheets?

I don't want to drown in extremely long technical help. And not too dumbed down either (like click here, drag, press CMD+C to copy, etc etc). The target audience should be "power users".

My knowledge of JS i also very limited.

7 Upvotes

15 comments sorted by

3

u/kkyea Feb 14 '21

I am ok at sheets too. Have some script experience. Honestly, just looking up what you need and have questions on. So many people have asked questions before you have. It exists. Just dig. I literally type my question into Google like some wsb retard. Then look at some links, if I need to, I type a more direct search into YouTube. Usually you can find exactly what you need, or at the least, see how to adapt it.

I found a blog article once that was a script to delete and add users for your g suite account. I never needed it as I wasn't in charge of user creation or deletion. Now I am, that sheet really impressed my boss even though I found it a long time ago and just never needed it until then.

Just read, watch, and practice. Even easy things watching and practicing will help you for what you really want to do.

1

u/OzzyZigNeedsGig Feb 15 '21

Thanks.

Yeah I've tried that method, but often get stuck at small things. I need to get over the first steps.

For some reason I learned Sheets formulas in a relatively short time. Can't really tell how. Tried a lot of stuff and hanged on forums.

3

u/RemcoE33 Feb 14 '21

Try to solve questions on this Reddit. But "apps script" is just one half. Yes you will need some basic understanding of the Google methods. But the logic, handeling arrays, if statements, switch, spread, text, regex ect... Is all just javascript. This is a good place to start with your javascript skills.

1

u/OzzyZigNeedsGig Feb 15 '21

Thanks, I gonna check out freecodecamp.org

I am new here, but I've been helping a lot of people online with Sheets over the years years. And it's starting to grow here as well. Check my profile. Fortunately I am already very familiar with Regex, so there is one less hurdle.

But I can't yet help others with Apps Scripts. I am looking for a way in.

4

u/inglandation Feb 14 '21

Start with JS (Freecodecamp, Udemy, etc.), once you know the basics, you can watch the videos on this channel:

https://www.youtube.com/channel/UC8p19gUXJYTsUPEpusHgteQ

He has several tutorials that are easy to follow.

2

u/putdownthekitten Feb 14 '21

Yep, I built a budget in sheets that pretty much copies YNAB and a little bit of Personal Capital and it would not have been possible without this guys tutorials. They are amazing, useful, easy to follow, and comprehensive. Can't recommend this channel enough.

4

u/thedelusionist Feb 14 '21

I was in the same position as you about 4 months ago, and now I have 3 published add-ons.

My javascript was (and still is) pretty garbage, and while I was good with sheets formulas, I hadn't done any app script development. Here is my advice:

  1. Pick a simple project.

  2. Record small steps in macros and study the code.

  3. Google anything that you can't record in a macro.

The best way I learn is not by studying fundamentals, but rather by trying to solve a problem, and learning what I need along the way.

1

u/Morbius2271 Feb 19 '21

I’ve used W3schools for years. Has the best JS tutorial I’ve ever utilized.

For the actual Google side of it, you gotta rely on what’s your already doing (Reddit, YouTube, StackOverflow, etc), and Google’s official documentation.

If you are ever stuck on anything, feel free to hit me up. It’s rare I can’t find a solution to an issue.

3

u/aplawson7707 Feb 14 '21

I highly recommend Ben Collins' website for Google sheets learning (formulas and apps script)

3

u/fergal-dude Feb 14 '21

I can also recommend the Ben Collins school of data courses. I just blew through the free courses and got my school district to pay for the bundle. I have been coding in python for years and can accomplish most of what I want in python, so trying to work it out in scripts isn’t too hard it’s just the details that are different.

If you don’t have prior programming experience, I think apps Script will be just as challenging as any other languages to get started. The thing that made python super easy to learn, was that the r/learnpython board here on Reddit is a wonderful place to ask questions and have people explain things to you. I haven’t found this board to be quite as welcoming to beginners, but they are very knowledgeable. Everything python relayed it is already been asked and answered somewhere on the Internet, apps script still have some catching up to do in that respect.

3

u/Meemo- Feb 14 '21

Ben Collins is your man for the job. Subscribe to his email list. He'll send you a tip every Monday morning.

I ended up buying his whole package of courses last year.

Never met the man but he's a great way of explaining things.

I'm not familiar with the Appsscript101 website but it looks good also.

Good luck with it.

1

u/dakarion Feb 14 '21

www.AppsScript101.com might be the right level for what you're looking for?

1

u/miss_dilemma Feb 15 '21

Agree with above. Ben Collins 👌