I have this formula: SUMPRODUCT(--($D$7:$D$19-DAY($D$7:$D$19)+1=K$5)*($J$5=$I$25)*($J$7:$J$19))
The formula works great. My problem is that K5 has to be the 1st day of the month for it to work. I need it to be the last day of the month, but I don't know how to modify the formula.
The goal of the formula is to sum all numbers in my "J" range if the dates in my "D" range equal the same month/year as my "row 5" guy or in this example K5. I also equated J5 with I25 in order to complete the sum product formula.
Thank you for your time and help
Bookmarks