この記事では、ExcelでSUMIFSを使用して複数の基準を持つ値を合計する方法について学習します。

簡単に言えば、長いデータシートで作業している間。複数の基準を持つ時間値の合計を見つける必要がある場合があります。 SUMIFS関数式は、複数の条件を満たす必要がある配列のSUMを見つけます。そこで、複数の条件を満たすために、SUMIFS関数から式を作成しました。

SUMIFS関数は、複数の基準を持つ範囲の合計を返します。

一般式:

= SUMIFS ( Sum_range , range1 , "value1" , range2, ">value2", ….)

変数:

Sum_range:sumが必要な範囲(時間値)。

range1:基準value1が適用される範囲。

Value1:range1に適用される値の基準。

range2:基準value2が適用される範囲。

Value2:range2に適用される値の基準。

例でこの関数を使用して、この関数について詳しく理解しましょう。

例:

データベースには、従業員のエントリが時間とともに記録されます。今、会社は特定の従業員がどれだけの時間を費やしているかを知りたいと思っています。

image

2つの条件を持つ時間値の合計を取得する必要があります。条件は次のステートメントにあります。

。日付は2019年1月1日以降である必要があります。

。日付は2019年1月7日より前である必要があります。

。特定の従業員の一致する従業員ID。

したがって、式を使用して合計時間を取得します

= SUMIFS ( time , date , ">=" & A2 , date , "time ( C2:C15 ) : Sum_range where values gets sum

ID ( B2:B15 ) : range where criteria is applied.

date , ">=" & A2 : Dates after the January 1st, 2019.

date , "<" & A2+7 : Dates before the January 7th, 2019.

Explanation for the formula:

Here the SUMIFS function satisfies all the conditions mentioned. The function returns the SUM of the time values only which satisfies all the criteria in the formula.

Here the arguments to the function is given as cell references and named ranges. The yellow marked boxes indicates the named ranges used.

As you can see the formula returns 0:25 , the Total time spent by Emp_001.

Now to calculate the time spent by Emp_002. We will use the formula:

= SUMIFS ( time , date , ">=" & A2 , date , "

As you can see the formula returns 0:45 , the Total time spent by Emp_002.

Here are some observational notes when using the formula.

Notes:

The SUMIFS function supports logical operators like <, >, <>, = but these are used using double quote sign ( " ) .

The SUMIFS function also supports Wildcards ( * , ? ) which helps in extracting values having phrases.

Non - numeric values must be provided in double quotes ("value").

The function returns the sum of the values satisfying all the conditions.

Hope you understood how to Find the SUM time values having multiple criteria in Excel. Explore more articles on Excel SUMIFS function here. Please feel free to state your query or feedback for the above article.

Related Articles

3 SUMIF with Or Formulas : multiple use of SUMIF function with a logic OR function in excel.

How to Use SUMIFS Function in Excel : Use of SUMIFS function explained with example in excel.

SUMIFS using AND-OR logic : Use of SUMIFS function with 2 logic OR & AND function in excel.

SUMIF with non-blank cells : Use of SUMIF function to catch blank cells in Excel.

SUMIFS with dates in Excel : Use of SUMIFS function with dates as criteria in Excel.

Popular Articles

Edit a dropdown list

If with conditional formatting

If with wildcards

Vlookup by date

link:/ summary-sum-if-date-is-between [Continue ] link:/ summary-sum-if-date-is-between [コメントなし]

  • link:/ summary-sum-if-cell-is-equal-to-value [セルが値に等しい場合の合計…​]

  • link:/ summing-sum-bottom-n-values-or-top-n-values-with-criteria-in-excel [基準で上位または下位のN値を合計する方法…​]

link:/ summary-sum-bottom-n-values-or-top-n-values-with-criteria-in-excel [Continue __]

link:/ summary-sum-bottom-n-values-or-top-n-values-with-criteria-in-excel [コメントなし__]

  • link:/ summary-how-to-get-subtotal-grouped-by-date-using-getpivotdata-function-in-excel [GETを使用して日付でグループ化された小計を取得する方法…​]

link:/ summary-how-to-get-subtotal-grouped-by-date-using-getpivotdata-function-in-excel [Continue __]

  • link:/ summing-sum-if-cell-is-not-equal-to-value [セルがEの値と等しくない場合に合計する方法…​]

カテゴリ* // basic-excel [Basic Excel]
  • // date-time-function [DATE&TIME function]

  • // excel-365-functions [Excel 365 Functions]

  • // excel-business-templates-and-dashboards [Excel Business Templates and Dashboards]

  • // excel-dashboards [Excel Dashboards]

  • // excel-datas [Excel Data]

  • // excel-date-and-time [Excel Date and Time]

  • // excel-errors [Excelエラー]

  • // excel-formula-and-function [Excel Formulas and Functions List]

  • // excel-generals [Excel General]

  • // excel-macros-and-vba [Excel Macros and VBA]

  • // excel-text-editing-and-format [Excelテキスト、編集およびフォーマット]

  • //ヒント[Excelのヒントとコツ]

  • // info-functions [情報関数]

  • // vba-basic-topics [VBA基本トピック]

  • // vba-general-topics [VBA General Topics]