Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

How to Create Dependent Dropdowns in Google Sheets

34.8K views
•
April 27, 2020
by
Learn Google Sheets & Excel Spreadsheets
YouTube video player
How to Create Dependent Dropdowns in Google Sheets

TL;DR

To create dependent dropdowns in Google Sheets, first set up two columns: item category and item name. Use script functions to populate the first dropdown with categories, then filter the second dropdown based on the selection from the first, ensuring unique values by checking against an array of already added items.

Transcript

alright so in this one we're gonna try to create a dependent drop-down so what I mean by that I'm gonna add a column here I'll say item category and basically I want to dropdowns the first wrap down should be what category of item we should have so we'll do something like fruits vegetables and then the second drop down should give us options for th... Read More

Key Insights

  • 💦 Creating a dependent drop-down in Google Sheets requires modifying the code, updating the range of data, and creating functions to populate the drop-down menus.
  • 🪜 To ensure unique values in the drop-down lists, you can create an array to store the items already added and check if an item is already in the array before adding it.
  • 👻 Filtering the array of values based on the selected category allows for populating the second drop-down with relevant options.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How do you create a dependent drop-down in Google Sheets?

To create a dependent drop-down, you need to modify the code to include a new column for the category, update the range of data to include two columns, and create functions to populate the drop-down menus based on the selected category.

Q: How do you ensure unique values in the drop-down lists?

To ensure unique values, you can create an array that stores the items already added, and check if the item being added is already in the array using the "indexOf" method. If it's not in the array, add it to the list and update the array.

Q: Can you explain how to populate the second drop-down based on the selected category?

To populate the second drop-down, you need to filter the array of values based on the selected category. You can use the "filter" method to return only the rows where the category column matches the selected category. Then, update the drop-down list with the filtered options.

Q: How can you ensure the second drop-down is empty when a new category is selected?

To clear the second drop-down when a new category is selected, you can use the "innerHTML" property to set the drop-down's content to be empty before populating it with new options.

Summary & Key Takeaways

  • The content demonstrates how to create a dependent drop-down in Google Sheets with two columns: item category and item name.

  • The tutorial covers the necessary modifications to the code, the creation of the drop-down arrays, and populating the drop-down menus.

  • The method includes filtering the options based on the selected category, as well as ensuring unique values in the drop-down lists.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from Learn Google Sheets & Excel Spreadsheets 📚

How to Search for Data in Google Sheets Using QUERY thumbnail
How to Search for Data in Google Sheets Using QUERY
Learn Google Sheets & Excel Spreadsheets
How to Use Array Formulas in Google Sheets for Autofill thumbnail
How to Use Array Formulas in Google Sheets for Autofill
Learn Google Sheets & Excel Spreadsheets
GOOGLEMAPS Function - Google Sheets Tutorial - How to Get Distance & Time Live Data to Spreadsheets thumbnail
GOOGLEMAPS Function - Google Sheets Tutorial - How to Get Distance & Time Live Data to Spreadsheets
Learn Google Sheets & Excel Spreadsheets
How to Use Formulas in Google Sheets with Forms thumbnail
How to Use Formulas in Google Sheets with Forms
Learn Google Sheets & Excel Spreadsheets
Pivot Tables in Google Sheets A-Z Tutorial thumbnail
Pivot Tables in Google Sheets A-Z Tutorial
Learn Google Sheets & Excel Spreadsheets
Google Sheets onEdit Trigger - Automatically Drag Down Formulas - Apps Script thumbnail
Google Sheets onEdit Trigger - Automatically Drag Down Formulas - Apps Script
Learn Google Sheets & Excel Spreadsheets

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.