Sumproduct dates

tutv088

New Member
Joined
Feb 18, 2014
Messages
24
Hi All,
I work for a non profit organization and helping them setup a budget workbook and getting totals for . Any help would be appreciated. I'm trying to sum of the totals based on dates that have a criteria which is the Employee ID. My goal is to get a formula for the total of Employee #20012 for the date ranges of 01/01/18 through 3/01/18 in program Orchard. Thanks again and please let me know if you need any clarifications. The answer in the cell should be $1,321[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]E[/TD]
[TD][/TD]
[TD]F

[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Employee ID[/TD]
[TD]01/01/18[/TD]
[TD]2/01/18[/TD]
[TD]3/01/18[/TD]
[TD]4/01/18
[/TD]
[TD]Program[/TD]
[TD][/TD]
[TD]Total[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]20012[/TD]
[TD]$543[/TD]
[TD]$233[/TD]
[TD]$545[/TD]
[TD]$432[/TD]
[TD]Orchard[/TD]
[TD]
[/TD]
[TD]????[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]20012[/TD]
[TD]$452[/TD]
[TD]$362[/TD]
[TD]$263[/TD]
[TD]$556[/TD]
[TD]YS[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]20034[/TD]
[TD]$112[/TD]
[TD]$223[/TD]
[TD]$332[/TD]
[TD]$123[/TD]
[TD]Lay[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Or you have something like this in mind...


Book1
ABCDEFGHIJ
1Employee ID1/1/20182/1/20183/1/20184/1/2018Program1/1/2018
220012$543$233$545$432Orchard3/1/2018
320012$452$362$263$556YS20012Orchard$1,321
420034$112$223$332$123Lay
Sheet1


In J3 control+shift+enter, not just enter:

=SUM(IF($A$2:$A$4=H3,IF($F$2:$F$4=I3,IF($B$1:$E$1>=J$1,IF($B$1:$E$1<=J$2,$B$2:$E$4)))))
 
Upvote 0
Hi Aladin and thanks for the reply hahhaa. Yes, that would suffice but would you know of a formula because there will be hundreds of rows and with different employees and the dates will have to cover more months down the road and I want to automate as much as possible. Maybe I am over thinking it. I appreciate the help brotha.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

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