Excel Formulas: Cell Contains One of Many Things with Exclusion!!
Tags: excelformula, excelformulas
Published: 2021-06-03 02:31:25

---
title: Excel Formulas: Cell Contains One of Many Things with Exclusion!!
published: true
date: 2021-06-01 12:45:45 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-check-if-cell-contains-one-of-many-things-with-exclusion/
---

So far, we have learned the formulas to test the [**cell that contains one of many things in Excel**](https://geekexcel.com/excel-formulas-to-check-if-cell-contains-one-of-many-things/). Likewise, here we will are going to see how to check **if the cell contains one of many things with exclusion in Excel**. 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)

[![Cell contains one of many things with exclusion](https://geekexcel.com/wp-content/uploads/2021/06/Cell-contains-one-of-many-things-with-exclusion.png)](https://geekexcel.com/excel-formulas-to-check-if-cell-contains-one-of-many-things-with-exclusion/cell-contains-one-of-many-things-with-exclusion/#main)<figcaption id="caption-attachment-45947">A cell contains one of many things with an exclusion</figcaption>

## Generic Formula:

- You can use the below formula to check if the cell contains one of many strings, while excluding others in Excel.

**=([SUMPRODUCT](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)(–[ISNUMBER](https://geekexcel.com/how-to-use-isnumber-function-in-microsoft-excel-365/)([SEARCH](https://geekexcel.com/use-search-function-in-microsoft-excel-2013-simple-methods/)(include,A1)))>0)  
\*([SUMPRODUCT](https://geekexcel.com/how-to-use-excel-sumproduct-function-in-office-365/)(–[ISNUMBER](https://geekexcel.com/how-to-use-isnumber-function-in-microsoft-excel-365/)([SEARCH](https://geekexcel.com/use-search-function-in-microsoft-excel-2013-simple-methods/)(exclude,A1)))=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/).
- **ISNUMBER** – The [**ISNUMBER Function**](https://geekexcel.com/how-to-use-isnumber-function-in-microsoft-excel-365/) returns TRUE when a cell contains a number, and FALSE if there will not be a number.
- **SEARCH** – In Excel, the [**SEARCH function**](https://geekexcel.com/use-search-function-in-microsoft-excel-2013-simple-methods/) locates the character between two text strings and returns to the number of the starting position of the first text string from the first character of the second text string.
- **A1** – It represents the input text strings.
- **Include** – It specifies the criteria that help to check the cell value.
- **Exclude** – It represents the excluding values.
- **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.

## Practical Example:

Let’s consider the below example image.

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

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/06/Input-Ranges-2.png)<figcaption id="caption-attachment-45949">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-4.png)<figcaption id="caption-attachment-45948">Enter the formula</figcaption>

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

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

## Verdict:

In this guide, you can get some to know the formulas to **test if the cell contains one of many things with exclusion in Excel**. If you have any **questions** , feel free to **comment**.

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 Ahead:

- **[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/)**