About 33,100,000 results
Open links in new tab
  1. How to Use SUMIF with Text in Excel (9 Easy Ways) - ExcelDemy
    To sum values based on text criteria in Excel, use the SUMIF function with wildcards to match specific text patterns.

    Understanding the SUMIF Function

    The SUMIF function in Excel allows you to sum a range of cells based on specified criteria. The syntax is as follows:
    =SUMIF(criteria_range, criteria, [sum_range])
    
    • criteria_range: The range of cells that you want to evaluate against the criteria.
    • criteria: The condition that determines which cells to sum. This can include text, numbers, or expressions.
    • sum_range: (Optional) The actual cells to sum. If omitted, Excel sums the cells in the criteria_range.

    Using Wildcards with SUMIF

    Wildcards can be used in the criteria to match text patterns:
    • Asterisk (*): Represents any number of characters. For example, "*text*" will match any cell containing "text" anywhere in the string.
    • Question mark (?): Represents a single character. For example, "t?st" will match "test" and "tast" but not "toest".

    Examples of SUMIF with Text

    1. Basic Example: To sum values in column B where the corresponding cells in column A contain the word "Shirt":
    =SUMIF(A2:A10, "*Shirt*", B2:B10)
    
    This formula checks each cell in the range A2:A10 for the word "Shirt" and sums the corresponding values in B2:B10.
    2. Using Multiple Criteria: If you want to sum values based on multiple conditions, consider using SUMIFS:
    =SUMIFS(B2:B10, A2:A10, "*Shirt*", C2:C10, ">=10")
    
    This sums values in B2:B10 where A2:A10 contains "Shirt" and C2:C10 is greater than or equal to 10.
    3. Case Sensitivity: If you need a case-sensitive sum, you can use a combination of SUMPRODUCT and FIND:
    =SUMPRODUCT((ISNUMBER(FIND("Shirt", A2:A10)))*B2:B10)
    
    This formula checks for "Shirt" in a case-sensitive manner and sums the corresponding values in B2:B10.

    Conclusion

    ExcelDemy
    How to Use SUMIF with Text in Excel (9 Easy Ways)
    This tutorial uses a dataset for Product Name, Salesperson, and Profit, as shown below: You can download the free Excel template here. This tutorial focuses on the following datase…
    Exceljet
    Sum if cells contain specific text - Excel formula | Exceljet
    To sum if cells contain specific text, you can use the SUMIFS or SUMIF function with a wildcard. In the example shown, the formula in cell F5 is: This formula sums the quantity in …
    Excel Champs
    Sum IF Cell Contains a Specific Text (SUMIF Partial Text) - Excel Champs
    To sum values from cells where you have a specific text or a partial text, you need to use wildcard characters with SUMIF. In the criteria argument, you need to use an asterisk bef…
    Coupler.io Blog
    Excel SUMIF Text: Formula Examples | Coupler.io Blog
    Excel’s SUMIF function is a powerful and simple way to add up values based on criteria. In this article, you’ll learn how to use this function with text-based criteria in different…
    ExcelMojo
    SUMIF Text In Excel - Syntax, Function, Examples, How To Use?
    The Excel SUMIF Text function is a powerful tool that allows users to calculate the sum of values in a range based on specified criteria. Unlike the regular SUMIF function, which o…
  2. How to Use SUMIF with Text in Excel (9 Easy Ways)

    9 easy and useful ways to use SUMIF with specific text in Excel. Download our workbook, modify data, find new outputs and exercise.
    Method 1 – Sumif with A Specific Text

    This tutorial focuses on the following dataset. Steps: 1. SelectCell C14. 2. Type the formula given below: 1. Hit the Enter key. 1. Notice the sum of the “Shirt” items. Read More: How to Sum Names in Excel (4 Suitable Ways)

    Method 2 – Sumif with Cell Reference of A Text in Excel

    Steps: 1. In cell C14, type the formula given below: 1. Hit the Enter key for the result. Here is the result: Read More: How to Assign Value to Text and Sum in Excel (2 Easy Methods)

  3. Sum if cells contain specific text - Excel formula

    Dec 16, 2022 · To sum if cells contain specific text, you can use the SUMIFS or SUMIF function with a wildcard. In the example shown, the formula in …

  4. People also ask
  5. SUMIF function - Microsoft Support

    For example, the formula =SUMIF (B2:B5, "John", C2:C5) sums only the values in the range C2:C5, where the corresponding cells in the range B2:B5 equal "John." To sum cells based on multiple …

  6. How to Sum in Excel If Cell Contains Text in …

    Aug 17, 2025 · To sum values when a cell contains specific text in Excel, use the SUMIF function with wildcards. This formula allows you to look for …

  7. Using SUMIF with Text Parameters (Microsoft Excel)

    Nov 2, 2024 · Another approach is to make it clear to SUMIF that you are dealing with text. The easiest way to do this is to include, in the …

  8. Sum IF Cell Contains a Specific Text (SUMIF Partial …

    To sum values from cells where you have a specific text or a partial text, you need to use wildcard characters with SUMIF. In the criteria argument, you …

  9. SUMIF Text In Excel - How To SUMIF Cells? With …

    How To Use Excel SUMIF Text Function? Let us understand SUMIF text in Excel with the help of examples. Let us say we have scores of an exam of …

  10. SUMIF function in Excel - Step by Step Tutorial

    Use the SUMIF function in Excel to sum cells based on numbers that meet specific criteria. 1. The SUMIF function below (two arguments) sums …

  11. Excel SUMIF Text: Formula Examples | Coupler.io …

    Aug 18, 2021 · Find out how to use the Excel SUMIF function with text criteria. This tutorial covers various formulas, from basic to advanced …

  12. How to Sum Words in Excel: A Step-by-Step Guide to Summing …

    Aug 6, 2024 · To sum words across multiple cells, use the SUMPRODUCT function. Type =SUMPRODUCT(LEN(A1:A10)-LEN(SUBSTITUTE(A1:A10," ",""))+1). This formula applies the …