Sumifs Sales Report

lizomgwtf

New Member
Joined
Mar 20, 2013
Messages
10
Hello,

I am trying to provide commissions statements to my sales people. My sales report lists all levels for each account: Salesperson, Sales Manager, and Director. In some cases, the employee ID in all three columns is the same person (the department director manages a few highly important accounts.) I am trying to sum the total sales for each person without double or triple counting any rows. I'm having trouble returning the sales for all accounts of a director using sumifs. In this example, Employee 1 and 2 exist in multiple columns, but I only want to count each account once. Each period, there are multiple changes and managers and directors fill in at different levels based on leaves, personnel changes, etc. I also don't want to ever miss some sales when an employee gets a promotion. How can I sumifs the sales column if the Employee's ID exists in ANY of the 3 columns?

DirectorManagerSalespersonAccountSales
Employee 1Employee 1Employee 1ABC Company500
Employee 1Employee 1Employee 2DEF Company600
Employee 1Employee 2Employee 2GHI Company200
Employee 1Employee 2Employee 3XYZ Company900

<tbody>
</tbody>
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi,

Is this the output you need?


Book1
ABCDE
1DirectorManagerSalespersonAccountSales
2Employee 1Employee 1Employee 1ABC Company$500.00
3Employee 1Employee 1Employee 2DEF Company$600.00
4Employee 1Employee 2Employee 2GHI Company$200.00
5Employee 1Employee 2Employee 3XYZ Company$900.00
6
7DirectorManagerSalesperson
8Employee 122001100$500.00
9Employee 201100$800.00
10Employee 300$900.00
Sheet1
Cell Formulas
RangeFormula
B8=SUMPRODUCT((A$1&A$2:A$5=B$7&$A8)*$E$2:$E$5)
 
Upvote 0
Not really. Essentially, the total that Employee 1 is due commissions on is 2200. As I have it right now, my formulas are trying to pay him on 3800 worth of sales. This report is huge and varies in size and order every month. I need a formula to count each account he is owner of (in any capacity) only once and return his total eligible sales in a single sell on my calculation sheet.
 
Upvote 0

Forum statistics

Threads
1,213,550
Messages
6,114,265
Members
448,558
Latest member
aivin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top