Excel Formulas

SUMIF Formula in Excel: Copy-Paste Examples

Copy, paste, and adapt SUMIF formula with practical spreadsheet examples.

💡 Ideas for You

Helpful resources matched to this page.

4 focused options
📚 Step-by-step booksIndependent learning resources and step-by-step books from Create & Learn.📘 Topic guideAmazon ideas related to SUMIF.🧮 Formula booksBooks and references for spreadsheet formulas and examples.⌨️ Productivity setupHelpful books, office tools, and productivity resources.

Quick answer

Add values that meet one condition.

=SUMIF(A2:A100,"Paid",B2:B100)

Example data layout

Use a small table first, confirm the result, then copy the formula down the column.

InputHelper valueResult
A2B2Formula result
A3B3Copied formula result

Copy-paste examples

Beginner

Basic SUMIF example

=SUMIF(A2:A100,"Paid",B2:B100)

Adjust the cell references to match your worksheet layout.

Beginner

SUMIF copied down rows

=SUMIF(A3:A100,"Paid",B3:B100)

Adjust the cell references to match your worksheet layout.

Intermediate

SUMIF with clean fallback

=IFERROR(SUMIF(A2:A100,"Paid",B2:B100),"")

Adjust the cell references to match your worksheet layout.

Intermediate

SUMIF with structured references

=SUMIF([@Input]:A100,"Paid",[@Value]:B100)

Adjust the cell references to match your worksheet layout.

Advanced

SUMIF with dynamic data

=SUMIF(Table1[Value],"Paid",Table1[Amount])

Adjust the cell references to match your worksheet layout.

Advanced

SUMIF inside a report formula

=LET(result,SUMIF(A2:A100,"Paid",B2:B100),result)

Adjust the cell references to match your worksheet layout.

Step-by-step tips

  1. Paste the formula into the first result cell.
  2. Replace sample references like A2, B2, or Table1 with your real cells or table columns.
  3. Test the formula on two or three rows before copying it down.
  4. Format the result column as Number, Date, Currency, or Percentage when needed.
  5. Keep a backup copy of your original data before applying formulas across a large range.

Common mistakes

  • Using text values where Excel expects numbers or dates.
  • Forgetting quotation marks around text criteria.
  • Copying a formula without locking fixed references using dollar signs.
  • Applying the wrong number format and thinking the formula is wrong.

Related formula examples