I want to get the sum of days per person for every week.
I used a SUMPRODUCT formula here that gets the total number of days per week. But in my case, I need to sum up the total days of each resource per week. But it's not working.
=IF(NAME=D3,SUMPRODUCT(--(INT((DATE-(DATE(YEAR(DATE),1,1)-WEEKDAY(DATE(YEAR(DATE),1,1)-1)))/7)+1=RIGHT(G1,2)+0),$C$2:$C$1048576),0)
Please help. Thanks.
Bookmarks