Contact

SUMIF in Zoho Sheet: Syntax, Worked Examples, and Troubleshooting

Mathematical Beginner Zoho Sheet

Total orders for one matching condition; learn the verified help syntax, sample formulas, independent expected results and common pitfalls.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =SUMIF(B2:B9;"East";D2:D9) returns 390 for the original eight-order dataset below. It checks Region and adds the corresponding Amount values for one condition.

Availability and version history

  • Introduced: The original introduction version and date are not established by the checked sources.
  • Availability: Currently documented in Zoho Sheet’s rolling web-service help; no numbered release or retirement endpoint is established.
  • Scope: English-language web-service documentation. Mobile and offline-client parity is outside the verified scope.
  • Checked: October 14, 2026, against the official SUMIF reference. Documentation and independent arithmetic/selection checks; no native Zoho Sheet test.

Syntax and aligned inputs

=SUMIF(test_range; condition; sum_range)

Zoho’s SUMIF reference prints all three arguments without optional brackets. This guide supplies all three rather than importing another product’s optional-sum-range default.

The first range is tested, the middle argument gives a number, expression or text criterion, and the final range supplies the values to add. The entry permits >, <, >=, <=, = and <> in conditions. Keep the tested and summed records aligned and use semicolons between arguments.

Complete eight-order practice data

Create a blank sheet named Orders. Enter these headers in A1:F1 and all eight records in A2:F9. Keep Amount and Units numeric; the other columns contain text.

Row A: Order ID B: Region C: Status D: Amount E: Agent F: Units
2 O-101 East Paid 120 Ana 12
3 O-102 West Pending 75 Bo 5
4 O-103 East Paid 210 Ana 7
5 O-104 North Paid 90 Cy 0
6 O-105 West Paid 150 Bo 3
7 O-106 East Pending 60 Dana 8
8 O-107 West Paid 125 Ana 12
9 O-108 North Pending 80 Cy 4

Alternatively, download the same eight-order CSV and import it into a new blank sheet at A1, retaining its header row and comma-delimited columns. The download contains only the six input columns, not formulas or native test results. The result columns below start at H so they cannot overwrite A:F.

Preserve the three original calculations

Use H2:H7 for these outputs:

Cell Formula Expected result
H2 =SUMIF(B2:B9;"East";D2:D9) 390
H3 =SUMIF(C2:C9;"Paid";D2:D9) 695
H4 =SUMIF(D2:D9;">=100";D2:D9) 605
H5 =SUMIF(B2:B9;"West";D2:D9) 350
H6 =SUMIF(B2:B9;"North";D2:D9) 170
H7 =SUMIF(C2:C9;"Pending";D2:D9) 215

East contributes 120+210+60. Paid contributes 120+210+90+150+125. The numeric comparison in H4 selects 120,210,150 and 125. It uses the amount range in both range positions, but still supplies the documented third argument.

The regional totals 390,350,170 add to 910. Paid and Pending add to the same total for this fixture. These are separate ways of grouping the records, not independent amounts to add together into one larger total.

A fillable region summary

Put Region in J1 and Amount in K1. Enter East, West and North in J2:J4. In K2 enter =SUMIF($B$2:$B$9;J2;$D$2:$D$9) and fill to K4. Expect 390,350,170. Put =SUM(K2:K4) in K5; expect 910.

The range anchors remain fixed while the criterion moves down the summary. When adding a new region to a real ledger, add the corresponding summary row rather than assuming these three labels cover it.

Store a comparison criterion in a cell

Put the plain text >=100 in M2, without enclosing quote characters and without a leading equals sign. In M3 enter =SUMIF(D2:D9;M2;D2:D9); expect 605.

Change M2 to >=150. M3 becomes 360, from 210+150. Restore >=100 afterward. A quoted comparison inside a formula and a cell containing that criterion are two ways to supply the test; neither changes the amounts themselves.

For an exclusive upper control, put =SUMIF(D2:D9;"<100";D2:D9) in M5; expect 305. In M6 enter =M3+M5 after restoring M2; expect 910. The >=100 and <100 conditions partition these numeric amounts without overlap.

Advanced: equal range lengths can still pair the wrong records

Create AlignmentCheck. Enter Region, Correct amount and Shifted amount in A1:C1. In A2:A4 enter East, West and East. Enter 10,20,30 in B2:B4 and 20,30,0 in C2:C4.

In E2 enter =SUMIF(A2:A4;"East";B2:B4); expect 40. In E3 enter the same formula with C2:C4 as the sum range; expect 20.

Both formulas test and sum three positions, but the second amount column no longer belongs to the same records. Equal dimensions do not establish correct alignment. Sort or move complete records together instead of independently rearranging one criteria or amount column.

Patterns and zero totals need care

Zoho documents the special pattern tokens .*, .? and /, including a slash escape for literal punctuation. Its text should not be silently replaced with another application’s asterisk/question-mark escape convention. The complete pattern parser, anchoring and edge cases have not been established here, so the worked totals use exact labels and numeric comparisons.

Create RefundControl with East/East/West in A2:A4 and 25,−25,40 in B2:B4. Put =SUMIF(A2:A4;"East";B2:B4) in D2; expect 0. Put =COUNTIF(A2:A4;"East") in D3; expect 2. This zero is cancellation between matching amounts; it is not evidence of no records.

Inspect stored numeric types, quoted criteria and row alignment. Hidden whitespace or an unexpected label should be investigated rather than automatically normalized under an unverified rule. The short reference does not fully specify all case, empty-cell, error and import conversions.

SUM totals all selected amounts. SUMIFS puts the sum range first and combines condition pairs. COUNTIF counts matching records instead of adding their amounts. AVERAGEIF has its own denominator and should not be substituted merely because a conditional total looks large.