Excel Formulas to Sum the Top N Values with Criteria!!
Tags: excelformula, excelformulas
Published: 2020-12-04 10:36:30

---
title: Excel Formulas to Sum the Top N Values with Criteria!!
published: true
date: 2020-12-04 08:45:39 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-sum-the-top-n-values-with-criteria/
---

This page will explain the simple **formulas used to sum the top N values with certain criteria in Excel Office 365**. Let’s get into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Formulas to sum top N values with criteria](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/12/Formulas-to-sum-top-N-values-with-criteria.png)](https://geekexcel.com/excel-formulas-to-sum-the-top-n-values-with-criteria/formulas-to-sum-top-n-values-with-criteria/#main)<figcaption id="caption-attachment-18623">Formulas to sum the top N values with criteria</figcaption>
## General Formula:

- Use the below formula to sum the top N values with certain criteria.

**=[SUMPRODUCT](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)([LARGE](https://geekexcel.com/how-to-use-excel-large-function-in-office-365-with-examples/)((range=criteria)\*(values),{1,2,3,N}))**

## Syntax Explanations:

- **SUMPRODUCT** – In Excel, the [**SUMPRODUCT Function**](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/) will help to multiply the corresponding arrays or ranges and returns the sum of the products.
- **LARGE** – This function will return the N<sup>th</sup> largest value from the given range of data. Read more on the [**LARGE Function**](https://geekexcel.com/how-to-use-excel-large-function-in-office-365-with-examples/).
- **Range** – It is the input range from the worksheet.
- **Criteria** – It represents the specific value or criteria that helps to sum the cells.
- **Comma symbol (,)** – It is a separator which helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.
- **N ** – It is the idea of N<sup>th</sup> value.

## Example:

- Let’s consider the below example to sum the top n value with certain criteria.
- In the below image, we will give the input values in **Column B** and **Column C**.
- After that apply the given formula in the selected area.
- Finally, it displays the result in the selected **cell F3**.

![Example](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/12/Example-17.png)<figcaption id="caption-attachment-18622">Example</figcaption>

## Conclusion:

From this tutorial, you can get to know the simple **formulas used to sum the values from a range with certain criteria in Excel Office 365**. Hope you like this article. If you have any **doubts/queries,** don’t forget to share it with us. To know further updates keep in touch with our website **[Geek Excel](https://geekexcel.com/)** and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Related Articles:

- **[Excel Formulas to Sum the Values Between Two Dates!!](https://geekexcel.com/excel-formulas-to-sum-the-values-between-two-dates/)**
- **[Formulas to Count the Rows that meet Multiple Internal Criteria in Excel!!](https://geekexcel.com/formulas-to-count-the-rows-that-meets-multiple-internal-criteria-in-excel/)**
- [**Excel Formulas to Count Unique Numeric Values with Criteria!!**](https://geekexcel.com/excel-formulas-to-count-unique-numeric-values-with-criteria/)