Correct Pay Calculation

JJ in SD

Active Member
Joined
Jul 30, 2002
Messages
316
Good Morning,

I have people who get paid based on units and gross profit. Sometimes they get full credit and sometimes they get a fraction of the units and gross. I can count the whole units they are involved with by using =SUMPRODUCT(ISTEXT(B4:B22)*($B$4:$B$22=A1)) and I can count the actual units they get paid for by using =SUM(C4,C5,C6,C8,C10,C16,C17,C18,C20,C22) manually. What I would like is to be able to not use the SUM function and still count the number of “U” and “N” including the fractional credits using a SUMPRODUCT (I Think).

The correct answers are in cells C1 & C2

When I attempt to use SUMPRODUCT in the gross columns it counts the entries and not the amounts. The correct amount for the “Paid Gross” is in Cell G4.

Thanks in advance
JJ in SD
NRSG Pay.xls
ABCDEFG
1TotalUnitsActualUnitsTotalGrossPaidGrossCorrectCorrect
2N87$8.00$8.00amountforamountfor
3U751/3$7.00$7.00totalgrosspaidgross
4T15121/3$15.00$15.00$825.00$625.00
5
6N1/2$50.00$25.00
7N1$20.00$20.00
8N1$60.00$60.00
9U1/2$120.00$60.00
10N1/2$90.00$45.00
11U1$30.00$30.00
12N1$25.00$25.00
13U1$30.00$30.00
14U1/2$100.00$50.00
15U1$75.00$75.00
16U1$60.00$60.00
17U1/3$30.00$10.00
18N1$25.00$25.00
19N1$40.00$40.00
20N1$70.00$70.00
Sheet3
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Don't know if this is what you are looking for, but SUMPRODUCT isn't really needed.
Book1
ABCDE
1TotalUnitsActualUnitsTotGrossPaidGross
2N8.007.00$380.00$310.00
3U7.005.33$445.00$315.00
4T15.0012.33$825.00$625.00
5
6N0.50$50.00$25.00
7N1.00$20.00$20.00
8N1.00$60.00$60.00
9U0.50$120.00$60.00
10N0.50$90.00$45.00
11U1.00$30.00$30.00
12N1.00$25.00$25.00
13U1.00$30.00$30.00
14U0.50$100.00$50.00
15U1.00$75.00$75.00
16U1.00$60.00$60.00
17U0.33$30.00$10.00
18N1.00$25.00$25.00
19N1.00$40.00$40.00
20N1.00$70.00$70.00
Sheet1
 
Upvote 0
Upvote 0
Re: Correct Pay Calculation More help

Hi Again,

I have 2 examples of how a salesperson is paid.
The payable gross is the gross minus pack.

If the result (Comm) is less than $25.00 then a minimum of $25.00 (example #1)

If the result (Comm) is more than $25.00 then the actual commission is paid. (example #2)
Could I get some help with a formula to compute this?

Thanks again
JJ
NRSG Pay.xls
ABCDE
1%Paid7.00%GrossPayableComm
2Pack$500.00
3Example#1$650.00$150.00$10.50
4Example#2$1,356.00$856.00$59.92
Sheet1
 
Upvote 0
Brian,

Thanks that worked, I really appreciate that. I will get back with you on the other things as soon as I can figure out how to explain it clearly.

Thanks again,
JJ
 
Upvote 0
Hi JJ:

Or using the groundwork that Brian has already provided for us, you could alternately use the formulation presented in ...
Book1
ABCDE
1%Paid7%GrossPayableComm
2Pack$500.00
3$650.00$150.00$25.00
4$1,356.00$856.00$59.92
5$0.00
6$0.00
Sheet3
 
Upvote 0

Forum statistics

Threads
1,224,602
Messages
6,179,843
Members
452,948
Latest member
UsmanAli786

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