SUMIFS additional criteria

Budaholic

New Member
Joined
Oct 4, 2017
Messages
7
Hi guys

I have a SUMIFS formula to extract number of hours worked from a specific start and end date within a months range. (A time sheet export)

=SUMIFS(D2121:D2191,C2121:C2191,">=01/05/2018",D2121:D2191,"<=31/05/2018")

Can anyone tell me how to add an additional criteria (payroll no from column A) to automatically select the cell ranges for columns C (date range) and D (hours).

I've been googling like a mad man this morning, i know the answer is out there but it's eluding me.

Thanks
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
=SUMIFS($D$2121:$D$2191,$A$2121:$A$2191,J1,$C$2121:$C$2191,">="&K1,$D$2121:$D$2191,"<"&EOMONTH(K1,0)+1)

where J1 is a prayroll no of interest and K1 = 2018-05-01.
 
Upvote 0
Am I right in assuming I can change the D, A and C values to D:D etc to cover the entire field and it will only return the values if field A:A equals cell J1 ? I do not need the EOMonth check, payroll has to be submitted last working day of the month so this will be variable.
 
Upvote 0
Am I right in assuming I can change the D, A and C values to D:D etc to cover the entire field and it will only return the values if field A:A equals cell J1 ? I do not need the EOMonth check, payroll has to be submitted last working day of the month so this will be variable.

Yes, you can.
 
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,963
Members
449,200
Latest member
indiansth

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