sumif many areas

chris leest

New Member
Joined
Jul 10, 2016
Messages
7
i have to work out pay for many people on an hourly rate, up to 3 people over 3 job sites or 2 on 2 sites etc
so have employee name , rate of pay and hours in h,i, and j colums and need to total for each day for each person (somtimes one person will do 2 jobs in 2 location. i have tried sum if and works for looking up one person one job but not same person over multipal jobs

so H colum has drop down list of names, I has rate of pay per hour and J has pay ( hours from other location)
then K has drip doen names, L rate of pay and L pay and then repeted again

need to be able to lookin all 3 colums of names and add up all pay fro one person over the 3 sets of incomes......


many thanks
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
like this?


Excel 2013/2016
HIJKLMNOPQRS
1NameRateHourNameRateHourNameRateHourNamePay
2Name15.58.5Name48.58Name256.5Name3278
3Name36.58Name278Name29.58.5
4Name155Name2107.5Name19.56
5Name29.57.5Name55.55Name355
6Name3106.5Name455Name556
7Name456.5Name2107.5Name196.5
8Name359Name29.58Name457.5
9Name296.5Name35.57Name1105
10Name578.5Name598Name49.57.5
11Name565.5Name25.58Name37.57
Sheet1
Cell Formulas
RangeFormula
S2=SUMPRODUCT(($H$2:$H$11=$R$2)*I2:I11,J2:J11) +SUMPRODUCT(($K$2:$K$11=$R$2)*L2:L11,M2:M11) +SUMPRODUCT(($N$2:$N$11=$R$2)*O2:O11,P2:P11)
 
Upvote 0

Forum statistics

Threads
1,223,712
Messages
6,174,031
Members
452,542
Latest member
Bricklin

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