メインコンテンツへスキップ

Excelで動的依存ドロップダウンリストをすばやく作成する方法は?

私たちのほとんどは、Excelのデータ検証機能を使用してドロップダウンリストを作成できますが、リンクまたは動的なドロップダウンリストが必要になる場合があります。これは、ドロップダウンリストAで値を選択し、ドロップダウンリストBで更新される値。Excelでは、動的ドロップダウンリストを作成できます。 データ検証 機能と 間接 関数。 このチュートリアルでは、Excelで依存ドロップダウンリストを作成する方法について説明します。


Excel で動的依存ドロップダウン リストを作成する

果物、食べ物、肉、飲み物のXNUMX種類の食品を示す、XNUMXつの列の表があり、その下に特定の食品名があるとします。 次のスクリーンショットを参照してください。

次に、果物、食べ物、肉、飲み物などの食品を含むXNUMXつのドロップダウンリストを作成する必要があり、XNUMX番目のドロップダウンには特定の食品名が付けられます。 食べ物を選択すると、XNUMX番目のドロップダウンに米、麺、パン、ケーキが表示されます。 これを行うには、次の手順を適用してください。

1。 まず、これらの列と最初のカテゴリ行にいくつかの範囲名を作成する必要があります。

(1.)カテゴリの最初の行の範囲名を作成し、A1:D1を選択して、範囲名を入力します 食品名前ボックス、次にプレス 入力します キー。

(2.)次に、以下に示すように、上記の手順のように各列の範囲に名前を付ける必要があります。

先端 -ナビゲーションペイン:Excelのペインに複数の名前付き範囲とリストをバッチ作成します
通常、Excelでは一度にXNUMXつの名前範囲しか定義できません。 ただし、場合によっては、複数の名前付き範囲を作成する必要があります。 名前をXNUMXつずつ繰り返し定義するのは非常に面倒です。 Kutools for Excelは、複数の名前付き範囲をすばやくバッチ作成し、これらの名前付き範囲を ナビゲーションペイン 簡単に表示およびアクセスできます。


広告ナビゲーションペインの名前

2。 これで、最初のドロップダウンリストを作成できます。このドロップダウンリストを適用する空白のセルまたは列を選択して、[ 且つ > データ検証 > データ検証、スクリーンショットを参照してください:

3。 の中に データ検証 ダイアログボックスで、をクリックします。 設定 タブを選択 リスト 次を許可します。 ドロップダウンリスト、およびこの式を入力します =食料品ソース ボックス。 スクリーンショットを参照してください:

Note:カテゴリに名前を付けた式を入力する必要があります。

4. OK 最初のドロップダウンリストが作成されたら、セルを選択して、このオプションを適用するセルに塗りつぶしハンドルをドラッグします。

5。 次に、XNUMX番目のドロップダウンリストを作成し、空白のセルをXNUMXつ選択して、[ 且つ > データ検証 > データ検証 繰り返しますが、 データ検証 ダイアログボックスで、をクリックします。 設定 タブを選択 リスト 次を許可します。 ドロップダウンリスト、およびこの式を入力します =間接(F1)ソース ボックス、スクリーンショットを参照してください:

Note: F1 私が作成した最初のドロップダウンリストのセルの場所を示します。必要に応じて変更できます。

6. 次に、をクリックします。 [OK]を、 セルの内容を下にドラッグすると、依存するドロップダウンリストが正常に作成されます。 スクリーンショットを参照してください:

そして、XNUMX種類の食品を選択すると、対応するセルには特定の食品名のみが表示されます。

注意:
1.ドロップダウン矢印は、セルがアクティブな場合にのみ表示されます。
2.必要に応じてさらに深く進むことができます。XNUMX番目のドロップダウンリストを作成する場合は、XNUMX番目のドロップダウンを ソース XNUMX番目のドロップダウンの。

デモ:Excelで動的ドロップダウンリストを作成する


Kutools for Excel: 300 を超える便利なツールをすぐに利用できます。 機能制限なしの 30 日間の無料トライアルを今すぐ始めてください。 今すぐダウンロード!

素晴らしいツールを使用して、依存するドロップダウン リストをすばやく作成します

RangeB2:E8にデータテーブルがあり、Range G2:H8のデータテーブルに基づいて独立したドロップダウンリストを作成するとします。 今、あなたはそれを簡単に行うことができます 動的ドロップダウンリスト の特徴 Kutools for Excel.

Kutools for Excel-Excel用の300以上の便利なツールが含まれています。 30日間のフル機能の無料トライアル、クレジットカードは必要ありません! 今すぐ入手

1に設定します。 OK をクリックします。 クツール > ドロップダウンリスト > 動的ドロップダウンリスト この機能を有効にします。

2。 ポップアウトダイアログで、次のようにしてください。

(1)チェックマークを付ける 2レベルに依存するドロップダウンリスト オプション;
(2)[データ範囲]ボックスで、独立したドロップダウンリストを作成するデータテーブルを選択してください。
(3)[出力範囲]ボックスで、独立したドロップダウンリストを配置する宛先範囲を選択してください。

3。 クリック Ok

これまでのところ、独立したドロップダウンリストは指定された宛先範囲に作成されています。 これらの独立したドロップダウンリストからオプションを簡単に選択できます。



関連記事:

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (27)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Why the dependent list doesn't change instantly?
This comment was minimized by the moderator on the site
Hi Ferat,
Have you followed the tutorial to create your dynamic drop down list? If followed the tutorial, the dependent list will change immediately as the main choice (in Cell F1) changes.
More detailed information can help me understand your problem. If possible, upload some screenshots will be helpful!
This comment was minimized by the moderator on the site
So I tried this with dynamic ranges. It's a no go. It does work with static ranges though.
This comment was minimized by the moderator on the site
I understand but how can I repeat the dropdown formatting in all rows of excel
This comment was minimized by the moderator on the site
Have you received an answer to your question? I'm wondering the same thing..
This comment was minimized by the moderator on the site
Lara, you are probably missed the second half of ste p 4. 4. Click OK and my first drop down list have been created, then select the cell and drag the fill handle to the cell that you want to apply this option.
This comment was minimized by the moderator on the site
I keep getting an error that says " the source currently evaluates to an error", any reason why? I followed the steps above. Any guidance would be greatly appreciated.
This comment was minimized by the moderator on the site
Hi, I am looking to do something similar but the only problem being my dynamic parameter and value combination list is structured as below Parm_nm Val_list Parent1 Item01 Parent1 Item02 Parent2 Item01 Parent2 Item03 Parent2 Item11 Parent3 Item32 Parent3 Item02 Parent4 Item09 Parent4 Item01 And I want to choose appropriate drop down depending on the header definition Eg: If the header definition is Parent3 then the drop down for the cells under the column should have Item32 and Item02. If the header is changed to Parent02 then the drop down list becomes Item01, Item3 and Item11. It is exactly what is being done here apart from the fact the source data structure is completely different and I do not have freedom to restructure it. In such a scenario I am not being able to Name the range of the second level list as I cannot just select and name them. Any help in this regard will highly appreciated. Regards, Sattam
This comment was minimized by the moderator on the site
in case the second drop down has to pick a list that is Dynamic, then how will this work. As in if fruit food meat and drink is for month one and the names for month two changes to fruit2 meat2 food2 and drink2 along with the selection below this headings then how do we use thius formula.
This comment was minimized by the moderator on the site
Thank you it worked like a magic
This comment was minimized by the moderator on the site
When I create a drop-down list using data validation, how can I select the valid entries from the keyboard, I want to type the number and have it auto-populate. Data Validation List looks like this : 1_Ready 2_On Hold 3_ Rejected
This comment was minimized by the moderator on the site
Quite useful. Thank you.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations