Excel Formulas to Sum if Cells Contain Text in Another Cell!!
Tags: excelformula, excelformulas
Published: 2020-11-27 09:10:15

---
title: Excel Formulas to Sum if Cells Contain Text in Another Cell!!
published: true
date: 2020-11-26 08:31:18 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-sum-if-cells-contains-text-in-another-cell/
---

This article will describe the simple **formulas used to sum the values if cells contain text in another text in Excel Office 365**. Let’s see 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)

[![Formulas to sum values if cells contain text in another cell](https://eadn-wc04-371788.nxedge.io/cdn/wp-content/uploads/2020/11/Formulas-to-sum-values-if-cells-contain-text-in-another-cell.png)](https://geekexcel.com/excel-formulas-to-sum-if-cells-contains-text-in-another-cell/formulas-to-sum-values-if-cells-contain-text-in-another-cell/#main)<figcaption id="caption-attachment-18170">Formulas to sum values if cells contain text in another cell</figcaption>

## General Formula:

- To sum the values if a cell contains text in another text in Excel, use the below formula.

**=SUMIF(range,”\*”&A1&”\*”,sum\_range)**

## Syntax Explanations:

- **SUMIF** – The Excel **SUMIF Function** will help to sum the cells that meet a single condition or criteria.
- **Criteria (A1)**– It is the specific value or criteria which is used to sum the cells.
- **Sum\_Range** – It represents the input values given in the worksheet.
- **Multiplication (\*)** – In this symbol will multiply any two values or numbers.
- **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.
- **Range** – It represents the input values given in the worksheet.

## Example:

- In the below image, we will give the input values in **Column B** and **Column C**.
- Then, enter the given formula in the selected field.
- Finally, we will get the result in **Cell F3**.

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

## Verdict:

From this tutorial, you can get to know the simple **formulas used to sum the values, if cells contain text in another cell in Excel Office 365**. Hope that this article is useful to you. If you have any **doubts/queries,** feel free to share it with us. Thank you so much for Reading!! Keep learning on **[Geek Excel](https://geekexcel.com/)!! **and [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!!**

### Read Also:

- **[Excel Formulas to Sum the Lowest N values from a range with Criteria!!](https://geekexcel.com/excel-formulas-to-sum-the-lowest-n-values-from-a-range-with-criteria/)**
- **[Formulas to Count with Percentage Breakdown in Excel Office 365!!](https://geekexcel.com/formulas-to-count-with-percentage-breakdown-in-excel-office-365/)**
- [**Excel Formulas to Sum the Values by Month from a Column!!**](https://geekexcel.com/excel-formulas-to-sum-the-values-by-month-from-a-column/)