Excel Formulas: Cells Contains One of Many Things with SUMPRODUCT!!
Tags: excel, excelformula, excelformulas
Published: 2021-06-16 02:55:46

---
title: Excel Formulas: Cells Contains One of Many Things with SUMPRODUCT!!
published: true
date: 2021-06-03 11:19:55 UTC
tags: Excel,ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-cell-contains-one-of-many-things-with-sumproduct/
---

We have already learned how to check the [**cell that contains one of many things in Excel**](https://geekexcel.com/excel-formulas-to-find-if-cells-contain-one-of-many-things/). Here we are going to solve the same problem by **using the SUMPRODUCT function** only. Let’s get them below!! 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)

[![A cell contains one of many things with SUMPRODUCT](https://geekexcel.com/wp-content/uploads/2021/06/A-cel-l-contains-one-of-many-things-with-SUMPRODUCT.png)](https://geekexcel.com/excel-formulas-cell-contains-one-of-many-things-with-sumproduct/a-cel-l-contains-one-of-many-things-with-sumproduct/#main)<figcaption id="caption-attachment-45998">A cell contains one of many things with SUMPRODUCT</figcaption>

## General Formula:

If you want the test the cells that contain one of many things in Excel, you can use the below formula.

**=[SUMPRODUCT](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)(–(A1=things))>0**

## Syntax Explanations:

- **SUMPRODUCT ** – This function helps to multiply the corresponding arrays or ranges and returns the sum of the products. Read more on the [**SUMPRODUCT Function**](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/).
- **A1 ** – It represents the input text strings.
- **Minus Operator (-)** – This symbol will help to subtract any two values.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Example:

Let’s consider the below example.

- Here we will enter the input text strings in **Column B**.
- Now, we need to check if the cell contains one of many things.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/06/Input-Ranges-5.png)<figcaption id="caption-attachment-45991">Input Ranges</figcaption>

- Select any cell and apply the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/06/Enter-the-formula-7.png)<figcaption id="caption-attachment-45994">Enter the formula</figcaption>

- Finally, press  **ENTER**  to get the result out.

![Result](https://geekexcel.com/wp-content/uploads/2021/06/Result-6.png)<figcaption id="caption-attachment-45992">Result</figcaption>

## Verdict:

Here, we have described the formulas to **check if the cell contains one of many things in Excel using the SUMPRODUCT function**. If you have any **doubts** regarding this topic or any other Excel VBA-related topic, ask in the **comments** section below.

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Read Also:

- **[Excel Formulas to Calculate How Many Days Open? Easy Method!!](https://geekexcel.com/excel-formulas-to-calculate-how-many-days-open-easy-method/)**
- **[Excel Formulas to Capitalize the First Letter of a Text String!!](https://geekexcel.com/excel-formulas-to-capitalize-the-first-letter-of-a-text-string/)**
- **[How to Find the Actual Price of the Discounted Price in Excel 365?](https://geekexcel.com/how-to-find-the-actual-price-of-the-discounted-price-in-excel-365/)**
- **[How to Wrap Text Manually in Excel Office 365? {3 Ways}](https://geekexcel.com/how-to-wrap-text-manually-in-excel-office-365-3-ways/)**