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
ABCDEEF

Employee ID01/01/182/01/183/01/184/01/18
ProgramTotal
20012$543$233$545$432Orchard
????
20012$452$362$263$556YS
20034$112$223$332$123Lay

<tbody>
</tbody>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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,214,827
Messages
6,121,812
Members
449,048
Latest member
greyangel23

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