SUMIFS

Math & Aggregationintermediate

SUMIFS extends SUMIF by letting you apply two or more conditions at once. The syntax is slightly different from SUMIF — the sum range comes first, then each criteria range/criteria pair follows. This is one of the most powerful everyday formulas in ops and finance work.

Syntax

Excel:=SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
Google Sheets: Same syntax

Parameters

sum_rangeThe range to sum.
criteria_range1The first range to evaluate.
criteria1The condition for the first range.
criteria_range2, criteria2?Additional range/condition pairs.

? = optional parameter

Worked Example

How much has Engineering spent on Software specifically?

Row numbersFCE
Header rowdepartmentcategoryamount
2EngineeringSoftware$12,500.00
3FinanceConsulting$18,750.00
4EngineeringHardware$2,150.00
5MarketingSoftware$9,800.00
6EngineeringSoftware$15,300.00
7SalesTravel$3,200.00

Formula

=SUMIFS(C2:C7, A2:A7, "Engineering", B2:B7, "Software")

Result

$27,800.00

SUMIFS checks rows 2 through 7 for two conditions at the same time: department must be 'Engineering' and category must be 'Software'. Only rows 2 and 6 match, so it adds C2 and C6.

Practice Exercises

2 exercises - work through each one using the data table below

Exercise 1 of 2intermediate
#SUMIFS-001

Question

The Marketing team is reviewing agency spend. What is the total amount billed by Forge & Frame Creative specifically to the Marketing department?

Dataset

Vendor Spend Tracker (150 rows total)

Download CSV
Row numbersABCD
Header row
2INV-1001Cloudline SoftwareEngineering$12,500.00
3INV-1002Apex Office SupplyOperations$487.50
4INV-1003Summit Consulting GroupFinance$18,750.00
5INV-1004Meridian Travel Co.Sales$3,200.00
6INV-1005Forge & Frame CreativeMarketing$7,600.00
7INV-1006NovaTech SolutionsEngineering$9,800.00
8INV-1007Atlas Hardware Co.Operations$2,150.00
9INV-1008Clearview Data SystemsEngineering$15,300.00
10INV-1009Redstone MarketingMarketing$4,250.00
11INV-1010Keystone Legal AdvisorsFinance$8,900.00
12INV-1011Cloudline SoftwareEngineering$8,500.00
13INV-1012Basecamp EventsOperations$8,256.80
14INV-1013Apex Office SupplySales$713.88
15INV-1014BrightPath AnalyticsSales$2,645.33
16INV-1015Meridian Travel Co.Engineering$4,702.01
17INV-1016Clearview Data SystemsMarketing$3,400.74
18INV-1017Apex Office SupplyOperations$531.83
19INV-1018Summit Consulting GroupOperations$1,847.86
20INV-1019Cloudline SoftwareEngineering$7,800.00
21INV-1020Atlas Hardware Co.Sales$2,524.82
22INV-1021Meridian Travel Co.Finance$2,934.55
23INV-1022Atlas Hardware Co.Sales$2,912.75
24INV-1023Atlas Hardware Co.Marketing$4,124.04
25INV-1024Apex Office SupplyOperations$672.77
26INV-1025Redstone MarketingFinance$5,371.63
27INV-1026Clearview Data SystemsOperations$3,796.96
28INV-1027Horizon IT ServicesOperations$1,773.30
29INV-1028Basecamp EventsSales$4,601.68
30INV-1029Redstone MarketingEngineering$5,414.85
31INV-1030BrightPath AnalyticsFinance$2,704.87
32INV-1031Basecamp EventsOperations$2,351.63
33INV-1032Cloudline SoftwareEngineering$9,200.00
34INV-1033Clearview Data SystemsEngineering$4,086.27
35INV-1034Meridian Travel Co.Sales$1,642.50
36INV-1035Cloudline SoftwareEngineering$2,867.94
37INV-1036Horizon IT ServicesEngineering$4,586.87
38INV-1037BrightPath AnalyticsFinance$2,679.33
39INV-1038Cloudline SoftwareFinance$2,284.90
40INV-1039Horizon IT ServicesMarketing$3,224.17
41INV-1040Apex Office SupplyMarketing$604.96
42INV-1041Summit Consulting GroupFinance$9,500.00
43INV-1042Clearview Data SystemsMarketing$3,871.90
44INV-1043Forge & Frame CreativeMarketing$5,726.55
45INV-1044NovaTech SolutionsOperations$3,596.33
46INV-1045Meridian Travel Co.Finance$5,657.73
47INV-1046Cloudline SoftwareEngineering$8,000.00
48INV-1047Apex Office SupplyEngineering$396.69
49INV-1048Apex Office SupplyOperations$523.99
50INV-1049Pinecrest StaffingEngineering$5,843.41
51INV-1050Clearview Data SystemsEngineering$5,091.38
52INV-1051BrightPath AnalyticsEngineering$6,200.00
53INV-1052Keystone Legal AdvisorsFinance$10,496.53
54INV-1053Cloudline SoftwareMarketing$3,873.77
55INV-1054NovaTech SolutionsEngineering$2,131.07
56INV-1055Basecamp EventsEngineering$4,659.43
57INV-1056Cloudline SoftwareEngineering$7,500.00
58INV-1057NovaTech SolutionsEngineering$3,255.52
59INV-1058Clearview Data SystemsOperations$2,889.22
60INV-1059Basecamp EventsEngineering$2,943.88
61INV-1060Horizon IT ServicesSales$3,917.25
62INV-1061Atlas Hardware Co.Sales$2,958.71
63INV-1062Forge & Frame CreativeMarketing$5,190.48
64INV-1063Meridian Travel Co.Sales$3,800.00
65INV-1064Meridian Travel Co.Finance$3,248.96
66INV-1065Cloudline SoftwareEngineering$6,800.00
67INV-1066Redstone MarketingEngineering$4,583.65
68INV-1067Horizon IT ServicesEngineering$4,154.73
69INV-1068Cloudline SoftwareEngineering$1,994.85
70INV-1069NovaTech SolutionsEngineering$5,988.79
71INV-1070Apex Office SupplyFinance$701.90
72INV-1071Redstone MarketingMarketing$1,522.67
73INV-1072NovaTech SolutionsEngineering$8,100.00
74INV-1073Summit Consulting GroupFinance$33,000.00
75INV-1074Atlas Hardware Co.Engineering$3,618.53
76INV-1075BrightPath AnalyticsEngineering$5,484.82
77INV-1076Clearview Data SystemsFinance$2,190.73
78INV-1077Meridian Travel Co.Engineering$4,915.98
79INV-1078Pinecrest StaffingFinance$5,337.06
80INV-1079Meridian Travel Co.Marketing$5,217.40
81INV-1080Greenfield FacilitiesEngineering$4,199.01
82INV-1081Keystone Legal AdvisorsFinance$7,880.94
83INV-1082Apex Office SupplySales$738.04
84INV-1083Cloudline SoftwareEngineering$9,500.00
85INV-1084Meridian Travel Co.Operations$3,706.27
86INV-1085Horizon IT ServicesEngineering$3,934.09
87INV-1086Cloudline SoftwareSales$2,463.38
88INV-1087Apex Office SupplyOperations$404.67
89INV-1088Pinecrest StaffingPeople$1,909.04
90INV-1089NovaTech SolutionsEngineering$2,885.01
91INV-1090Meridian Travel Co.Engineering$5,922.08
92INV-1091Redstone MarketingEngineering$3,693.48
93INV-1092Cloudline SoftwareEngineering$4,986.06
94INV-1093Cloudline SoftwareEngineering$31,500.00
95INV-1094BrightPath AnalyticsMarketing$4,248.05
96INV-1095Redstone MarketingEngineering$3,264.04
97INV-1096BrightPath AnalyticsFinance$5,977.55
98INV-1097Redstone MarketingEngineering$3,214.26
99INV-1098Cloudline SoftwareEngineering$8,200.00
100INV-1099Meridian Travel Co.Sales$2,709.54
101INV-1100Meridian Travel Co.Operations$3,516.17
102INV-1101Forge & Frame CreativeMarketing$3,122.47
103INV-1102Atlas Hardware Co.Engineering$4,530.21
104INV-1103NovaTech SolutionsEngineering$4,352.17
105INV-1104Meridian Travel Co.Engineering$3,137.30
106INV-1105NovaTech SolutionsSales$4,559.89
107INV-1106Pinecrest StaffingPeople$7,400.00
108INV-1107Basecamp EventsEngineering$2,724.75
109INV-1108Redstone MarketingEngineering$3,957.64
110INV-1109NovaTech SolutionsEngineering$2,398.15
111INV-1110Horizon IT ServicesFinance$5,015.14
112INV-1111Pinecrest StaffingPeople$30,500.00
113INV-1112NovaTech SolutionsOperations$3,646.25
114INV-1113Cloudline SoftwareEngineering$5,200.86
115INV-1114Meridian Travel Co.Engineering$1,878.57
116INV-1115Clearview Data SystemsPeople$4,287.78
117INV-1116Cloudline SoftwareEngineering$5,505.30
118INV-1117Clearview Data SystemsEngineering$4,658.66
119INV-1118Greenfield FacilitiesEngineering$5,042.80
120INV-1119Cloudline SoftwareEngineering$7,000.00
121INV-1120Horizon IT ServicesEngineering$3,893.42
122INV-1121Meridian Travel Co.Operations$5,864.21
123INV-1122Redstone MarketingEngineering$3,920.27
124INV-1123Redstone MarketingMarketing$4,600.00
125INV-1124NovaTech SolutionsEngineering$1,602.74
126INV-1125Cloudline SoftwareMarketing$5,250.09
127INV-1126Meridian Travel Co.Engineering$4,417.14
128INV-1127Horizon IT ServicesOperations$5,900.00
129INV-1128Forge & Frame CreativeMarketing$4,618.54
130INV-1129Cloudline SoftwareEngineering$8,800.00
131INV-1130BrightPath AnalyticsEngineering$4,003.25
132INV-1131Keystone Legal AdvisorsFinance$11,892.88
133INV-1132BrightPath AnalyticsEngineering$2,800.34
134INV-1133Meridian Travel Co.Engineering$4,365.68
135INV-1134NovaTech SolutionsEngineering$2,264.09
136INV-1135Cloudline SoftwareSales$5,344.04
137INV-1136Greenfield FacilitiesSales$1,733.29
138INV-1137Meridian Travel Co.Engineering$2,251.07
139INV-1138Apex Office SupplyOperations$367.30
140INV-1139Pinecrest StaffingPeople$3,235.55
141INV-1140Pinecrest StaffingFinance$4,538.25
142INV-1141Cloudline SoftwareEngineering$7,200.00
143INV-1142NovaTech SolutionsPeople$2,487.53
144INV-1143Greenfield FacilitiesPeople$4,398.73
145INV-1144Clearview Data SystemsOperations$4,282.05
146INV-1145Apex Office SupplyPeople$300.36
147INV-1146Cloudline SoftwareEngineering$9,000.00
148INV-1147Summit Consulting GroupSales$4,697.90
149INV-1148NovaTech SolutionsSales$2,613.37
150INV-1149Greenfield FacilitiesEngineering$4,097.38
151INV-1150Greenfield FacilitiesEngineering$1,846.11
152

Scroll to explore the table, then sort or filter by column as needed.

Hints

Your Answer

Exercise 2 of 2intermediate
#SUMIFS-002

Question

Finance is closing the Q3 books (July–September 2025). What is the total value of all Paid invoices with an invoice date in Q3?

Dataset

Vendor Spend Tracker (150 rows total)

Download CSV
Row numbersABCDE
Header row
2INV-1001Cloudline Software2025-01-15$12,500.00Paid
3INV-1002Apex Office Supply2025-01-18$487.50Paid
4INV-1003Summit Consulting Group2025-01-22$18,750.00Paid
5INV-1004Meridian Travel Co.2025-02-03$3,200.00Paid
6INV-1005Forge & Frame Creative2025-02-08$7,600.00Paid
7INV-1006NovaTech Solutions2025-02-14$9,800.00Pending
8INV-1007Atlas Hardware Co.2025-02-19$2,150.00Paid
9INV-1008Clearview Data Systems2025-03-05$15,300.00Overdue
10INV-1009Redstone Marketing2025-03-10$4,250.00Paid
11INV-1010Keystone Legal Advisors2025-03-15$8,900.00Paid
12INV-1011Cloudline Software2025-01-04$8,500.00Paid
13INV-1012Basecamp Events2025-01-09$8,256.80Paid
14INV-1013Apex Office Supply2025-01-10$713.88Paid
15INV-1014BrightPath Analytics2025-01-16$2,645.33Paid
16INV-1015Meridian Travel Co.2025-01-17$4,702.01Paid
17INV-1016Clearview Data Systems2025-01-21$3,400.74Paid
18INV-1017Apex Office Supply2025-02-09$531.83Paid
19INV-1018Summit Consulting Group2025-02-18$1,847.86Paid
20INV-1019Cloudline Software2025-02-19$7,800.00Paid
21INV-1020Atlas Hardware Co.2025-02-22$2,524.82Paid
22INV-1021Meridian Travel Co.2025-02-25$2,934.55Paid
23INV-1022Atlas Hardware Co.2025-03-02$2,912.75Pending
24INV-1023Atlas Hardware Co.2025-03-04$4,124.04Paid
25INV-1024Apex Office Supply2025-03-10$672.77Paid
26INV-1025Redstone Marketing2025-03-12$5,371.63Paid
27INV-1026Clearview Data Systems2025-03-13$3,796.96Paid
28INV-1027Horizon IT Services2025-03-14$1,773.30Paid
29INV-1028Basecamp Events2025-03-14$4,601.68Paid
30INV-1029Redstone Marketing2025-03-15$5,414.85Paid
31INV-1030BrightPath Analytics2025-03-17$2,704.87Paid
32INV-1031Basecamp Events2025-03-19$2,351.63Paid
33INV-1032Cloudline Software2025-03-20$9,200.00Paid
34INV-1033Clearview Data Systems2025-04-01$4,086.27Pending
35INV-1034Meridian Travel Co.2025-04-01$1,642.50Paid
36INV-1035Cloudline Software2025-04-03$2,867.94Paid
37INV-1036Horizon IT Services2025-04-05$4,586.87Paid
38INV-1037BrightPath Analytics2025-04-07$2,679.33Paid
39INV-1038Cloudline Software2025-04-10$2,284.90Paid
40INV-1039Horizon IT Services2025-04-11$3,224.17Paid
41INV-1040Apex Office Supply2025-04-15$604.96Paid
42INV-1041Summit Consulting Group2025-04-15$9,500.00Overdue
43INV-1042Clearview Data Systems2025-04-16$3,871.90Paid
44INV-1043Forge & Frame Creative2025-04-17$5,726.55Paid
45INV-1044NovaTech Solutions2025-04-20$3,596.33Paid
46INV-1045Meridian Travel Co.2025-04-22$5,657.73Paid
47INV-1046Cloudline Software2025-04-23$8,000.00Paid
48INV-1047Apex Office Supply2025-04-24$396.69Paid
49INV-1048Apex Office Supply2025-05-01$523.99Paid
50INV-1049Pinecrest Staffing2025-05-03$5,843.41Paid
51INV-1050Clearview Data Systems2025-05-06$5,091.38Paid
52INV-1051BrightPath Analytics2025-05-15$6,200.00Overdue
53INV-1052Keystone Legal Advisors2025-05-17$10,496.53Paid
54INV-1053Cloudline Software2025-05-18$3,873.77Paid
55INV-1054NovaTech Solutions2025-05-18$2,131.07Paid
56INV-1055Basecamp Events2025-05-21$4,659.43Paid
57INV-1056Cloudline Software2025-05-24$7,500.00Paid
58INV-1057NovaTech Solutions2025-06-01$3,255.52Paid
59INV-1058Clearview Data Systems2025-06-06$2,889.22Paid
60INV-1059Basecamp Events2025-06-07$2,943.88Paid
61INV-1060Horizon IT Services2025-06-10$3,917.25Paid
62INV-1061Atlas Hardware Co.2025-06-10$2,958.71Paid
63INV-1062Forge & Frame Creative2025-06-12$5,190.48Paid
64INV-1063Meridian Travel Co.2025-06-13$3,800.00Overdue
65INV-1064Meridian Travel Co.2025-06-13$3,248.96Pending
66INV-1065Cloudline Software2025-06-15$6,800.00Paid
67INV-1066Redstone Marketing2025-06-16$4,583.65Paid
68INV-1067Horizon IT Services2025-06-17$4,154.73Paid
69INV-1068Cloudline Software2025-06-23$1,994.85Paid
70INV-1069NovaTech Solutions2025-06-25$5,988.79Paid
71INV-1070Apex Office Supply2025-07-01$701.90Paid
72INV-1071Redstone Marketing2025-07-06$1,522.67Paid
73INV-1072NovaTech Solutions2025-07-07$8,100.00Overdue
74INV-1073Summit Consulting Group2025-07-08$33,000.00Paid
75INV-1074Atlas Hardware Co.2025-07-08$3,618.53Paid
76INV-1075BrightPath Analytics2025-07-08$5,484.82Paid
77INV-1076Clearview Data Systems2025-07-09$2,190.73Paid
78INV-1077Meridian Travel Co.2025-07-11$4,915.98Paid
79INV-1078Pinecrest Staffing2025-07-11$5,337.06Paid
80INV-1079Meridian Travel Co.2025-07-13$5,217.40Paid
81INV-1080Greenfield Facilities2025-07-15$4,199.01Paid
82INV-1081Keystone Legal Advisors2025-07-16$7,880.94Paid
83INV-1082Apex Office Supply2025-07-17$738.04Paid
84INV-1083Cloudline Software2025-07-18$9,500.00Paid
85INV-1084Meridian Travel Co.2025-07-19$3,706.27Paid
86INV-1085Horizon IT Services2025-07-21$3,934.09Paid
87INV-1086Cloudline Software2025-07-23$2,463.38Paid
88INV-1087Apex Office Supply2025-08-04$404.67Paid
89INV-1088Pinecrest Staffing2025-08-04$1,909.04Paid
90INV-1089NovaTech Solutions2025-08-05$2,885.01Paid
91INV-1090Meridian Travel Co.2025-08-05$5,922.08Paid
92INV-1091Redstone Marketing2025-08-05$3,693.48Paid
93INV-1092Cloudline Software2025-08-07$4,986.06Paid
94INV-1093Cloudline Software2025-08-08$31,500.00Paid
95INV-1094BrightPath Analytics2025-08-09$4,248.05Paid
96INV-1095Redstone Marketing2025-08-12$3,264.04Paid
97INV-1096BrightPath Analytics2025-08-13$5,977.55Paid
98INV-1097Redstone Marketing2025-08-13$3,214.26Paid
99INV-1098Cloudline Software2025-08-15$8,200.00Paid
100INV-1099Meridian Travel Co.2025-08-15$2,709.54Paid
101INV-1100Meridian Travel Co.2025-08-16$3,516.17Pending
102INV-1101Forge & Frame Creative2025-08-17$3,122.47Paid
103INV-1102Atlas Hardware Co.2025-08-17$4,530.21Paid
104INV-1103NovaTech Solutions2025-08-17$4,352.17Paid
105INV-1104Meridian Travel Co.2025-08-18$3,137.30Paid
106INV-1105NovaTech Solutions2025-08-22$4,559.89Paid
107INV-1106Pinecrest Staffing2025-08-24$7,400.00Overdue
108INV-1107Basecamp Events2025-08-24$2,724.75Pending
109INV-1108Redstone Marketing2025-09-04$3,957.64Paid
110INV-1109NovaTech Solutions2025-09-08$2,398.15Paid
111INV-1110Horizon IT Services2025-09-08$5,015.14Paid
112INV-1111Pinecrest Staffing2025-09-13$30,500.00Paid
113INV-1112NovaTech Solutions2025-09-16$3,646.25Pending
114INV-1113Cloudline Software2025-09-17$5,200.86Pending
115INV-1114Meridian Travel Co.2025-09-18$1,878.57Paid
116INV-1115Clearview Data Systems2025-09-19$4,287.78Paid
117INV-1116Cloudline Software2025-09-19$5,505.30Paid
118INV-1117Clearview Data Systems2025-09-19$4,658.66Paid
119INV-1118Greenfield Facilities2025-09-20$5,042.80Paid
120INV-1119Cloudline Software2025-09-21$7,000.00Paid
121INV-1120Horizon IT Services2025-09-21$3,893.42Paid
122INV-1121Meridian Travel Co.2025-09-21$5,864.21Paid
123INV-1122Redstone Marketing2025-09-24$3,920.27Paid
124INV-1123Redstone Marketing2025-09-25$4,600.00Overdue
125INV-1124NovaTech Solutions2025-09-25$1,602.74Paid
126INV-1125Cloudline Software2025-09-25$5,250.09Paid
127INV-1126Meridian Travel Co.2025-09-25$4,417.14Paid
128INV-1127Horizon IT Services2025-10-03$5,900.00Overdue
129INV-1128Forge & Frame Creative2025-10-04$4,618.54Paid
130INV-1129Cloudline Software2025-10-05$8,800.00Paid
131INV-1130BrightPath Analytics2025-10-05$4,003.25Paid
132INV-1131Keystone Legal Advisors2025-10-06$11,892.88Paid
133INV-1132BrightPath Analytics2025-10-10$2,800.34Paid
134INV-1133Meridian Travel Co.2025-10-11$4,365.68Paid
135INV-1134NovaTech Solutions2025-10-12$2,264.09Paid
136INV-1135Cloudline Software2025-10-21$5,344.04Paid
137INV-1136Greenfield Facilities2025-10-24$1,733.29Paid
138INV-1137Meridian Travel Co.2025-10-25$2,251.07Paid
139INV-1138Apex Office Supply2025-11-07$367.30Paid
140INV-1139Pinecrest Staffing2025-11-13$3,235.55Paid
141INV-1140Pinecrest Staffing2025-11-20$4,538.25Paid
142INV-1141Cloudline Software2025-11-21$7,200.00Paid
143INV-1142NovaTech Solutions2025-11-24$2,487.53Paid
144INV-1143Greenfield Facilities2025-12-09$4,398.73Paid
145INV-1144Clearview Data Systems2025-12-15$4,282.05Paid
146INV-1145Apex Office Supply2025-12-16$300.36Paid
147INV-1146Cloudline Software2025-12-18$9,000.00Paid
148INV-1147Summit Consulting Group2025-12-19$4,697.90Paid
149INV-1148NovaTech Solutions2025-12-19$2,613.37Paid
150INV-1149Greenfield Facilities2025-12-20$4,097.38Paid
151INV-1150Greenfield Facilities2025-12-23$1,846.11Pending
152

Scroll to explore the table, then sort or filter by column as needed.

Hints

Your Answer

Want more practice?

Test Me mode randomizes exercises across all formulas without telling you which formula to use.

Try Test Me ->