Google Sheets - Dependent Drop Down List for Entire Column, Multiple Levels

  Рет қаралды 267,917

Learn Google Sheets & Excel Spreadsheets

Learn Google Sheets & Excel Spreadsheets

5 жыл бұрын

Learn how to create multiple level dependent drop down validation list in Google Sheets that works for the entire column. We'll be using JavaScript and Apps Script in this tutorial.
#googlesheets #dropdown #list

Пікірлер: 573
@nictoluxed
@nictoluxed 5 жыл бұрын
Thank you so much for uploading these videos! I've been trying different solutions to the dynamic dependent dropdown list problem for my homebrew system. Found several ways how to make it work from the internet. Currently yours and Jason Jurotich's is the most comprehensive even though IMHO yours is the more dynamic and scalable. Always looking forward for your next uploads. keep up the good work!
@KUMAR03124
@KUMAR03124 5 жыл бұрын
Great. I 55 and have discovered the wonderful world of coding. I'm learning and your videos are greatly helping. Thanks a lot and keep up the great work
@artbargra
@artbargra 4 жыл бұрын
Thank you so much for doing this video! You don't know how long I looked for this, because we needed it for our sales spreadsheet. I don't have a background in coding nor programing, but your step-by-step explanation was crystal clear. The only problems I ran into were typos or me not handling commands correctly. After following it to the end, it worked like a charm. Again, thank you very much!
@craigianmenzies
@craigianmenzies 3 жыл бұрын
Took a bit of tweaking for what I needed but was a massive help, thank you for taking the time post it and step through the process.
@DimitarSavov87
@DimitarSavov87 3 жыл бұрын
Gee, that was exactly what I was looking for! After watching your video like 4-5 times I managed to modify it for my needs and it is perfect! I cannot thank you enough! The only downside of using Scripts I think is that they're bit slow, but gets the job done nonetheless! Thank you once again, really informative and awesome explanation! Keep it up, bro! Respect
@atropolifilm4500
@atropolifilm4500 2 жыл бұрын
Perfect video. First time ever that I wrote an Apps Script and had to learn a lot in order to achieve a three-level dependent doplist. But you did a fantastic job in explaining all commands step by step. I am still no expert and can hardly describe the purpose of all the code I've written. But most of it makes sense to me and I have a general understanding of what every line is for. That shows how great this video was! It made me learn a very complex and fully new thing in less than three hours. You are my go-to expert for any questions related to Sheets :))) Keep it cocming! - Moritz
@julessmith5581
@julessmith5581 3 жыл бұрын
Great video, just what I needed! Very clear, quick and nicely presented. Learnt so much doing it, especially having to closely follow your script and also type it in. Thanks.
@jeroen2471
@jeroen2471 3 жыл бұрын
Legend, followed it step by step and it works! Couldn't make two functions out of it, so created another else if so my second function works as well. Brilliant!
@anaisabelalvaradoh.2951
@anaisabelalvaradoh.2951 2 жыл бұрын
I've literally watched about 8 different tutorials but yours is the only one that had exactly what I wanted and explained in an easy way, thank you!!!!
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Great to hear!
@aashitgarodia
@aashitgarodia 3 жыл бұрын
You're legend making everything so easy, feels like I can make google sheets work like any software. Thank you so much for making these wonderful videos so damn easily accessible to everyone!
@kennethlobo4079
@kennethlobo4079 5 жыл бұрын
Used some techinques from this + the dynamic drop down video to build what I needed to. Thank you!
@mreighties2860
@mreighties2860 5 жыл бұрын
I have enjoyed watching and following along while working in an actual sheet and typing in the script in by hand. A few days ago I just tried something else and nothing worked so today I followed the video exactly and now it works perfectly. I have watched many of your videos and learned a lot. Some folks have ask for a sample sheet or that you provide the code but I think it is better to learn GAS by typing in the code instead of having the code given to you. Excellent videos and look forward to doing some of the others. James/mreighties :)
@chriswyant7120
@chriswyant7120 3 жыл бұрын
Do you know how to apply this to hundreds of rows at once, instead of running the script row by row?
@ximalpopoca
@ximalpopoca 3 жыл бұрын
have to tell you man, been watching ur videos here and there and you are absolutly didactic, really thanks for your effort and congratz for all of this! regards from brazil, tnx again
@homoXhominiXlupus
@homoXhominiXlupus 3 жыл бұрын
This is what i've been looking for , thanks man , keep up the good work !
@DaniLong
@DaniLong 2 жыл бұрын
This is great!! Your walk through was so professional. Well done. AND, the script works so well. Seriously, though, thank you for such a thorough walk-through of the code.
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
:)
@paulweber5412
@paulweber5412 2 жыл бұрын
This was super useful - just the right level and speed - learnt much more than I was looking for. Thank you Sir.
@timdunn8032
@timdunn8032 2 жыл бұрын
Will be using this to create a personal daily report card. (Woke up at 6a, meditated for at least 15min, green day trading, 30min walk, bed by 11p, etc, etc) then get a "grade" at the end of the day. Thank you for the solid instructions.
@victordraghicescu8317
@victordraghicescu8317 5 жыл бұрын
Thanks a lot. Had to modify some stuff to fit my purpose, but you are so clear. You are excellent!
@daweedcito
@daweedcito 3 жыл бұрын
Difficult to deny that coding is a great skill for most jobs right now
@majmunko23
@majmunko23 2 жыл бұрын
you are an amazing tutor and helped me so much over the last 2 years, i cant thank you enough man, i really appreciate you!
@gabrielbueno7302
@gabrielbueno7302 2 жыл бұрын
Thank you so much for teaching all of this and so patiently!
@larrycanada424
@larrycanada424 5 жыл бұрын
just exactly what i need factions improve in my Project! Thanks Bro!
@brunowebart
@brunowebart 3 жыл бұрын
Great content, did fix my problem after a few adjustments from the example in the video, good job!
@ConsulthinkProgrammer
@ConsulthinkProgrammer 4 жыл бұрын
Thats your "on fire mode" (just feels like that) in this third ddvl video is a plus point Sir :)
@wiganagames
@wiganagames 3 жыл бұрын
the best video that i could find. thank you!
@altondanks
@altondanks 3 жыл бұрын
Very well done. This was very thorough and helpful.
@MrJonnyyeoman
@MrJonnyyeoman 3 жыл бұрын
This REALLY helped me out! Thanks so much!
@EmoudioxXx
@EmoudioxXx Жыл бұрын
Thank you so much! The video is so well explained and amazingly useful! Great job!
@daniellameni6031
@daniellameni6031 Жыл бұрын
Amazing! Helped a lot! Thank you very much!
@ramclouddwightbungay1603
@ramclouddwightbungay1603 2 жыл бұрын
I have extremely NO experience or knowledge about programming. But this video helped a LOT! Thank you kind sir.
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
😀
@romannekrasov5208
@romannekrasov5208 3 жыл бұрын
YOU ARE THE BEST! Solved my problem 100% For those who would like to make ranges also autoupdateble try using function: =UNIQUE('master'!A2:A999) on sheet "options" in cell A2 =UNIQUE('master'!B2:B999) on sheet "options" in cell B2 =UNIQUE('master'!C2:C999) on sheet "options" in cell C2 The only thing that I don`t know how to get rid of is error massage from data validation when you enter new items directly into the master`s sheet. Let me know if you have an answer.
@mestrealmeidascreativeworkshop
@mestrealmeidascreativeworkshop 4 жыл бұрын
If I love you? What is love anyway, but it was most certainly very helpful. Thank you!
@lubovmakarova5159
@lubovmakarova5159 3 жыл бұрын
Нашла то, что искала! Наконец-то! Большое спасибо!
@rajarshibaksi5197
@rajarshibaksi5197 Жыл бұрын
Your videos are just brilliant. It helps to make Google Sheets work like ERP - thereby offering a pocket friendly turnaround on small businesses. Request to create a library of the Appscripts from where the codes can be copied & implemented easily.
@jhacaaa
@jhacaaa 3 жыл бұрын
Thank you so much! This is the best channel for learning google sheets with appscript! Keep going!
@bairaktar1583
@bairaktar1583 3 жыл бұрын
Great! Thanks, much helpful!
@ahmadkhairuddin3922
@ahmadkhairuddin3922 2 жыл бұрын
You're going so fast in this video! -your previous was slow and steady and ive been able to catch up. This one i need to pause, LOL. Good job by the way! love your videos!!
@pauloreisBlau
@pauloreisBlau 4 жыл бұрын
Thank you so much, works very well!!!
@nicolescott8024
@nicolescott8024 4 жыл бұрын
Thank you for this video!
@navneetsharma4195
@navneetsharma4195 3 жыл бұрын
Suppprrbbbb... Completed my database management system because of you thankyou soo much ❤️❤️❤️❤️❤️❤️
@yu-chenchang7932
@yu-chenchang7932 5 жыл бұрын
Thank you so much for detailed instructions. Further Question: I’d like to know whether it is possible to select several options(multi-select) in one cell on the column of “Sales_Rep” based on this script? Thank you:))
@j.1548
@j.1548 3 жыл бұрын
Thanks for this!
@vanessakuhnen4231
@vanessakuhnen4231 2 жыл бұрын
Thank you very much for your great video! Helped me a lot!!!
@adulngoytaku7701
@adulngoytaku7701 3 жыл бұрын
Thank you so much for videos!
@ScottyDub-E-U
@ScottyDub-E-U 5 жыл бұрын
Thank you for the awesome tutorial! I am running into some speed issues with the script's calls. I have a large file with many options and dropdowns. Do you have any advice on how to consolidate the calls to speed up my dropdown fields? Thanks.
@EnriqueGonzalezOrtiz
@EnriqueGonzalezOrtiz 5 жыл бұрын
Great!! Thanks so much.
@ankitadutta619
@ankitadutta619 2 жыл бұрын
Too helpful.. 👍The way you explain step by step make my work much easier to learn and implement at the same time
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Glad to hear that
@d1nks83
@d1nks83 3 жыл бұрын
Great video, think I want to learn more now.
@Mikarevival
@Mikarevival 5 жыл бұрын
Great Job!!!
@aidenff
@aidenff 2 жыл бұрын
This tutorial has been immensely helpful! I would definitely categorize my coding capability as amateur, but I found this very easy to follow. I have one question that I haven't seen in the comments yet. I've built a workbook that has repeated sheets for each month. I want to perform this function on each. How do I alter the script so on January, February, March,...etc it performs this multi-level data validation to the same array of data? Again - very impressed with how well you convey information.
@m3drob
@m3drob Жыл бұрын
I'm really not a specialist, but in my mind, you need to copy the onEdit function, add a new set of variables that match the new Sheet name and do some tweaks in the onEdit function, like replace the "mainWsName" with the new Sheet.
@wiganagames
@wiganagames 3 жыл бұрын
You are amazing. thank you for the video. saved my life
@rgetsy1
@rgetsy1 3 жыл бұрын
Great job with the presentation
@tech151
@tech151 5 жыл бұрын
Any chance you can post a pic or something of the entire final version of the script? i followed your video step by step but im getting an error and also my play/run arrow is grey and i cant make the script run. thought maybe i missed something.
@gelanikl8825
@gelanikl8825 4 жыл бұрын
hi Thank you so much This topic has helped me a lot in the field of work
@sarahmirailh
@sarahmirailh Жыл бұрын
You saved me, thanks!!!
@sgupta
@sgupta 5 жыл бұрын
Great video tutorials. Hat's Off to you guys for useful contents. Wish there was some way to copy paste the code, either from the website or from the youtube description.
@SoyLast
@SoyLast 4 жыл бұрын
I wish too hahahah, but I guess It's better to do it at the same time to learn more.
@jennifernguessan8413
@jennifernguessan8413 3 жыл бұрын
If it was possible to double my like, I would have. Thank you because it is been a while I was looking for this
@officecanadianconstruction5929
@officecanadianconstruction5929 4 жыл бұрын
I'd like to add "Other" option in the first column so that next raw in the second and third level columns would be blank and allow type in a custom text. How should I modify the code for that?
@azamattf
@azamattf 2 жыл бұрын
Thank you so much!
@shulginanata
@shulginanata 4 жыл бұрын
Hi! Thank you very much for the tutorial. Is it possible to make the script run for several similar tabs? Let it be "master", "main" and "check"? What changes are needed inside the script? Thank you in advance!
@atropolifilm4500
@atropolifilm4500 2 жыл бұрын
Such a great Video!
@ricseeds4835
@ricseeds4835 2 жыл бұрын
I would absolutely love to see a video where this is optimized to work with any number of columns in the "options" sheet
@cristaldoesthings
@cristaldoesthings 2 жыл бұрын
After two days of watching on this lol .... I was able to create drop downs for 4 columns with no previous Javascript experience thanks so much!!! For everyone else who is watching with the same background some tips: Case matters, kept getting an error on the range but it was because I had getrange instead of getRange. Also if you end up adding more functions for more levels remember you have to update the array on top. I am wondering does anyone know how to clear a different validation that wouldn't be from the underlying structure? In this example let's say there was a fourth column was title (junior or senior) and you created the data validation on the master sheet just by referencing that range instead of creating rows for record. In the script is there a way to create a rule when you clear the region it clear this other validation?
@maxfarjallatraffi2848
@maxfarjallatraffi2848 3 жыл бұрын
Obrigado !!! Parabéns pela explicação
@joskodulibic2968
@joskodulibic2968 5 жыл бұрын
Hi! Any script for invoice, when I click on Submit button save on drive ,make database on another sheets, and open new empty invoices with new number? Thank you!
@markvesterby
@markvesterby 4 жыл бұрын
Fantastic tutorial!!! How would you change the script to paste the 3rd column of data automatically? I only have one item to paste in the third column so it doesn't make sense to have to select it. I would like it to automatically paste the third column of data from the 1st two selected.
@Prodigal-Hoosier
@Prodigal-Hoosier 4 жыл бұрын
If I only have one option available for my secondary or tertiary lists (e.g. In the example above say "Matthew" is the only Sales rep for TN in the Southern region) How can I have that automatically appear if there are no other options in the dropdown menu? In my case, I have a series of Projects > Unique Project IDs > Timezones where those projects are occurring. I'd like the UID to appear in the secondary validation automatically instead of clicking to select it.
@mykryt
@mykryt 4 жыл бұрын
Thank you for all the video tutorials, extremely helpful and easy to understand. I followed this one and managed to apply it to my data, I was hoping to have the script apply to ‘open as app’ so I could use it as a front end to take product orders but it did not work. Any advice on how this dependent drop down can be applied in a more user friendly front end? Thanks
@RajaGiri_tvpm
@RajaGiri_tvpm 2 жыл бұрын
Super lesson, thank you, I will try to do this 👍🙏
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Great!
@khaledothman4324
@khaledothman4324 Жыл бұрын
Thank you for the great informative Vedios .You need to update this method because i managed to create multi levels drop-down list using query and filter with transpose function it was very easy
@RosiTerrab
@RosiTerrab 6 ай бұрын
Thank you :)
@marcelomafra
@marcelomafra 2 жыл бұрын
Thank you a lot for the video. I just couldn't figure out how I would apply it to two or more sheets.
@trsim2704
@trsim2704 4 жыл бұрын
Would it be possible to duplicate Column (A, B, C) dependent drop down list to Column (D, E, F) and so on with the same dependent drop down list?
@NadiWakeh
@NadiWakeh 4 жыл бұрын
THANK YOU SO MUCH
@rickyhuynh7485
@rickyhuynh7485 5 жыл бұрын
This is great! Do you also know if there is a way to create a project list where you enter in a start date or series of dates and it fills in another cell with color in a calendar view?
@renatosaraivalima
@renatosaraivalima 3 жыл бұрын
Awsome...yr "the guy"...
@odiysuhailjoudeh9106
@odiysuhailjoudeh9106 4 жыл бұрын
if I have lest more than 500 option how I can store them in the array or if there is any other way i can use
@atropolifilm4500
@atropolifilm4500 2 жыл бұрын
I learned a lot today :))
@SoyLast
@SoyLast 4 жыл бұрын
Man, you're the fucking master.
@alfie2720
@alfie2720 4 жыл бұрын
Cool!
@darkeyex13x
@darkeyex13x 5 ай бұрын
Amazing Video! I built this exactly how you demonstrated in the video. I am hoping someone out there can help me apply this script to other tabs within the same file.
@SmellsLikeMemeSpirit
@SmellsLikeMemeSpirit Жыл бұрын
Hi! Thank you so much for taking the time to make this video. I'm having a little bit of trouble at 31:15 where your filters apply into master. The main difference between your master and mine is that your drop down options are located in the rows(2+) and columns(1-3) as options. For me, my options are in the columns(1-3) but for my master, I want the drop downs to appear from E4 to G13. I cant seem to figure out how to get it to that location. I'm not sure if my explanation makes sense, if you need clarification, please ask. Thanks For example, yours says var cell = ws.getRange("C4"); but mine says var cell = ws.getRange("G4"); and yours says if(wsName == "master" && c === 1 && r >1) mine says if(wsName == "master" && c === 5 && r > 3)
@stephenkelly2719
@stephenkelly2719 2 жыл бұрын
Ok is there a way to get the 2nd row with the dropdown validations to show up and change if my 1st column is auto populating based on a filtered list from another sheet instead of from a dropdown in the 1st column? Originally I had issues because my 1st row was populating based on HLOOKUP formulas in the cells, but the script acted as if the cell never changed so the script wasn't working correctly ( I assume because the script could "see" the formula in the cell and it never changed). Now I noticed that the script only recognizes a change is a row where the "paste" started and all the rows below it are not recognized by the script.
@juanified
@juanified 3 жыл бұрын
Genius!!
@glagamayo
@glagamayo 2 жыл бұрын
I'm having trouble on the e.range, here is the error message: TypeError: Cannot read property 'range' of undefined
@ghanchi2000
@ghanchi2000 4 жыл бұрын
what will be the code addition if we need to add last value insert into the validation cell ... in your example when region is selected its auto fill the state instead of selection
@vishishtrao5069
@vishishtrao5069 4 жыл бұрын
Assume my options sheet has the headings as columns instead of rows, how do i filter the options array such that i get all the headings because o[0] obviously won't work, that's the first column, how to i get the first row
@3BoxCreation
@3BoxCreation 3 жыл бұрын
great😍
@katrintan1145
@katrintan1145 3 жыл бұрын
Hi! this video, along with your other videos is so useful! Was able to use it for our inventory. But how can I apply the script to 2 tabs in the same workbook? I was able to apply it in the tab where I input all the "ins" of my inventory, but just wanna know how to also apply it to the "outs" tab of my inventory?
@igorebafana
@igorebafana 7 ай бұрын
This tutorial is awesome! Even though I was not using AppScirpt ever before, I was able to apply it to my own needs. I just have one question: is there a possibility that we can automatically set formatting for the dependent drop-down list? For instance, having a "Chip" style instead "Arrow" style and adding colours for different options on the list?
@fs3206
@fs3206 4 жыл бұрын
Hello, what if one of my column is date, so how can i format date to "dd.mm.yyyy" in script when filter?
@deobcwtd6033
@deobcwtd6033 2 жыл бұрын
Hello sir... Great video 👍👍🙏🙏
@abrahamhahijary
@abrahamhahijary Жыл бұрын
Thank you so much! 31:03
@thereviewer6377
@thereviewer6377 3 жыл бұрын
Another useful video! Thanks @Learn Google Spreadsheets! What if I want to use the code for many sheets?
@amitkumarsoni1065
@amitkumarsoni1065 5 жыл бұрын
What changes I should make it in script to make it 4 step
@m3drob
@m3drob Жыл бұрын
You're a wizard !
@ExcelGoogleSheets
@ExcelGoogleSheets Жыл бұрын
:)
@7KDreamerPlays
@7KDreamerPlays 4 жыл бұрын
i need some help with multiple level dependent drop down. is there any way to ask you?
@botondpal5974
@botondpal5974 2 жыл бұрын
Hello, do you have any advice how could I set the second dropdown list to be Distinct values? In other words, how can I remove a used item from the drop-down list if the item was already selected in the column? Thank you
@probabilitymindset9988
@probabilitymindset9988 5 жыл бұрын
is there any formula to identify sloping upward or downard share prices unlike to filter flat moving share prices images from many number of share price sparkling images
@renevantblackstar610
@renevantblackstar610 4 жыл бұрын
hello, ty so much for this video, it is part of a solution i been looking for, i was wondering how ever is it possible to use a checkbox instead to create a follow up data validation, like the one on the video, but with the condition if, check box is checked, first column options appear, and if unchecked box it removes the drop down validation? i have been looking into this and haven;t found anything that could help me, on how to write a scrip to be dependent on a checkbox true/false
Google Forms - Drop Down List from Spreadsheet Using Apps Script
34:39
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 439 М.
QUERY - Drop Down List to Filter Data - Google Sheets
15:25
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 341 М.
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 11 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 17 МЛН
Google Sheets - Dependent Dropdown List for Entire Column - Apps Scipt, Match Alternative - Part 2
24:14
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 104 М.
DGET - Powerful VLOOKUP, INDEX-MATCH Replacement - Google Sheets Tutorial
15:54
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 118 М.
Infinite Multiple Dependent Dropdown Lists In Google Sheets
11:36
Google Sheets: Conditional Multi Drop Down Lists
16:17
The First Pancake
Рет қаралды 15 М.
6 Excel Tools Most Users Never Think to Use (Files Included)
12:34
MyOnlineTrainingHub
Рет қаралды 152 М.
Create Multiple Dependent Drop-Down Lists in Excel (on Every Row)
11:57
Leila Gharani
Рет қаралды 1,8 МЛН
IQ Level: 10000
00:10
Younes Zarou
Рет қаралды 11 МЛН