Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to Sort by Color in Excel
  • How to Create Area Chart in Excel
  • How to create a Histogram in Excel
  • Conditional Formatting Rules in Excel
  • Get column index in Excel Table

References

  • Merge tables with VLOOKUP in Excel
  • Excel Advanced Lookup using Index and Match Functions
  • Count rows with at least n matching values
  • How to get last row in mixed data with blanks in Excel
  • How to get last row in text data in Excel

Data Validations

  • Excel Data validation must begin with
  • Excel Data validation allow uppercase only
  • Prevent invalid data entering in specific cells
  • How To Create Drop-down List in Excel
  • Excel Data validation allow weekday only

Sum if begins with in Excel

by

This tutorial shows how to Sum if begins with in Excel using the example below;

Formula

=SUMIF(range,"text*",sum_range)

Explanation

To sum cells if other cells begin with a specific value, you can use the SUMIF function.

In the example shown, cell G6 contains this formula:

=SUMIF(C5:C11,"t-shirt*",D5:D11)

This formula sums the amounts in column D when a value in column C begins with “t-shirt”. Note that SUMIF is not case-sensitive.

How the formula works

The SUMIF function supports wildcards. An asterisk (*) means “one or more characters”, while a question mark (?) means “any one character”.

These wildcards allow you to create criteria such as “begins with”, “ends with”, “contains 3 characters” and so on.

To match all items that begin with “T-shirt”, the criteria is “t-shirt*”. Note that you must enclose literal text and the wildcard in double quotes (“”).

Alternative with SUMIFS

You can also use the SUMIFS function to sum if cells begin with. SUMIFS can handle multiple criteria, and the order of the arguments is different from SUMIF. The equivalent SUMIFS formula is:

=SUMIFS(D5:D11,C5:C11,"t-shirt*")

Notice that the sum range always comes first in the SUMIFS function.

Post navigation

Previous Post:

How to use Excel CHOOSE Function

Next Post:

Customize Ribbon In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Return blank if in Excel
  • Excel If, Nested If, And/Or Criteria Examples
  • How to use Excel NOT Function
  • How to return blank in place of #DIV/0! error in Excel
  • OR function Examples in Excel

Date Time

  • Count dates in current month in Excel
  • Convert decimal seconds to Excel time
  • DAY function: Description, Usage, Syntax, Examples and Explanation
  • How to calculate Day of the Year in Excel
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group arbitrary text values in Excel
  • Calculate conditional mode with criteria in Excel
  • How to randomly assign data to groups in Excel
  • Map text to numbers in Excel
  • Group times into 3 hour buckets in Excel

General

  • Lock Cells in a Worksheet Excel
  • How to generate random times at specific intervals in Excel
  • Sum by group in Excel
  • Spell Check in Excel
  • Transpose: Switch ‘Rows to Columns’ or ‘Columns to Rows’ in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning