Google Sheets SUMIF Contains Text

Lead sources and campaign names often contain useful words inside longer text. In Google Sheets, SUMIF with wildcards lets you total rows where a cell contains a word like Google, organic, or partner. This guide shows the formula with a simple revenue-tracking example.

Formula Syntax

Use this base syntax for google sheets sumif contains text and replace the ranges with your own spreadsheet columns.

SUMIF(criteria_range, "*text*", sum_range)

Need this formula for your exact sheet?

Generate a custom google sheets sumif contains text formula with your own columns, criteria, and spreadsheet layout.

Generate Free Formula

Step-by-step Example

A lead attribution spreadsheet tracks Lead source revenue and needs a formula-driven result instead of manual filtering.

Source Revenue
Google Ads $350
LinkedIn Organic $180
Google Organic $260

Resulting formula

=SUMIF(A:A,"*Google*",B:B)

The formula evaluates the Lead source revenue rows and returns $610. Replace the sample ranges with your actual columns, then adjust the criteria so the result matches your workbook.

Try It Now

The generator is pre-filled for google sheets sumif contains text. Edit the prompt to match your columns, criteria, and spreadsheet layout.

You can write your request in any language. Excel formula language is selected separately.

Auto (detect from browser)

Available after free registration Sign up free

C

Available after free registration Sign up free

2

Available after free registration Sign up free

Security check required. Please complete the captcha below.

Works with SUMIFS, IF, XLOOKUP, dates, text, arrays…

Generated formula

How it works

Need more formulas every day?

HelpFormula Pro is $7.99/mo for faster spreadsheet work across Excel and Google Sheets.

  • Higher daily formula generation limits
  • Saved formula history for reuse
  • Excel formula language selection

Common Variations

  • Contains exact word
  • Case-insensitive matching
  • Contains text plus date filter

FAQ

How do I set up Google Sheets SUMIF Contains Text for Lead source revenue?

Map the sample columns to your own sheet first, then replace the formula ranges with the real ranges from your workbook. Keep text criteria in quotes and verify that date or number columns are stored as real values.

Can this formula handle contains exact word?

Yes. Use the same formula pattern and change the criteria, helper column, or lookup value for contains exact word. If the logic becomes more complex, generate a custom version with the free tool.

What should I check if the Google Sheets SUMIF Contains Text result is wrong?

Check that every referenced range covers the same rows, locked references use dollar signs where needed, and the criteria type matches the data. For this page, also confirm that the Lead source revenue fields are formatted consistently.