Перейти к основному содержанию

Как создать зависимый выпадающий список в листе Google?

Вставка обычного раскрывающегося списка в лист Google может быть легкой задачей для вас, но иногда вам может потребоваться вставить зависимый раскрывающийся список, что означает второй раскрывающийся список в зависимости от выбора первого раскрывающегося списка. Как бы вы справились с этой задачей в листе Google?

Создать зависимый раскрывающийся список в листе Google


Создать зависимый раскрывающийся список в листе Google

Следующие шаги могут помочь вам вставить зависимый раскрывающийся список, сделайте следующее:

1. Сначала вы должны вставить основной раскрывающийся список, выберите ячейку, в которую вы хотите поместить первый раскрывающийся список, а затем нажмите Данные > Валидация данных, см. снимок экрана:

2. В выскочившем Валидация данных диалоговое окно, выберите Список из диапазона из раскрывающегося списка рядом с Критерии раздел, а затем щелкните кнопку, чтобы выбрать значения ячеек, на основе которых вы хотите создать первый раскрывающийся список, см. снимок экрана:

3. Затем нажмите Сохранить , первый раскрывающийся список создан. Выберите один элемент из созданного раскрывающегося списка, а затем введите эту формулу: =arrayformula(if(F1=A1,A2:A7,if(F1=B1,B2:B6,if(F1=C1,C2:C7,"")))) в пустую ячейку, смежную со столбцами данных, затем нажмите Enter key, все совпадающие значения, основанные на первом элементе раскрывающегося списка, были отображены одновременно, см. снимок экрана:

Внимание: В приведенной выше формуле: F1 это первая ячейка раскрывающегося списка, A1, B1 и C1 элементы первого выпадающего списка, A2: A7, B2: B6 и C2: C7 - значения ячеек, на которых основан второй раскрывающийся список. Вы можете изменить их на свои собственные.

4. Затем вы можете создать второй зависимый раскрывающийся список, щелкнуть ячейку, в которую вы хотите поместить второй раскрывающийся список, а затем щелкнуть Данные > Валидация данных , чтобы перейти к Валидация данных диалоговое окно, выберите Список из диапазона из раскрывающегося списка рядом с Критерии раздел и продолжайте нажимать кнопку, чтобы выбрать ячейки формулы, которые соответствуют результатам первого раскрывающегося элемента, см. снимок экрана:

5. Наконец, нажмите кнопку Сохранить, и второй зависимый раскрывающийся список был успешно создан, как показано на следующем снимке экрана:

Лучшие инструменты для офисной работы

🤖 Kutools AI Помощник: Революционный анализ данных на основе: Интеллектуальное исполнение   |  Генерировать код  |  Создание пользовательских формул  |  Анализ данных и создание диаграмм  |  Вызов функций Kutools...
Популярные опции: Найдите, выделите или определите дубликаты   |  Удалить пустые строки   |  Объедините столбцы или ячейки без потери данных   |   Раунд без формулы ...
Супер поиск: Множественный критерий VLookup    VLookup с несколькими значениями  |   VLookup по нескольким листам   |   Нечеткий поиск ....
Расширенный раскрывающийся список: Быстрое создание раскрывающегося списка   |  Зависимый раскрывающийся список   |  Выпадающий список с множественным выбором ....
Менеджер столбцов: Добавить определенное количество столбцов  |  Переместить столбцы  |  Переключить статус видимости скрытых столбцов  |  Сравнить диапазоны и столбцы ...
Рекомендуемые функции: Сетка Фокус   |  Просмотр дизайна   |   Большой Формулный Бар    Менеджер книг и листов   |  Библиотека ресурсов (Авто текст)   |  Выбор даты   |  Комбинировать листы   |  Шифровать/дешифровать ячейки    Отправлять электронные письма по списку   |  Суперфильтр   |   Специальный фильтр (фильтровать жирным шрифтом/курсивом/зачеркиванием...) ...
15 лучших наборов инструментов12 Текст Инструменты (Добавить текст, Удалить символы, ...)   |   50+ График Тип (Диаграмма Ганта, ...)   |   40+ Практических Формулы (Рассчитать возраст по дню рождения, ...)   |   19 Вносимые Инструменты (Вставить QR-код, Вставить изображение из пути, ...)   |   12 Конверсия Инструменты (Числа в слова, Конверсия валюты, ...)   |   7 Слияние и разделение Инструменты (Расширенные ряды комбинирования, Разделить клетки, ...)   |   ... и более

Улучшите свои навыки работы с Excel с помощью Kutools for Excel и почувствуйте эффективность, как никогда раньше. Kutools for Excel предлагает более 300 расширенных функций для повышения производительности и экономии времени.  Нажмите здесь, чтобы получить функцию, которая вам нужна больше всего...

Описание


Вкладка Office: интерфейс с вкладками в Office и упрощение работы

  • Включение редактирования и чтения с вкладками в Word, Excel, PowerPoint, Издатель, доступ, Visio и проект.
  • Открывайте и создавайте несколько документов на новых вкладках одного окна, а не в новых окнах.
  • Повышает вашу продуктивность на 50% и сокращает количество щелчков мышью на сотни каждый день!
Comments (18)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi there. Its been working but for it only appears that only one cell can be formulated.I need help 
For example: in Cell A1, it shows dependent dropdown, but when in cell a2 it does not work.
Thas what help that i need, From A:A, They have all different selection from the dropdown list. Thanks.
This comment was minimized by the moderator on the site
Would it been possible to create pull down menu based of formula?
I use formula "=SUMIFS(Items!$I:$I,Items!$A:$A,K$1,Items!$D:$D,$D2)" (=for example 150) to find the qty on pallet based on item and container size.
So I wanted to create pull down menu like qty 1 pallet, qty 2 pallets, qty 3 pallets,.....
Then user will always order qty of full pallets like 150, 2 x 150, 3 x150, up to 21 x 150.
This comment was minimized by the moderator on the site
Hi, I already created a drop down list like this one, what I'd like to know is how i can, when clicking on one option from that list, restrict what appears as options on another cell. For example, in one cell i can choose between laparoscopy and orthopaedics. If I choose orthopaedics then, the other cell which has a list of doctors, should only show the doctors for orthopedy and not all of them. Does anyone know how to do this?
This comment was minimized by the moderator on the site
Hii Sir,
I Want to Create A Dependent Drop Down List Like
- State(A1):- District(B1):- Taluka(C1) :- Then Information(D1) ,
So I need your Help .
Tell How do you do this Type of Dependent Drop down List in Excel or Google Sheet
This comment was minimized by the moderator on the site
Hi, Shelate,
Maybe the below article can solve your problem, please view it:
https://www.extendoffice.com/documents/excel/5852-excel-multiple-level-drop-down-list.html

Please try, hope it can help you!
This comment was minimized by the moderator on the site
Now is needed to use: =arrayformula(if(F1=A1;A2:A7;if(F1=B1;B2:B6;if(F1=C1;C2:C7;""))))
This comment was minimized by the moderator on the site
Thank you soooo much!
This comment was minimized by the moderator on the site
Hi,
I was wondering if anyone could advise me with this? I've followed the above steps but on step 3 rather than getting:
"...all the matching values based on the first drop down list item have been displayed at once," I am just seeing one value (the top one from the drop down list).
My cells are placed slightly differently and the first drop down is filled from another sheet (from anywhere int eh column excluding the top row) so my formula is:

=arrayformula(if(VLE!D2:D=B11,B12,if(VLE!D2:D=C11,C12:C14,if(VLE!D2:D=D11,D12:D14,if(VLE!D2:D=E11,E12:E16,if(VLE!D2:D=F11,F12:F16,""))))))

It is correctly displaying the top drop down option for each of (using cell numbers from the step 3 example on this page) A1, B1, and C1 so, again using this page's example, if I select Asia form the F1 drop down, I would get China, but nothing further


Any suggestions?

Many thanks! Nick
This comment was minimized by the moderator on the site
If the first drop own is on sheet 1 A1, will this work were I want the second drop down as sheet 1 A2, but to have its data range on a separate sheet?
This comment was minimized by the moderator on the site
Ich bekomm immer die Meldung "Fehler beim Parsen der Formel" wenn ich =arrayformula(if(F1=A1,A2:A7,if(F1=B1,B2:B6,if(F1=C1,C2:C7,"")))) eingebe. Was ist der "Weiter-Schlüsel"? Reicht es nicht wie bei Excel die Formel einzugeben?
This comment was minimized by the moderator on the site
Ersetzen Sie den , zu ;
es hat für mich funktioniert
This comment was minimized by the moderator on the site
This is the best explanation I have found, so thank you for that!

In my situation, I am working with over 200 rows with more being continuously added. Is there an easier/more efficient way to handle this many rows?
This comment was minimized by the moderator on the site
Yes, if you don't put number index to specify ending cell.
Like instead of C2:C7 you put C2:C. This will automatically tell the array formula, that you want to consider all values in column "C" starting at "C2".
This comment was minimized by the moderator on the site
What happens if I want exactly the same dropdown list in F2 as you have in F1 ?
I tried, and it doesn't overwrite D1:D7 .. meaning D1:D7 is only available once.
I need something else, double dropdown, but on many-many lines .. guess I must use another system then .. not sure which ..
This comment was minimized by the moderator on the site
Hi, Xained,
This method can only applied to one cell, if you have some good ways for applying this to multiple cells, please comment here.

Thank you!
This comment was minimized by the moderator on the site
Please, guide me how to do that.Thanks
This comment was minimized by the moderator on the site
혹시, 하나의 셀이 아닌 여러셀에 할 수 있는 방법을 알 수 있을까요?
This comment was minimized by the moderator on the site
내말이... 시바 좃빠지게 따라했디만 밑에줄은 안되노..
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations