---
title: "Revenue for one region with SUMPRODUCT | PracticeExcel"
description: "Practice SUMPRODUCT with a condition in a live spreadsheet: revenue for one region from units and prices."
canonical_url: "https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition"
locale: en
meta:
  "og:description": "Practice SUMPRODUCT with a condition in a live spreadsheet: revenue for one region from units and prices."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Revenue%2Bfor%2Bone%2Bregion%2Bwith%2BSUMPRODUCT%2Cdescription_~UHJhY3RpY2UgU1VNUFJPRFVDVCB3aXRoIGEgY29uZGl0aW9uIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogcmV2ZW51ZSBmb3Igb25lIHJlZ2lvbiBmcm9tIHVuaXRzIGFuZCBwcmljZXMu%2Ceyebrow_SUMPRODUCT%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJSZWdpb24iLCJVbml0cyIsIlByaWNlIiwiIl19LHsibiI6MiwiY2VsbHMiOlsiTm9ydGgiLCIxMiIsIjI1IiwiIl19LHsibiI6MywiY2VsbHMiOlsiU291dGgiLCI4IiwiMzAiLCIiXX0seyJuIjo0LCJjZWxscyI6WyJOb3J0aCIsIjUiLCI0MCIsIiJdfSx7Im4iOjUsImNlbGxzIjpbIldlc3QiLCIxMCIsIjI1IiwiIl19LHsibiI6NiwiY2VsbHMiOlsiTm9ydGgiLCIzIiwiNjAiLCIiXX1dLCJ0YXJnZXQiOlswLDNdfX0%2Cp_Ii9wcmFjdGljZS9zdW1wcm9kdWN0L3N1bXByb2R1Y3Qtd2l0aC1jb25kaXRpb24i%2Cs_9SBJ5AHl2HmSrK_s.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Revenue for one region with SUMPRODUCT | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Revenue%2Bfor%2Bone%2Bregion%2Bwith%2BSUMPRODUCT%2Cdescription_~UHJhY3RpY2UgU1VNUFJPRFVDVCB3aXRoIGEgY29uZGl0aW9uIGluIGEgbGl2ZSBzcHJlYWRzaGVldDogcmV2ZW51ZSBmb3Igb25lIHJlZ2lvbiBmcm9tIHVuaXRzIGFuZCBwcmljZXMu%2Ceyebrow_SUMPRODUCT%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRiJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJSZWdpb24iLCJVbml0cyIsIlByaWNlIiwiIl19LHsibiI6MiwiY2VsbHMiOlsiTm9ydGgiLCIxMiIsIjI1IiwiIl19LHsibiI6MywiY2VsbHMiOlsiU291dGgiLCI4IiwiMzAiLCIiXX0seyJuIjo0LCJjZWxscyI6WyJOb3J0aCIsIjUiLCI0MCIsIiJdfSx7Im4iOjUsImNlbGxzIjpbIldlc3QiLCIxMCIsIjI1IiwiIl19LHsibiI6NiwiY2VsbHMiOlsiTm9ydGgiLCIzIiwiNjAiLCIiXX1dLCJ0YXJnZXQiOlswLDNdfX0%2Cp_Ii9wcmFjdGljZS9zdW1wcm9kdWN0L3N1bXByb2R1Y3Qtd2l0aC1jb25kaXRpb24i%2Cs_9SBJ5AHl2HmSrK_s.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **Revenue for one region with SUMPRODUCT**

**Premium**

In F1, work out the revenue (units × price) for the North rows only, in one formula. Multiply a test on the region by the two columns inside SUMPRODUCT: SUMPRODUCT((A2:A7="North")\*B2:B7\*C2:C7).

F1fx

|  | A | B | C | D | E | F | G |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | Region | Units | Price |  | North revenue |  | |
| 2 | North | 12 | 25 |  |  |  | |
| 3 | South | 8 | 30 |  |  |  | |
| 4 | North | 5 | 40 |  |  |  | |
| 5 | West | 10 | 25 |  |  |  | |
| 6 | North | 3 | 60 |  |  |  | |
| 7 | South | 6 | 40 |  |  |  | |
| 8 |  |  |  |  |  |  | |

**Premium lesson**

## **Unlock SUMPRODUCT and every other lesson**

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:**VLOOKUP****INDEX and MATCH**

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/sumproduct/sumproduct-with-condition)

Need help?

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition#webpage","description":"Practice SUMPRODUCT with a condition in a live spreadsheet: revenue for one region from units and prices.","name":"Revenue for one region with SUMPRODUCT","url":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition#/schema/question/1"},{"@id":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition#/schema/question/2"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"SUMPRODUCT","item":"https://practiceexcelonline.com/practice/sumproduct","position":3},{"@type":"ListItem","name":"Revenue for one region with SUMPRODUCT","position":4}]},{"@id":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"How do I use SUMPRODUCT with a condition?","acceptedAnswer":{"@type":"Answer","text":"Multiply a test into the product, for example =SUMPRODUCT((A2:A7=\"North\")*B2:B7*C2:C7). Rows where the test is FALSE count as 0."}},{"@id":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"What does the double minus in SUMPRODUCT do?","acceptedAnswer":{"@type":"Answer","text":"--(A2:A7=\"North\") turns TRUE and FALSE into 1 and 0, so the test can be passed as its own argument."}},{"@id":"https://practiceexcelonline.com/practice/sumproduct/sumproduct-with-condition#/schema/learning-resource/1","@type":"LearningResource","description":"Practice SUMPRODUCT with a condition in a live spreadsheet: revenue for one region from units and prices.","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Revenue for one region with SUMPRODUCT","teaches":"SUMPRODUCT"},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
