How to Sum Sales by Person in Excel with One SUMIF Formula

2026-12-02来源 dev.toEnglish

When the same name appears across multiple rows in a table, picking cells one by one makes your formula longer as the table grows. With Excel's SUMIF function, you can add only the values that match a condition and get a total per person in a single line. Enter the person column, the name cell to match, and the sales column in order. When you change the name cell, the total updates automatically.

TL;DR: Use =SUMIF(person_column, name_cell, sales_column) to total sales for one person in a single formula.

Steps

  1. Type =SUMIF( in the total cell.
  2. Select the person column, the name cell, and the sales column, separated by commas.
  3. Close the parenthesis and confirm the formula.

What I saw

In Excel for the web (Korean interface), I entered =SUMIF(A:A,E2,C:C) on an 8-row practice sales table. It returned 29,000 for Chulsoo, whose sales were 12,000, 6,000, and 11,000. When I changed the name cell to Younghee, the total updated to 22,000. I did not check the desktop Excel interface.

Save this guide so you can refer back to it the next time you need to total values by name.

原文:https://www.a8q9.cn/en/article/how-to-sum-sales-by-person-in-excel-with-one-sumif-formula-cd30d6.html

相关文章