Ir para o conteúdo principal

Como criar uma lista suspensa dependente na planilha do Google?

Inserir uma lista suspensa normal no Planilhas Google pode ser uma tarefa fácil para você, mas, às vezes, pode ser necessário inserir uma lista suspensa dependente, o que significa que a segunda lista suspensa depende da escolha da primeira lista suspensa. Como você lidaria com essa tarefa no Planilhas Google?

Crie uma lista suspensa dependente na planilha do Google


Crie uma lista suspensa dependente na planilha do Google

As etapas a seguir podem ajudá-lo a inserir uma lista suspensa de dependentes, faça o seguinte:

1. Primeiro, você deve inserir a lista suspensa básica, selecione uma célula onde deseja colocar a primeira lista suspensa e clique em Data > Data de validade, veja a captura de tela:

2. No estalou para fora Data de validade caixa de diálogo, selecione Lista de um intervalo na lista suspensa ao lado de Critérios seção e clique em para selecionar os valores da célula nos quais você deseja criar a primeira lista suspensa, consulte a captura de tela:

3. Então clique Salvar botão, a primeira lista suspensa foi criada. Escolha um item da lista suspensa criada e insira esta fórmula: =arrayformula(if(F1=A1,A2:A7,if(F1=B1,B2:B6,if(F1=C1,C2:C7,"")))) em uma célula em branco adjacente às colunas de dados, em seguida, pressione Entrar chave, todos os valores correspondentes com base no primeiro item da lista suspensa foram exibidos de uma vez, consulte a captura de tela:

Note: Na fórmula acima: F1 é a primeira célula da lista suspensa, A1, B1 e C1 são os itens da primeira lista suspensa, A2: A7, B2: B6 e C2: C7 são os valores das células nos quais a segunda lista suspensa se baseia. Você pode alterá-los para o seu próprio.

4. E então você pode criar a segunda lista suspensa dependente, clicar em uma célula onde deseja colocar a segunda lista suspensa e clicar em Data > Data de validade para ir para o Data de validade caixa de diálogo, escolha Lista de um intervalo da lista suspensa ao lado do Critérios seção e continue clicando no botão para selecionar as células da fórmula que são os resultados correspondentes do primeiro item suspenso, consulte a captura de tela:

5. Por fim, clique no botão Salvar, e a segunda lista suspensa dependente foi criada com sucesso conforme a seguinte captura de tela mostrada:

Melhores ferramentas de produtividade de escritório

🤖 Assistente de IA do Kutools: Revolucionar a análise de dados com base em: Execução Inteligente   |  Gerar Código  |  Crie fórmulas personalizadas  |  Analise dados e gere gráficos  |  Invocar funções do Kutools...
Recursos mais comuns: Encontre, destaque ou identifique duplicatas   |  Excluir linhas em branco   |  Combine colunas ou células sem perder dados   |   Rodada sem Fórmula ...
Super pesquisa: VLookup de múltiplos critérios    VLookup de múltiplos valores  |   VLookup em várias planilhas   |   Pesquisa Difusa ....
Lista suspensa avançada: Crie rapidamente uma lista suspensa   |  Lista suspensa de dependentes   |  Lista suspensa de seleção múltipla ....
Gerenciador de colunas: Adicione um número específico de colunas  |  Mover colunas  |  Alternar status de visibilidade de colunas ocultas  |  Compare intervalos e colunas ...
Recursos em destaque: Foco da Grade   |  Vista de Design   |   Grande Barra de Fórmula    Gerenciador de pastas de trabalho e planilhas   |  Biblioteca (Auto texto)   |  Data Picker   |  Combinar planilhas   |  Criptografar/Descriptografar Células    Enviar e-mails por lista   |  Super Filtro   |   Filtro Especial (filtro negrito/itálico/tachado...) ...
15 principais conjuntos de ferramentas12 Texto Ferramentas (Adicionar texto, Remover Personagens, ...)   |   50+ de cores Tipos (Gráfico de Gantt, ...)   |   Mais de 40 práticos Fórmulas (Calcule a idade com base no aniversário, ...)   |   19 Inclusão Ferramentas (Insira o código QR, Inserir imagem do caminho, ...)   |   12 Conversão Ferramentas (Números para Palavras, Conversão de moedas, ...)   |   7 Unir e dividir Ferramentas (Combinar linhas avançadas, Dividir células, ...)   |   ... e mais

Aprimore suas habilidades de Excel com o Kutools para Excel e experimente uma eficiência como nunca antes. Kutools para Excel oferece mais de 300 recursos avançados para aumentar a produtividade e economizar tempo.  Clique aqui para obter o recurso que você mais precisa...

Descrição


Office Tab traz interface com guias para o Office e torna seu trabalho muito mais fácil

  • Habilite a edição e leitura com guias em Word, Excel, PowerPoint, Publisher, Access, Visio e Project.
  • Abra e crie vários documentos em novas guias da mesma janela, em vez de em novas janelas.
  • Aumenta sua produtividade em 50% e reduz centenas de cliques do mouse para você todos os dias!
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