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

Excelのドロップダウンリストの選択に基づいて値を合計するにはどうすればよいですか?

作者: シルヴィア 最終更新日:2020年04月28日

テーブルに10つの列(カテゴリと金額)が含まれていて、すべてのカテゴリを含むデータ検証ドロップダウンリストを作成したとします。 ドロップダウンリストからカテゴリを選択するときに、[金額]列の対応するすべての値を合計する必要があります。 以下のスクリーンショットに示すように、ドロップダウンからAAを選択すると、結果は30 + 80 + 120 = XNUMXになります。 それを達成する方法は? この記事のメソッドはあなたに有利に働くことができます。

式を使用したドロップダウンリストの選択に基づいて値を合計します
素晴らしいツールを使用して、ドロップダウンリストの選択に基づいて値を簡単に合計します

ドロップダウンリストのその他のチュートリアル...


式を使用したドロップダウンリストの選択に基づいて値を合計します

次の数式を適用して、Excelのドロップダウンリストの選択に基づいて値を合計できます。

1.空白のセルを選択して、結果を出力します。

2.以下の式を入力し、を押します。 入力します キー。

=SUMIF(A2:A10,D2,B2:B10)

今後、ドロップダウンリストの選択に基づいて合計が自動的に調整されます。

注意:

  • 1.以下の式を適用して、ドロップダウンリストの選択に基づいて値を合計することもできます。
    =SUMPRODUCT(SUMIF($A$2:$A$10,$D$2,$B$2:$B$10))
  • 2.数式で、A2:A10はカテゴリ範囲、D2はドロップダウンリストセル、B2:B10はドロップダウンリストの選択に基づいて合計する必要のある値の範囲です。 必要に応じて変更してください。

素晴らしいツールを使用して、ドロップダウンリストの選択に基づいて値を簡単に合計します

ここでは、便利なツールをお勧めします– ルックアップと合計 の有用性 Kutools for Excel 数式を適用せずに、ドロップダウンリストの選択に基づいて値を簡単に合計できるようにします。 次のようにしてください。

申請する前に Kutools for Excelについては 最初にダウンロードしてインストールします.

1。 クリック クツール > スーパールックアップ > 調べる と合計。 スクリーショットを参照してください:

2.次に、 ルックアップと合計 ダイアログボックスが表示されたら、以下の設定を完了する必要があります。

  • 2.1) ルックアップと合計タイプ セクション、選択 行内の一致した値を検索して合計します オプション;
  • 2.2) 範囲を選択 セクションで、 ルックアップ値、出力範囲 など データ表 範囲;
  • 2.3) オプション セクションで、 一致したすべての値の合計を返します オプション;
  • 2.4)をクリック [OK]をクリックします。

次に、数式が出力セルに自動的に作成されます。 今後、ドロップダウン項目に基づいて合計が自動的に調整されます。

  このユーティリティの無料トライアル(30日)が必要な場合は、 クリックしてダウンロードしてください、次に、上記の手順に従って操作を適用します。


関連記事:

Excelのドロップダウンリストに入力するとオートコンプリート
大きな値を持つデータ検証ドロップダウンリストがある場合は、適切なものを見つけるためだけにリストを下にスクロールするか、リストボックスに単語全体を直接入力する必要があります。 ドロップダウンリストの最初の文字を入力するときにオートコンプリートを許可する方法があれば、すべてが簡単になります。 このチュートリアルでは、問題を解決する方法を説明します。

Excelで別のブックからドロップダウンリストを作成する
ブック内のワークシート間でデータ検証ドロップダウンリストを作成するのは非常に簡単です。 しかし、データ検証に必要なリストデータが別のブックにある場合は、どうしますか? このチュートリアルでは、Excelの別のブックからドロップファウンリストを作成する方法について詳しく学習します。

Excelで検索可能なドロップダウンリストを作成する
多数の値を持つドロップダウンリストの場合、適切な値を見つけるのは簡単な作業ではありません。 以前、ドロップダウンボックスに最初の文字を入力したときにドロップダウンリストをオートコンプリートする方法を導入しました。 オートコンプリート機能に加えて、ドロップダウンリストを検索可能にして、ドロップダウンリストで適切な値を見つける作業効率を高めることもできます。 ドロップダウンリストを検索可能にするには、このチュートリアルの方法を試してください。

Excelのドロップダウンリストで値を選択すると、他のセルに自動入力されます
セル範囲B8:B14の値に基づいてドロップダウンリストを作成したとします。 ドロップダウンリストで任意の値を選択する場合、セル範囲C8:C14の対応する値が選択したセルに自動的に入力されるようにします。 問題を解決するために、このチュートリアルの方法はあなたに有利になります。

ドロップダウンリストのその他のチュートリアル...

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

🤖 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 (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi.

I have a document which has a selection of food items that people have to choose. I want to try and calculate how many people have chosen a specific starter, from a drop list I created. Is this possible to do?
This comment was minimized by the moderator on the site
Hello, first off, this is a great tutorial, thank you for this post!

I am wondering if you know how to adjust the formula to draw values from another sheet.
(I have looked at the link Crystal shared with Aaron but I can't figure it out with that additional info).

I am trying to automate a monthly budget based on a company's transactions.

Thanks!
This comment was minimized by the moderator on the site
Hi Bella,

To sum the values from another worksheet, the formula is the same, the only difference is that you need to reference to different cell ranges in a different worksheet in the formula. As you mentioned, the formula here needs to be changed to:
=SUMIF(transactions!A2:A10,'Monthly budget'!A2,transactions!B2:B10)
If I mistanderstood your question, please let me know. For clarity, please attach ascreenshot with your data and desired results.
This comment was minimized by the moderator on the site
Hi there, i am currently facing a similar issue, did u find a solution to this?
This comment was minimized by the moderator on the site
Is there a formula to total on Sheet 1 from drop down box amounts on multiple sheets?
This comment was minimized by the moderator on the site
Hi Aaron,
The methods in the following articel may do you a favor. Please have a try.
How To Vlookup Across Multiple Sheets And Sum Results In Excel?
This comment was minimized by the moderator on the site
cant seem to find out how to command a cell from the drop down menu. E.G i have a simple yes or no drop down for a column and i want the cell if YES to increase the cost
by 10% and if no to keep the price the same
This comment was minimized by the moderator on the site
Hi NADIA,
You may need to attach a screenshot or a sample file to describe the problem you encountered more clearly.
This comment was minimized by the moderator on the site
The Sum Values Based On Selection Of Drop-Down List With Formula worked perfectly for what I needed. Thanks so much for posting this on here. You saved me hours of headaches!
This comment was minimized by the moderator on the site
I am trying to use sumifs with set of conditions. There is a project column with sprint numbers and test cases, etc.. I created a drop down list of the project names above the cell with the formula and referred that in the Sumif condition. Now based on my dropdown selection, the total of test cases created are resulted. This works absolutely fine. Now, if I have to select the dropdown to select all projects, how do I do it. I tried creating a list item as "<>" but that is not working. Any suggestions?
This comment was minimized by the moderator on the site
Trying using the wild card "*" so the last or first item in your list is just the *. I am working through a similar problem and that has worked most of the time.
This comment was minimized by the moderator on the site
Did you find a way to make this work?
This comment was minimized by the moderator on the site
Hi,
What do you mean of "to select the dropdown to select all projects"?
Would be nice if you could provide screenshot of what you are trying to do.
Thanks for your comment.
This comment was minimized by the moderator on the site
formula for 2 different categories
This comment was minimized by the moderator on the site
how to sum value all selected cell in sum total value ?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations