
To calculate SUMIF sales by region, enter =SUMIF(A2:A7,G2,B2:B7) in H2. It checks the region names in A2:A7, uses the region typed in G2, and returns the matching sales total from B2:B7.
Use this one-condition formula when a report needs a total for one named region. The criterion can stay in a worksheet cell, so changing the requested region updates the condition used by the formula.
SUMIF sales by region: task and setup
Assume a sales export has Region in column A and Sales in column B. The following is synthetic data for a small report example.
| Cell | Region | Sales |
|---|---|---|
| A2 / B2 | North | 8,200 |
| A3 / B3 | East | 12,500 |
| A4 / B4 | South | 6,400 |
| A5 / B5 | East | 7,000 |
| A6 / B6 | West | 9,100 |
| A7 / B7 | South | 3,600 |
In this synthetic sales list, A2:A7 contains North, East, South, East, West, and South; B2:B7 contains 8200, 12500, 6400, 7000, 9100, and 3600; and G2 contains East.

Build the region summary
- Put the region to report in G2. For this example, type East.
- In H1, enter a heading such as Total sales.
- In H2, enter
=SUMIF(A2:A7,G2,B2:B7).
The SUMIF formula uses A2:A7 as the criteria range, G2 as the criterion, and B2:B7 as the sum range. Only rows whose Region equals the value in G2 contribute to the result.
| Summary cell | Value or formula | Meaning |
|---|---|---|
| G2 | East | Region requested by the report |
| H2 | =SUMIF(A2:A7,G2,B2:B7) | Add sales for matching East rows |
| H2 result | 19,500 | 12,500 + 7,000 |
With East in G2, the expected value in H2 is 19500 because the included rows are East sales of 12500 and 7000. The North, South, and West rows are not included.
Microsoft documents the syntax as SUMIF(range, criteria, [sum_range]): the first range is evaluated, while the separate sum range supplies the numbers to add. See the official SUMIF function documentation for the argument reference.
Check a missing region
Change G2 from East to Central, leaving the formula in H2 unchanged. If G2 contains Central, which is not present in A2:A7, the expected result is 0. That is a valid no-match total, not a formula error.
A zero result can also mean that the requested region has matching rows whose sales values total zero. Check the matching rows before treating zero as a missing region.
Keep the ranges aligned
A2:A7 and B2:B7 must cover the same rows and have the same shape. If the ranges differ, Excel sums cells beginning at the first sum-range cell that do not correspond to the intended regional rows.
For example, =SUMIF(A2:A7,G2,B3:B7) starts its sum range at B3 rather than B2. Restore B2:B7 so each region is paired with sales from the same row.
For another single-condition example based on an item identifier rather than geography, see how to total stock quantity by SKU with SUMIF. For a broader explanation of conditional totals, see the guide to Excel conditional sums.
When SUMIF is not enough
This one-criterion formula does not distinguish sales by both region and another field such as product type or month; use SUMIFS when the report needs more than one condition. Microsoft’s guide to summing values based on multiple conditions shows a SUMIFS example for a region plus product-type condition.
Excel compatibility
Microsoft lists SUMIF for Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel 2024, Excel 2024 for Mac, Excel 2021, Excel 2021 for Mac, Excel 2019, and Excel 2016.

Sources
- Microsoft Support: SUMIF function syntax, criteria, sum-range behavior, and supported versions
- Microsoft Support: Sum values based on multiple conditions with SUMIFS
Practice with the exact example data
Use a separate blank worksheet for each example. Enter each value at its listed cell address, then type the formula in AA1. Quoted text is shown in JSON notation to preserve spaces: enter the characters inside the quotes, without the quotes, using a leading apostrophe to keep text and spaces literal. An empty quoted string means an explicit empty text value; use an apostrophe entry where appropriate. Compare your result with the expected result below. These are synthetic practice data.
Example 1 — Main case
| Cell | Input value |
|---|---|
| A2 | “North” |
| A3 | “East” |
| A4 | “South” |
| A5 | “East” |
| A6 | “West” |
| A7 | “South” |
| B2 | 8200 |
| B3 | 12500 |
| B4 | 6400 |
| B5 | 7000 |
| B6 | 9100 |
| B7 | 3600 |
| G2 | “East” |
Formula in AA1: =SUMIF(A2:A7,G2,B2:B7)
Expected result: 19500
Example 2 — Boundary case
| Cell | Input value |
|---|---|
| A2 | “North” |
| A3 | “East” |
| A4 | “South” |
| A5 | “East” |
| A6 | “West” |
| A7 | “South” |
| B2 | 8200 |
| B3 | 12500 |
| B4 | 6400 |
| B5 | 7000 |
| B6 | 9100 |
| B7 | 3600 |
| G2 | “Central” |
Formula in AA1: =SUMIF(A2:A7,G2,B2:B7)
Expected result: 0
These examples were checked with a limited calculator supporting numeric aggregates, ASCII text functions, exact criteria and exact first-match XLOOKUP. Only the displayed examples and supported semantics were calculated. They were not executed in Microsoft Excel. This check does not verify every claim in the article.
Synthetic examples are provided for practice. They are not evidence of personal experience, independent human review or execution in Microsoft Excel.