# Learn How to SUM If Cell Contain Text in Another Cell in Microsoft Excel

Written by | 0 Comments | 636 Views

In this article, you will learn how to SUM various things in Microsoft Excel using a single/combination(s) of functions. You will also know how to SUM If Cell Contain Text in Another Cell and see the generic formula.

SUM If Cell Contain Text in Another Cell in Microsoft Excel

The main purpose of this formula is to sum if cells contain specific text in another cell. Here we will learn how to sum if a cell contains text in another cell in the workbook in Microsoft Excel. That implies, with the help of a formula based on the SUMIFS function you can able to sum if cells contain specific text in another cell. So, with the help of this formula, you can able to sum if the cell contains text in another cell in the workbook in Microsoft Excel.

General Formula to SUM If Cell Contain Text in Another Cell

=SUMIF(range,"*"&A1&"*",sum_range)

The Explanation for the SUM If Cell Contain Text in Another Cell

So we know that with the help of the given formula above you can able to sum if cells contain specific text in another cell. Here we will learn how to sum if the cell contains text in another cell in the workbook in Microsoft Excel. As we know that the SUMIF function always supports wildcards. Moreover the asterisk (*) means "zero or more characters", while a question mark (?) means "any one character". With the help of wildcards, you can able to create criteria such as "begins with", "ends with", "contains 3 characters", and so on. So, for example, you can use "*cat*" to match the text "cat" anywhere in a cell, or "a*" to match values beginning with the letter "a". So, with the help of this formula, you can able to sum if cell contains text in another cell in the workbook in Microsoft Excel.