Sheet Summary Formula Needed: Sum all numbers in a column for rows which match a criteria
![Douglas Jerum](https://us.v-cdn.net/6031209/uploads/defaultavatar/nWRMFRX6I99I6.jpg)
Hi,
I am looking for help writing a sheet summary formula that will sum all numbers in Column B for all rows matching a criteria in Column A.
I have a sheet that tracks transactions by salesperson. Each row is a transaction. I have column that contains the commission for the salesperson for each transaction. In the sheet summary I want to total up the commissions for entire sheet for each salesperson. I will have a sheet summary field for each salesperson, so there would be one formula for each salesperson.
Thanks in advance for any guidance!
Answers
-
Hi Douglas,
It sounds like you could use a straight-forward SUMIF formula for this!
A SUMIF works like this:
=SUMIF(Range, Range criterion, Sum Range)
So in your case:
=SUMIF([Salesperson Column]:[Salesperson Column], "Salesperson Name", [Commission Column]:[Commission Column])
If this doesn't work for you, it would be helpful to see a screen capture of your sheet with the column names & types, etc (but please block out any sensitive data).
Thanks!
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.2K Get Help
- 431 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!